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

目录字体颜色不统一

Aurora-kite opened this issue · comments

对于各个标题如果加粗了,那么目录内该字体颜色为黑色,而其他标题为蓝色,能不能统一为蓝色
image

  1. 打开 inline-elemet.css ,修改如下:

    #write p[mdtype="paragraph"] strong {
      font-family: var(--bold-text-font);
      color      : var(--bold-text-color);
      font-size  : var(--bold-text-size);
      font-weight: normal !important;
      padding    : 0 1px;
    }
  2. 打开 contents.css ,末尾添加如下代码。

    #write :is(.md-toc-h1, .md-toc-h2, .md-toc-h3, .md-toc-h4, .md-toc-h5, .md-toc-h6) .md-toc-inner strong,
    :is(.md-toc-h1, .md-toc-h2, .md-toc-h3, .md-toc-h4, .md-toc-h5, .md-toc-h6):hover .md-toc-inner strong {
      font-weight: normal !important;
    }

标题字体已经是加粗字体,再加粗,只是改变了字体颜色。如果你要修改字体颜色,xxxx-config.css 给了配置代码。

image
已经解决,感谢!