eddiesigner / liebling

Beautiful and clean Ghost theme that is easy and comfortable to use. To get the latest version please head over the releases page 👉🏼
https://github.com/eddiesigner/liebling/releases
MIT License
1.25k stars 594 forks source link

Add Media Query for Default Light/Dark Mode #516

Open hudsonm62 opened 1 year ago

hudsonm62 commented 1 year ago

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 commented 1 year ago

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.