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

Add Media Query for Default Light/Dark Mode #516

Open
hudsonm62 opened this issue May 17, 2023 · 1 comment
Open

Add Media Query for Default Light/Dark Mode #516

hudsonm62 opened this issue May 17, 2023 · 1 comment

Comments

@hudsonm62
Copy link

Hi Eddie,
You should add a prefers-color-scheme media query to determine if it should load dark or light mode on first visit. (Or AT LEAST have it as a toggle option in the site design settings )

I don't want to flash-bang my visitors (and myself in some cases), and I really don't want to entirely disable light mode either.

Cheers,
ziro.

@eddiesigner
Copy link
Owner

Hi Ziro,

I'm not sure if I should, this is more like a preference rather than a rule. The theme used to do exactly that but I decided to remove that feature base on users feedback.

If you want to have that you could inject the content of this file in the Ghost Editor. At the moment I don't have plans to add a custom setting for that.

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

2 participants