Home
Bookmarks
Leagues
LEARN
Courses
Career Paths
Assessments
Tutorials
Arcade
Glossary
GROW
Certifications
Log in
Glossary
Log inSign up
Courses/Introduction to Design Systems/Color Systems & Dark Mode Architecture/
Exercise #6

The Semantic State Color Matrix

Interactive elements cannot have just one color. A primary button or clickable table row moves through multiple user interaction states:

  1. Default: The resting appearance (color-interactive-primary).
  2. Hover: The cursor rests over the element (color-interactive-hover $\rightarrow$ typically 8–10% darker in light mode, or 8–10% lighter in dark mode).
  3. Active / Pressed: The user clicks or taps down (color-interactive-active $\rightarrow$ slightly darker/deeper saturation to simulate physical depression).
  4. Focus Visible: Keyboard navigation indicator (color-focus-ring with 2px offset).
  5. Disabled: Non-interactive state (color-interactive-disabled $\rightarrow$ reduced opacity or neutral gray, with cursor: not-allowed).

In a mature token system, state colors are authored as dedicated semantic tokens rather than ad-hoc CSS filters.

Topics

Anatomy of a Design System Color Palette
Perceptual Uniformity: OKLCH and HSL vs RGB
Tinting Neutrals: Giving Life to Grays
The Dark Mode Fallacy: Inverting Is Not Designing
Elevation in Dark Mode: Surface Lightness
The Semantic State Color Matrix
Color Blindness: Never Rely on Color Alone
High Contrast Mode & Forced Colors Architecture
Decoupling Brand Color from Interactive Accent
Automating Contrast Verification in CI/CD

From lesson

3

Color Systems & Dark Mode Architecture

Level 3 · Design Tokens & Foundations

Top contributors

Community contribution details will appear here once real learner activity is available.

Share