Automatically sync your website with your users' system theme preferences
Change your system theme to see this page adapt in real-time!
Instantly responds to system theme changes without page refresh
Comprehensive CSS system that works across all your pages
Supports high contrast, reduced motion, and screen readers
Updates mobile browser chrome and works on all devices
Simple API, modular files, extensive customization
Lightweight, optimized, and minimal performance impact
The Universal Theme System uses modern web standards to automatically synchronize with your users' system preferences:
prefers-color-scheme detectionInclude these files in your project to enable universal theme synchronization:
<link rel="stylesheet" href="css/theme-system.css">
<script src="js/theme-manager.js"></script>