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

How to set dark mode as the default? #40

Closed
penyuan opened this issue Nov 28, 2022 · 2 comments
Closed

How to set dark mode as the default? #40

penyuan opened this issue Nov 28, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@penyuan
Copy link

penyuan commented Nov 28, 2022

This theme has support for dark and light mode, but is there a way to make dark mode the default?

Thank you to @kaiiiz for making this theme!

@zhtsu
Copy link

zhtsu commented Dec 7, 2022

I did it like this:

  • Swap the value of data-theme in line 22 and 40 of file 'assets/scss/color.scss'
  • Swap the contents of file 'moon.html' and 'sun.html' in the 'layouts/partials/svg'

It's hack but working PERFECT!!! XD

@kaiiiz kaiiiz added the enhancement New feature or request label Jul 23, 2023
@kaiiiz
Copy link
Owner

kaiiiz commented Jul 23, 2023

Implemented in v2.0.0.

@kaiiiz kaiiiz closed this as completed Jul 23, 2023
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

3 participants