Dark Mode with Design Tokens in Tailwind CSS
An approach for implementing design system tokens in Tailwind, for more symbolic theming
Enabling Dark Mode in CSS
Using the prefers-color-scheme css media query to darken pages depending on system preferences.