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

[Feature request] Automatically enable colorTheme: dark on prefers-color-scheme: dark #1827

Open
KaKi87 opened this issue Jun 23, 2023 · 0 comments

Comments

@KaKi87
Copy link

KaKi87 commented Jun 23, 2023

Hello,

prefers-color-scheme allows users not to have to manually change theme settings in every webapp they visit when they already set their browser and/or system theme as dark.

Therefore, it would be nice of StackEdit to automatically add colorTheme: dark to settings when prefers-color-scheme: dark is set.

As an alternative I tried to use localStorage.setItem from a userscript, but without success, because of the hash property I suppose.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant