/auto-dark-theme

Auto detect dark theme and switch accordingly. Saves theme preference to localStorage if the user selects a specific theme.

Primary LanguageTypeScript

Auto Dark Theme

Demo

Live Demo

This is React app is just a demo of the core theme switcher which is framework agnostic. You can look at src/lib/themeSwitcher to see the core functionality.

Reference