jinghu-moon / typora-see-yue-theme

See Yue 系列主题是一个自定义样式极多、简约、充满细节的 Typora 主题。(The See Yue series theme is a Typora theme with a plethora of custom styles, minimalism, and full of details.)

Home Page:https://theme.typora.io/theme/see-yue/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

可否为代码块添加背景颜色或者增加边框?

Leonardo-watch opened this issue · comments

纯白的背景加上纯白背景的代码块 分辨不清

是否可以提供一个示例图,v1.3.4 没有这种情况。只有全选后,代码块内代码会变成白色。如果是这种情况,请在 code-snippet.css 加入以下代码。

/* 文本选中样式 */
::selection,
/* 代码块文本选中样式 */
pre ::selection,
.CodeMirror-selected,
.CodeMirror-selectedtext {
  color           : #fff !important;
  background-color: #7caad2 !important;
}

好的,感谢回答!
出现的原因似乎是电脑问题
重启之后没有这个问题了