Rethinking Colors in Design Systems: A CSS Approach to Idiomatic Design
code.talks 2024, Hamburg
Design systems hand developers a table of numbered shades: blue-100 to blue-900, repeated for every hue. Nobody remembers which number is which, and designers and developers argue about them forever.
This talk treats a shade as a function of a base color and generates the whole palette in CSS, looking at how Ant Design and Bootstrap do it and at what newer color spaces such as OKLCH make possible.