Skip to content
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

Drake Black中的代码块内 注释文字的颜色如何修改? #94

Closed
juanvon opened this issue Jul 21, 2022 · 7 comments
Closed

Drake Black中的代码块内 注释文字的颜色如何修改? #94

juanvon opened this issue Jul 21, 2022 · 7 comments

Comments

@juanvon
Copy link

juanvon commented Jul 21, 2022

描述问题

Drake Black主题中,本身背景就偏暗,现在代码块内的注释颜色也是深灰色,有时候很难看清,请问该修改哪个地方?

如何复现问题

期望结果

截图

image

系统 (建议使用最新Typora版本)

  • OS win10
  • Theme Drake Black
  • Typora Version 1.0.3
@liangjingkanji
Copy link
Owner

在我的设计中注释不应该抢焦点, 你是所有暗色主题注释都看不清楚还是就Black

@juanvon
Copy link
Author

juanvon commented Jul 24, 2022

在我的设计中注释不应该抢焦点, 你是所有暗色主题注释都看不清楚还是就Black

都不太清楚,注释的颜色会随着主题颜色变化一些,但是Black的时候最不清楚,和底色比较接近了。

@liangjingkanji
Copy link
Owner

你是希望注释和普通文字一样清楚是吗? 还是希望直接显示绿色?

@juanvon
Copy link
Author

juanvon commented Jul 24, 2022

你是希望注释和普通文字一样清楚是吗? 还是希望直接显示绿色?

直接显示绿色就好,但是我始终没有找到设置的地方。

@liangjingkanji
Copy link
Owner

在主题末尾找到.cm-s-inner .cm-comment或者.cm-s-inner span.cm-comment修改里面的颜色值即可修改注释颜色

例如Black主题的注释高亮颜色 (点击打开)

@liangjingkanji
Copy link
Owner

我不倾向于注释比代码本身还明显, 估只调整Black主题注释颜色更亮, 你可以按照上面的描述自行修改颜色

@juanvon
Copy link
Author

juanvon commented Jul 24, 2022

我不倾向于注释比代码本身还明显, 估只调整Black主题注释颜色更亮, 你可以按照上面的描述自行修改颜色

懂了,非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants