color
CSS design_tokens/color.css
OKLCH colors
All colors with the same value have the same perceived contrast.
This helps ensuring contrast is WCAG compliant. Any color with value 500 (and more) meets AA guidelines for text, with a contrast > 4.5:1.
Light / dark mode
By default, the theme is set to respect system preferences if available.
It will automatically switch to dark mode using prefers-color-scheme: dark
.
You may use the theme switcher component (shown in the banner of this page).