Getting started
Dark mode
Switch themes with one class.
tokens.css defines a .dark block. Add the dark class to <html> to switch, or follow the system setting:
document.documentElement.classList.toggle("dark", matchMedia("(prefers-color-scheme: dark)").matches);