Colour themes without colour drift

One set of role names, six themes, and no one-off hex values.

Design
Accessibility
NP–00 · Design

Components never ask for a colour by name. They ask for a role, such as foreground, surface or accent, and the active theme decides what that means.

Why roles

The cost is discipline: a hard-coded colour in one component will look wrong on five of the six themes.