nuxt-modules/color-mode

Get current system mode, regardless of preference

kalnode opened this issue · 0 comments

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']