-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Native Dark Mode support #1386
Native Dark Mode support #1386
Conversation
c4d71db
to
ed99ed1
Compare
@stevenjoezhang Can we add a button to switch dark mode? |
@asdf2014 Use this plugin: https://github.com/sandoche/Darkmode.js
|
@stevenjoezhang Thanks a lot. It worked. https://yuzhouwan.com/
|
Could you mind sharing how to how to use that dark button plugin? As I am new to hexo, I don't know how to insert a js file into swig file. |
Can we set a force dark mode instead of dark mode depending on user's system theme? Because it seems dark mode is no activated even I use a dark theme in Ubuntu 19. Thanks |
Sorry, we have no plans to add this feature. |
Thanks to @1v9 @BillYang2016 and @Yuhhang, this Pull Request was inspired by your dark mode design and implementation.
Some stylus variables are exported as CSS variables, and will no longer be available during customization.