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 in this theme? #48

Open
qiref opened this issue Dec 11, 2023 · 1 comment
Open

How to disable dark mode in this theme? #48

qiref opened this issue Dec 11, 2023 · 1 comment

Comments

@qiref
Copy link

qiref commented Dec 11, 2023

Thanks for awesome theme !
I just want use light mode , are there any parameters to modify?

@yihui
Copy link
Owner

yihui commented Dec 11, 2023

There is no parameter to control it at the moment. You can find the css/style.css file in your website project and delete these lines:

/* dark theme */
@media (prefers-color-scheme: dark) {
body {
background-color: darkslategray;
filter: invert(1);
}
img { filter: invert(1); }
.article-list { box-shadow: 0 0 8px #333; }
}

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