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

Support for dark mode #17

Open
codewithtyler opened this issue Oct 8, 2020 · 2 comments
Open

Support for dark mode #17

codewithtyler opened this issue Oct 8, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@codewithtyler
Copy link

As a developer we typically look at screens most of our day. As a result the bright screen can sometimes cause headaches. It would be nice if there was a toggle button at the top of the page perhaps near the Contact Me button that lets you toggle between dark mode and light mode. You could even have it where when you toggle the button some JavaScript will save the current mode in local storage so that the next time the viewer visits the site it remembers what you set it to. This could even be an extension of the color variants support you have now where you can separate color variants for light mode and dark mode.

@wkocjan wkocjan added the enhancement New feature or request label Oct 14, 2020
@ishanvyas22
Copy link

Really love to see this feature in this theme. @wkocjan Since we already have color variant for dark-blue which I suppose can act as an dark mode, is there any easy way around to quickly switch classic color variant to dark-blue until we have proper official support for dark mode?

@alcrene
Copy link

alcrene commented Mar 24, 2023

In case someone is interested, I implemented this in my fork: I add a dark-theme option, which accepts exactly the same arguments as theme.
I'd be happy to merge this back upstream.

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

No branches or pull requests

4 participants