✨ feat(vscode): 预览里代码的上色和卡片种类色跟着当前颜色主题走
This commit is contained in:
1 parent
19302bbed0
commit
dff38ee0c5
26 files changed
+1286
-75
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{
|
||||
// 被 include 的主题:它的规则排在 include 它的主题前面
|
||||
"name": "Base",
|
||||
"semanticHighlighting": true,
|
||||
"tokenColors": [
|
||||
{ "scope": "keyword", "settings": { "foreground": "#111111" } },
|
||||
{ "scope": "string", "settings": { "foreground": "#222222" } }
|
||||
],
|
||||
"semanticTokenColors": {
|
||||
"function": "#333333"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Classic</string>
|
||||
<key>settings</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>background</key>
|
||||
<string>#000000</string>
|
||||
<key>foreground</key>
|
||||
<string>#FFFFFF</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Comment</string>
|
||||
<key>scope</key>
|
||||
<string>comment</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#666666</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Control</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control, storage</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#777777</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Child",
|
||||
/* include 的路径从这个文件所在的目录算起 */
|
||||
"include": "../base.json",
|
||||
"tokenColors": [
|
||||
{ "scope": "string", "settings": { "foreground": "#444444" } }
|
||||
],
|
||||
"semanticTokenColors": {
|
||||
"function": { "foreground": "#555555" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>settings</key>
|
||||
<string>not an array</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "Split",
|
||||
"tokenColors": "./classic.tmTheme"
|
||||
}
|
||||
Reference in new issue
Block a user