[DEMO] Designing for dark mode from day one

Demo post about theming.

Use tokens

Map every colour to a token such as --foreground or --brand.

Test both themes

Check each page in light and dark before shipping.

Watch the third-party widgets

Widgets that bring their own colours need their variables mapped too.

How did you like this article?

All articles