color-mode
color-mode copied to clipboard
Get current system mode, regardless of preference
Hello,
Question: Is there a built-in helper to get the current system value (prefers-color-scheme
), regardless of this module's current color preferences?
Reason: I'm trying to provide extra user preferences such that they select preferred "tints" like...
Example: "Preferred system tints" System Dark: [ 'monotone-dark', 'teal-dark', 'sepia-dark'] System Light: [ 'monotone-light', 'teal-light', 'sepia-light']