.css 主题文件中的字体标记
Tag for font in .css theme file
我正在尝试为 Brackets
自定义主题文件。
我喜欢Monokai and the colours used in Tomorrow Night中使用的字体,所以我想混合使用它们。
问题是我在这两个 theme.css
中找不到 font
标签。
文件中的那些标签在哪里?他们叫什么?
您链接的主题似乎使用默认字体 "SourceCodePro-Medium"。 Homever,可以通过两种方式更改字体系列:
- 您可以在
View > Themes
对话框中更改括号的字体系列。
- 在 theme.css 中,将
font-family
标记添加到 body
。 (可以被选项 1 覆盖)
Don't set the editor font to a web font (@font-face) - this will cause
cursor positioning glitches.
我正在尝试为 Brackets
自定义主题文件。
我喜欢Monokai and the colours used in Tomorrow Night中使用的字体,所以我想混合使用它们。
问题是我在这两个 theme.css
中找不到 font
标签。
文件中的那些标签在哪里?他们叫什么?
您链接的主题似乎使用默认字体 "SourceCodePro-Medium"。 Homever,可以通过两种方式更改字体系列:
- 您可以在
View > Themes
对话框中更改括号的字体系列。 - 在 theme.css 中,将
font-family
标记添加到body
。 (可以被选项 1 覆盖)
Don't set the editor font to a web font (@font-face) - this will cause cursor positioning glitches.