RatanShreshtha / DeepThought

A simple blog theme focused on writing powered by Bulma and Zola.
https://deepthought-theme.netlify.app/
MIT License
176 stars 92 forks source link

Feature Request : Automatically switch to light or dark theme #50

Open sahashirshendu opened 2 years ago

sahashirshendu commented 2 years ago

Is it possible to implement switching to light or dark theme based on the system theme when something like colorscheme = auto is set in config.toml and, always use dark mode when colorscheme = dark is set and, always use light mode when colorscheme = light is set ?

RatanShreshtha commented 2 years ago

Willing to send a PR?

sahashirshendu commented 2 years ago

Sorry, but no :sweat_smile: (I do not have that level of expertise). Just saw a similar feature in a Hugo theme Hugo Coder. It would be really great if you would implement this, when you find the time.

thetechgy commented 10 months ago

@RatanShreshtha, did this ever get merged? I was looking for the ability to set a default dark mode and that seemed to be the intent of PR #62