You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-color][css-ui] base-color/BaseColor: Like accent-color/AccentColor, but for the rest of the UI #14933
A missing piece we've seen in the appearance: base discussions is reading or deriving the neutrals the page uses. Even for pages that use grays, UI based on cool grays sticks out like a sore thumb next to a UI using warm or completely neutral grays.
The eye adapts to whatever it takes to be neutral. With one gray scale, that tint becomes the baseline and disappears. With two, there is no single baseline: the warm components look yellowed or dirty, the cool ones look clinical or washed out, and the mismatch is loudest wherever the two share an edge, such as an input on a card, or a card on a page background.
Cool grays
Warm grays
Mixed
But how could the page communicate which neutrals it uses? There are so many ways that design systems define their scales!
The good news is, knowing the key color of the scale can get you quite far, just like the rationale for accent color.
E.g. take Tailwind's "gray" scale:
can be approximated quite well by varying L (and adjusting C to preserve the same max gamut %) over :
Is it identical? No, but it's a huge improvement in fidelity over defaulting to neutrals, for only one token.
Proposal
A base-color property and a corresponding BaseColor system color, which defaults to a reasonable value. Mechanics are similar to accent-color/AccentColor. I don't think we need BaseColorText since most uses of BaseColor would be derived tints, so BaseColorText doesn't quite make sense.
It could also affect relevant system colors too, such as ButtonBorder, ButtonFace, GrayText, etc
Activity
svgeesus commentedon Dec 4, 2026
Un-tagging CSS Color 5, which is being stabilized for CR