因为自带的主题是存储在C:\Users\lenovo\AppData\Local\Sublime Text 3\Cache\Color Scheme - Legacy
对应preference -> Solor Scheme ->Color Scheme - Default
主题包,但里面都是.tmTheme.cache 主题 缓存文件,没有办法直接编辑;
需要下载.tmTheme 文件,然后修改再存入
一个主题编辑与下载网站:http://tmtheme-/#!/editor/theme/Monokai
以monokai.tmTheme 为例,下载好后:
sublime 打开:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>name</key><string>Monokai</string><key>settings</key><array><dict><key>settings</key><dict><key>background</key><string>#000000</string><key>caret</key><string>#F8F8F0</string><key>foreground</key><string>#F8F8F2</string><key>invisibles</key><string>#3B3A32</string><key>lineHighlight</key><string>#3E3D32</string><key>selection</key><string>#49483E</string><key>findHighlight</key><string>#FFE792</string><key>findHighlightForeground</key><string>#FFE792</string><key>selectionBorder</key><string>#222218</string><key>activeGuide</key><string>#9D550FB0</string><key>bracketsForeground</key><string>#F8F8F2A5</string><key>bracketsOptions</key><string>underline</string><key>bracketContentsForeground</key><string>#F8F8F2A5</string><key>bracketContentsOptions</key><string>underline</string><key>tagsOptions</key><string>stippled_underline</string></dict></dict><dict><key>name</key><string>Comment</string><key>scope</key><string>comment</string><key>settings</key><dict><key>foreground</key><string>#75715E</string></dict></dict><dict>
例如 :找到 Comment 对应的16进制颜色标签
<string>Comment</string><key>scope</key><string>comment</string><key>settings</key><dict><key>foreground</key><string>#75715E</string></dict>
修改就行,保存,存入Color Scheme - Default 文件夹(C:\Users\lenovo\AppData\Local\Sublime Text 3\Cache\Color Scheme - Default
)
再去preference修改颜色主题就行了:
比如 Comment 改成 #A39480米色 样式;相比之前的灰色看起来要清楚
转载自:/willowj/p/7591301.html