You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add custom CSS for .dark-theme to override that. I am using something like this in custom.styl:
// Dark mode for pre
.dark-theme .post-content figure,
.dark-theme .post-content figure.highlight .code pre {
background-color: $dark-post-blockquote-background-color;
color: $dark-mode-pre-foreground-color;
}
// Dark mode for pre line number
.dark-theme .post-content figure.highlight .gutter pre {
background-color: $dark-post-blockquote-background-color;
color: $dark-mode-pre-line-number-foreground-color;
}
Then you can specify the foreground color and background color of your choice.
Chic对黑暗模式对支持非常棒,美中不足的地方是如果我选择亮色主题,在dark mode下就会比较突兀,大佬是否可以支持下代码高亮双主题根据dark or light来切换
另,检索功能+1
The text was updated successfully, but these errors were encountered: