Embracing the Dark Side
Dark mode is more than just inverting colors. We discuss contrast ratios, accessible color palettes, and user preferences.
Technical Implementation
- CSS Variables: The core of a theme system.
- prefers-color-scheme: Respecting OS settings.
- Flash of Unstyled Theme: How to avoid it during SSR.
Last updated on April 3, 2026 at 4:45 AM UTC+7. See Changelog