postcss-dark-theme-class
CSS solution for light/dark/auto theme switcher for websites
CSS solution for light/dark/auto theme switcher for websites
React Hook to get the system theme (OS theme: light or dark) based on prefers-colors-scheme. Subscribes to changes as well.
Trigger a function at sunset/sunrise (e.g. for auto theme change)