Color in product
In the product, colour is a signal before it is a style. A handful of semantic colours tell a member what to do and what has happened; neutral does the rest.
Colour carries meaning
Five colours carry meaning, and each one means the same thing on every screen. Under each, the place it shows up most.
- PrimaryAct
- SuccessDonePaid out
- WarningAttentionPending
- InfoKnowShipped
- DestructiveDangerDisputed
Neutral carries hierarchy
Grey sets the order things are read in: the item first, what supports it second, what is unavailable last. Hierarchy is a job for neutral, never for a status colour.
- ForegroundFirst read
Vintage Levi's 501
- MutedSupporting
+ €4.50 shipping
- QuietQuiet or off
Tokens
Components never name a colour. They name a token, and the token resolves to a step of a family for the palette and mode in force. That is what lets a palette change, or dark mode arrive, without touching a component.
Best practices
bg-primarybg-green-700#2b8a3e