Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get current system mode, regardless of preference #191

Open
kalnode opened this issue Apr 26, 2023 · 0 comments
Open

Get current system mode, regardless of preference #191

kalnode opened this issue Apr 26, 2023 · 0 comments
Labels
question Further information is requested

Comments

@kalnode
Copy link

kalnode commented Apr 26, 2023

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

@kalnode kalnode added the question Further information is requested label Apr 26, 2023
@kalnode kalnode closed this as completed Apr 26, 2023
@kalnode kalnode reopened this Apr 26, 2023
@kalnode kalnode changed the title get system mode Get current system mode, regardless of preference Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant