Unify and fix Solarized token colors

This PR contains a few more fixes for both Solarized themes:
1. The token color definitions have diverged a bit, unify them.
   Specifically, this makes both themes use the same colors for the same
   tokens (only affects diff headers and class names) and harmonizes a
   few scopes.
2. `#D30102` is not a Solarized color, replace with `#DC322F` (red).
3. `#219186` is not a Solarized color, replace with `#859900` (green).
pull/142883/head
Michael Kuhn 2022-02-11 22:48:18 +01:00
parent 06528bf65d
commit cffd1ecb7a
2 changed files with 31 additions and 25 deletions

View File

@ -7,7 +7,10 @@
} }
}, },
{ {
"scope": ["meta.embedded", "source.groovy.embedded"], "scope": [
"meta.embedded",
"source.groovy.embedded"
],
"settings": { "settings": {
"foreground": "#839496" "foreground": "#839496"
} }
@ -31,7 +34,7 @@
"name": "Regexp", "name": "Regexp",
"scope": "string.regexp", "scope": "string.regexp",
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -100,7 +103,7 @@
"punctuation.section.embedded.end" "punctuation.section.embedded.end"
], ],
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -177,12 +180,15 @@
"name": "Continuation", "name": "Continuation",
"scope": "punctuation.separator.continuation", "scope": "punctuation.separator.continuation",
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
"name": "Library constant", "name": "Library constant",
"scope": "support.constant", "scope": [
"support.constant",
"support.variable"
],
"settings": {} "settings": {}
}, },
{ {
@ -211,7 +217,7 @@
"name": "Invalid", "name": "Invalid",
"scope": "invalid", "scope": "invalid",
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -222,7 +228,7 @@
], ],
"settings": { "settings": {
"fontStyle": "italic", "fontStyle": "italic",
"foreground": "#E0EDDD" "foreground": "#268BD2"
} }
}, },
{ {
@ -230,7 +236,7 @@
"scope": "markup.deleted", "scope": "markup.deleted",
"settings": { "settings": {
"fontStyle": "", "fontStyle": "",
"foreground": "#dc322f" "foreground": "#DC322F"
} }
}, },
{ {
@ -238,14 +244,14 @@
"scope": "markup.changed", "scope": "markup.changed",
"settings": { "settings": {
"fontStyle": "", "fontStyle": "",
"foreground": "#cb4b16" "foreground": "#CB4B16"
} }
}, },
{ {
"name": "diff: inserted", "name": "diff: inserted",
"scope": "markup.inserted", "scope": "markup.inserted",
"settings": { "settings": {
"foreground": "#219186" "foreground": "#859900"
} }
}, },
{ {

View File

@ -34,7 +34,7 @@
"name": "Regexp", "name": "Regexp",
"scope": "string.regexp", "scope": "string.regexp",
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -78,7 +78,8 @@
"entity.name.scope-resolution" "entity.name.scope-resolution"
], ],
"settings": { "settings": {
"foreground": "#268BD2" "fontStyle": "",
"foreground": "#CB4B16"
} }
}, },
{ {
@ -102,7 +103,7 @@
"punctuation.section.embedded.end" "punctuation.section.embedded.end"
], ],
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -122,7 +123,7 @@
"keyword.other.new" "keyword.other.new"
], ],
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#CB4B16"
} }
}, },
{ {
@ -138,7 +139,9 @@
{ {
"name": "Inherited class", "name": "Inherited class",
"scope": "entity.other.inherited-class", "scope": "entity.other.inherited-class",
"settings": {} "settings": {
"foreground": "#6C71C4"
}
}, },
{ {
"name": "Function argument", "name": "Function argument",
@ -154,10 +157,7 @@
}, },
{ {
"name": "Tag start/end", "name": "Tag start/end",
"scope": [ "scope": "punctuation.definition.tag",
"punctuation.definition.tag.begin",
"punctuation.definition.tag.end"
],
"settings": { "settings": {
"foreground": "#93A1A1" "foreground": "#93A1A1"
} }
@ -180,7 +180,7 @@
"name": "Continuation", "name": "Continuation",
"scope": "punctuation.separator.continuation", "scope": "punctuation.separator.continuation",
"settings": { "settings": {
"foreground": "#D30102" "foreground": "#DC322F"
} }
}, },
{ {
@ -217,7 +217,7 @@
"name": "Invalid", "name": "Invalid",
"scope": "invalid", "scope": "invalid",
"settings": { "settings": {
"foreground": "#cd3131" "foreground": "#DC322F"
} }
}, },
{ {
@ -228,7 +228,7 @@
], ],
"settings": { "settings": {
"fontStyle": "italic", "fontStyle": "italic",
"foreground": "#268bd2" "foreground": "#268BD2"
} }
}, },
{ {
@ -236,7 +236,7 @@
"scope": "markup.deleted", "scope": "markup.deleted",
"settings": { "settings": {
"fontStyle": "", "fontStyle": "",
"foreground": "#dc322f" "foreground": "#DC322F"
} }
}, },
{ {
@ -244,14 +244,14 @@
"scope": "markup.changed", "scope": "markup.changed",
"settings": { "settings": {
"fontStyle": "", "fontStyle": "",
"foreground": "#cb4b16" "foreground": "#CB4B16"
} }
}, },
{ {
"name": "diff: inserted", "name": "diff: inserted",
"scope": "markup.inserted", "scope": "markup.inserted",
"settings": { "settings": {
"foreground": "#219186" "foreground": "#859900"
} }
}, },
{ {