-
Notifications
You must be signed in to change notification settings - Fork 253
-
Notifications
You must be signed in to change notification settings - Fork 253
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
配色又变了吗,,, 能否支持dark mode #283
Comments
这个已经增加了,适用于浏览器黑色模式 😏 |
@Litreily 你的页面中的 <body class="night">
<!--your other code-->
</body> 虽然Valine是自动适配
<body data-theme="dark"></body>
<body class="theme__dark"></body>
<body class="night"></body> |
@xCss 感谢,可用,但是和主题还是不是很搭,又稍加修改了下,哈哈 |
发现个小问题,night 模式下,浏览器类型部分的 |
@Litreily 抱歉,这个就需要博主自己去调了,毕竟Valine不能针对每个颜色都适配一遍 |
这个我知道,但是我看light模式下,这两处的颜色是不一样的,可以形成对比,dark mode使用的却是一样的。 thanks any way. |
@Litreily OK,了解了 |
@Litreily 新版已稍作修改。感谢反馈 |
我的博客使用的是本人写的黑色系主题,配上新的valine样式显得很奇怪,之前更新了valine后是自己修改css匹配的,但是最近貌似又更新了其它样式,虽然可以自己修改解决,但是每次这么整也好麻烦啊
所以可否支持两种样式,dark mode, 和light mode, 给个选项进行配置?
The text was updated successfully, but these errors were encountered: