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 switch to light or dark theme #50

Open
sahashirshendu opened this issue Jan 10, 2022 · 3 comments · May be fixed by #62
Open

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

sahashirshendu opened this issue Jan 10, 2022 · 3 comments · May be fixed by #62

Comments

@sahashirshendu
Copy link

sahashirshendu commented Jan 10, 2022

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
?

@sahashirshendu sahashirshendu changed the title Auto switch to light or dark theme Feature Request : Automatically switch to light or dark theme Jan 10, 2022
@RatanShreshtha
Copy link
Owner

Willing to send a PR?

@sahashirshendu
Copy link
Author

Sorry, but no 😅 (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.

@shafan shafan linked a pull request May 21, 2022 that will close this issue
@thetechgy
Copy link

@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

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

Successfully merging a pull request may close this issue.

3 participants