Color
Palette by role, contrast, dark theme, meaning beyond color
Palette by role, contrast, dark theme, meaning beyond color
On screen, color tells things apart: text levels, links, states, categories. Build the palette by role — backgrounds, three levels of text, lines, one accent, states — compute the contrast of every text–background pair, give dark mode its own set of the same tokens, and never let meaning rest on color alone.
Read the overviewlight-dark() — line by line in this site’s file.