如何在Sublime Text 3中更改CSS属性的颜色方案?
我已经修改Monokai.tmTheme
并更改了默认的Library variable
和Variable
的颜色。Sublime Text 3 - CSS属性的颜色方案
<dict>
<key>name</key>
<string>Library variable</string>
<key>scope</key>
<string>support.other.variable</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FFB6C1</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Variable</string>
<key>scope</key>
<string>variable</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FFB6C1</string>
</dict>
</dict>
通过改变内部<dict>
最后<string>
你可以看到here变量的缺省白色变为粉红色。
我想更改CSS属性的默认蓝色,但找不到其相关的标记字符串名称。
如果将光标置于其中一个属性的顶部并选择“工具>开发人员>显示范围名称”,弹出窗口会告诉您适用于该范围的范围。 – OdatNurd
非常感谢@OdatNurd,它工作正常。范围名称是'support.type,support.class'。 – aaawww
[Sublime Text - 修改tmTheme文件]可能的副本(https://stackoverflow.com/questions/37406338/sublime-text-modifying-tmtheme-file) –