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

note tag style:modern 暗黑模式不工作 #513

Open
panoshu opened this issue May 3, 2022 · 6 comments
Open

note tag style:modern 暗黑模式不工作 #513

panoshu opened this issue May 3, 2022 · 6 comments
Labels
Feature Request New feature or request

Comments

@panoshu
Copy link

panoshu commented May 3, 2022

v 8.11
note tag set style: morden,
暗黑模式下背景色依然是白色,没有自适应为暗色背景,如下图:
image

_config_next.yml
image

style: simple or flat 可正常显示

@panoshu panoshu added the Bug Something isn't working label May 3, 2022
@welcome
Copy link

welcome bot commented May 3, 2022

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@stevenjoezhang stevenjoezhang added Feature Request New feature or request and removed Bug Something isn't working labels May 4, 2022
@duchengyao
Copy link

貌似重复了
#341

@stevenjoezhang
Copy link
Member

{% note %} 标签的 class 参数如果不设置的话会有这个问题。我看看是否需要把 class 的默认值加上。

@coffeeofnosugar
Copy link

貌似重复了 #341

我只设置了_config.yml中的darkmode为true,无法显示暗黑模式,请问是还有什么其他的东西需要设置吗

@stevenjoezhang
Copy link
Member

操作系统需要处于暗色模式,并且浏览器支持暗色模式

@coffeeofnosugar
Copy link

操作系统需要处于暗色模式,并且浏览器支持暗色模式

好的,感谢,将win10设置成暗色模式后就生效了

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

No branches or pull requests

4 participants