TwitterGithub

Dark Mode

Adding dark mode to your site.

spartan/ui is built on TailwindCSS with custom CSS variables. These variables change based on whether or not a dark class is applied to the root element of your page.

Here is a comprehensive guide on how to toggle that class with Angular: Dark mode with Analog & Tailwind

Typography Theming