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 disable dark mode? #43

Open
andrecavalcante opened this issue Nov 30, 2021 · 1 comment
Open

How to disable dark mode? #43

andrecavalcante opened this issue Nov 30, 2021 · 1 comment

Comments

@andrecavalcante
Copy link

Hi, how can I disable dark mode exhibition when using constrast theme?

@richard-costa
Copy link

Not sure if you still need this, but for other people who are also looking for a way to do this, I managed to do it by going to /_sass/basic.sass and changing

@media (prefers-color-scheme: dark)
  body
    background: $dark
    color: $light

to

@media (prefers-color-scheme: light)
  body
    background: $light
    color: $dark

If you also want to get rid of the dark header and footer, go to the _config.yml file and change show_frame: true to show_frame: false.

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

No branches or pull requests

2 participants