Color
The color palette, color roles and how to apply color in Caspeco products.
How we use color to communicate meaning, hierarchy and state.
Palette
Section titled “Palette”To be written: The base palette and brand colors, with swatches and values.
Color roles
Section titled “Color roles”To be written: When to use each role: Primary, Secondary, Accent, Neutral, Muted, Info, Success, Warning and Error, plus Background and Surface. Include a do/don’t example.
Color pairs and containers
Section titled “Color pairs and containers”To be written: How each role comes with an On… color for content on top of it, and a …Container variant for subtler emphasis. When to use the bold color versus the container.
Interaction states
Section titled “Interaction states”To be written: How hover and active colors are used. See Interaction states for the full set.
Dark mode
Section titled “Dark mode”To be written: How the palette adapts in dark mode, and what to check when designing for it.
Accessibility
Section titled “Accessibility”To be written: Contrast requirements for each pairing, and never using color as the only way to convey information.
Tokens
Section titled “Tokens”Color tokens are listed in ThemeColor.