-
Notifications
You must be signed in to change notification settings - Fork 453
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
mermaid 在暗黑模式下的线条完全看不清 #331
Comments
这个是已知问题 theme-next/hexo-theme-next#1651 需要等Mermaid解决 mermaid-js/mermaid#1544 |
那个问题也是我提的,我看没人回复以为那个仓库不用了,就来这了 |
那个仓库确实不用了 |
done问题我解决了,最近突然发现了这个东西,你只需要在你的source/_data/styles.styl中加入下面的代码即可 .mermaid {
text-align: center;
}
@media (prefers-color-scheme: dark) {
.mermaid {
background: #505050;
}
} 浅色深色 |
还是把这个 issue 开着吧,未来可能还会优化 mermaid 的配色方案,讨论见 #270 |
Fixed in debbe5b |
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs. |
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
Issue Checklist
Expected behavior
Actual behavior
mermaid 在暗黑模式下的线条完全看不清,我自己的Blog,甚至文档中的例子也是看不清
Steps to reproduce the behavior
Look this , https://theme-next.js.org/docs/tag-plugins/mermaid.html

Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
The text was updated successfully, but these errors were encountered: