Color System

An overview-first guide to the color token families, how companion tones are derived, and where each group belongs in the component layer.

Brand Colors

Primary details

Use these for the core branded actions and accents. They are the families most often mapped into buttons, links, tags, and emphasized UI states.

Base token--color--primaryPrimary · #2d2d2d · Editable

Main interactive color for primary buttons, active navigation, and strong highlights.

--color--primary-contrastContrast · #ffffff · EditableText and icons displayed directly on the primary surface.
--color--primary-borderBorder · Auto-generatedHover states, outlines, and dividers on primary-colored surfaces.color-mix(in srgb, var(--color--primary-contrast) var(--color--border-mix-amount), var(--color--primary))
--color--primary-altAlt · Auto-generatedSubtle selected or active fills related to the primary family.color-mix(in srgb, var(--color--primary-contrast) var(--color--alt-mix-amount), var(--color--primary))

Derivation rules

  • Editable base and contrast values are set directly in the design token system.
  • 2 companion tokens are generated from the base color and its contrast color.
  • --color--border-mix-amount controls border and hover companion strength.
  • --color--alt-mix-amount controls subtle fill companion strength.