on master help sign in
Theme Related Fixes (#3412)
commitc5deb308148b148ff0592e18203f1ca721716668 authornosa <96927121+n0s4@users.noreply.github.com> dateSun 14 Aug 2022, 14:35 (4 years ago) parent8deaebd
23 files changed+20−30
book/src/themes.md+3−1 runtime/queries/regex/highlights.scm+1−1 runtime/themes/autumn.toml+1−1 runtime/themes/autumn_night.toml+1−1 runtime/themes/base16_default_dark.toml+1−1 runtime/themes/base16_default_light.toml+1−1 runtime/themes/base16_terminal.toml+1−1 runtime/themes/base16_transparent.toml+1−1 runtime/themes/doom_acario_dark.toml+1−1 runtime/themes/flatwhite.toml−1 runtime/themes/night_owl.toml−1 runtime/themes/noctis.toml−1 runtime/themes/noctis_bordo.toml+1−1 runtime/themes/onedark.toml−1 runtime/themes/onelight.toml−1 runtime/themes/pop-dark.toml+1−2 runtime/themes/rose_pine.toml+2−3 runtime/themes/rose_pine_dawn.toml+2−3 runtime/themes/rose_pine_moon.toml+2−3 runtime/themes/serika-dark.toml−1 runtime/themes/serika-light.toml−1 runtime/themes/snazzy.toml+1−1 runtime/themes/spacebones_light.toml−1
book/src/themes.md+3−1
@@ -103,6 +103,8 @@ We use a similar set of scopes as
103103[SublimeText](https://www.sublimetext.com/docs/scope_naming.html). See also
104104[TextMate](https://macromates.com/manual/en/language_grammars) scopes.
105105
106+- `attribute` - Class attributes, html tag attributes
107+
106108- `type` - Types
107109 - `builtin` - Primitive types provided by the language (`int`, `usize`)
108110- `constructor`
@@ -133,13 +135,13 @@ We use a similar set of scopes as
133135 - `parameter` - Function parameters
134136 - `other`
135137 - `member` - Fields of composite data types (e.g. structs, unions)
136− - `function` (TODO: ?)
137138
138139- `label`
139140
140141- `punctuation`
141142 - `delimiter` - Commas, colons
142143 - `bracket` - Parentheses, angle brackets, etc.
144+ - `special` - String interpolation brackets.
143145
144146- `keyword`
145147 - `control`
runtime/queries/regex/highlights.scm+1−1
@@ -35,7 +35,7 @@
3535 (non_boundary_assertion)
3636] @constant.character.escape
3737
38−(group_name) @property
38+(group_name) @label
3939
4040(count_quantifier
4141 [
runtime/themes/autumn.toml+1−1
@@ -31,7 +31,7 @@
3131"variable" = "my_white3"
3232"constant.numeric" = "my_turquoise"
3333"constant" = "my_white3"
34−"attributes" = "my_turquoise"
34+"attribute" = "my_turquoise"
3535"type" = { fg = "my_white3", modifiers = ["italic"] }
3636"ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] }
3737"string" = "my_green"
runtime/themes/autumn_night.toml+1−1
@@ -31,7 +31,7 @@
3131"variable" = "my_white3"
3232"constant.numeric" = "my_turquoise"
3333"constant" = "my_white3"
34−"attributes" = "my_turquoise"
34+"attribute" = "my_turquoise"
3535"type" = { fg = "my_white3", modifiers = ["italic"] }
3636"ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] }
3737"string" = "my_green"
runtime/themes/base16_default_dark.toml+1−1
@@ -19,7 +19,7 @@
1919"variable" = "base08"
2020"constant.numeric" = "base09"
2121"constant" = "base09"
22−"attributes" = "base09"
22+"attribute" = "base09"
2323"type" = "base0A"
2424"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
2525"string" = "base0B"
runtime/themes/base16_default_light.toml+1−1
@@ -19,7 +19,7 @@
1919"variable" = "base08"
2020"constant.numeric" = "base09"
2121"constant" = "base09"
22−"attributes" = "base09"
22+"attribute" = "base09"
2323"type" = "base0A"
2424"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
2525"string" = "base0B"
runtime/themes/base16_terminal.toml+1−1
@@ -17,7 +17,7 @@
1717"variable" = "light-red"
1818"constant.numeric" = "yellow"
1919"constant" = "yellow"
20−"attributes" = "yellow"
20+"attribute" = "yellow"
2121"type" = "light-yellow"
2222"ui.cursor.match" = { fg = "light-yellow", modifiers = ["underlined"] }
2323"string" = "light-green"
runtime/themes/base16_transparent.toml+1−1
@@ -28,7 +28,7 @@
2828"variable" = "light-red"
2929"constant.numeric" = "yellow"
3030"constant" = "yellow"
31−"attributes" = "yellow"
31+"attribute" = "yellow"
3232"type" = "light-yellow"
3333"string" = "light-green"
3434"variable.other.member" = "green"
runtime/themes/doom_acario_dark.toml+1−1
@@ -20,7 +20,7 @@ operator = { fg = 'blue' }
2020function = { fg = 'yellow' }
2121tag = { fg = 'cyan' }
2222attribute = { fg = 'blue' }
23−attributes = { fg = 'blue' }
23+attribute = { fg = 'blue' }
2424namespace = { fg = 'red' }
2525
2626'markup.heading' = { fg = 'red' }
runtime/themes/flatwhite.toml−1
@@ -13,7 +13,6 @@
1313"label" = { modifiers = ["bold"] }
1414"namespace" = { fg = "teal_text", bg = "teal_bg" }
1515"operator" = { fg = "base1", bg = "base7" }
16−"property" = { fg = "blue_text", bg = "blue_bg" }
1716"punctuation.bracket" = { modifiers = ["bold"] }
1817"special" = { fg = "blue_text", bg = "blue_bg" }
1918"string" = { fg = "green_text", bg = "green_bg" }
runtime/themes/night_owl.toml−1
@@ -60,7 +60,6 @@
6060'function.special' = { fg = 'pink' }
6161'tag' = { fg = 'blue' }
6262'namespace' = { fg = 'peach' }
63−'property' = { fg = 'green' }
6463'special' = { fg = 'greyE' }
6564'module' = { fg = 'greyE' }
6665'attribute' = { fg = 'paleblue' }
runtime/themes/noctis.toml−1
@@ -62,7 +62,6 @@
6262# SYNTAX HIGHLIGHTING ==============================
6363# All the keys here are Treesitter scopes.
6464
65−'property' = { fg = "red" } # Regex group names.
6665'special' = { fg = "mid-blue"} # Special symbols e.g `?` in Rust, `...` in Hare.
6766'attribute' = { fg = "yellow" } # Class attributes, html tag attributes.
6867
runtime/themes/noctis_bordo.toml+1−1
@@ -1,6 +1,6 @@
11# Author: Joseph Harrison-Lim <josephharrisonlim@gmail.com>
22
3−"attributes" = { fg = "#7060eb", modifiers = ["bold"] }
3+"attribute" = { fg = "#7060eb", modifiers = ["bold"] }
44"comment" = { fg = "base03", modifiers = ["italic"] }
55"comment.block.documentation" = { fg = "base06", modifiers = ["italic"] }
66"constant" = "base09"
runtime/themes/onedark.toml−1
@@ -18,7 +18,6 @@
1818"namespace" = { fg = "blue" }
1919"operator" = { fg = "purple" }
2020"keyword.operator" = { fg = "purple" }
21−"property" = { fg = "red" }
2221"special" = { fg = "blue" }
2322"string" = { fg = "green" }
2423"type" = { fg = "yellow" }
runtime/themes/onelight.toml−1
@@ -27,7 +27,6 @@
2727"label" = { fg = "cyan" }
2828"namespace" = { fg = "red" }
2929"operator" = { fg = "red" }
30−"property" = { fg = "red" }
3130"special" = { fg = "purple" }
3231"string" = { fg = "green" }
3332"module" = { fg = "cyan" }
runtime/themes/pop-dark.toml+1−2
@@ -41,9 +41,8 @@ label = { fg = 'greenS' }
4141module = { bg = 'orangeL' }
4242special = { fg = 'orangeW' }
4343operator = { fg = 'orangeY' }
44−property = { bg = 'blueH' }
4544attribute = { fg = 'orangeL' }
46−attributes = { fg = 'orangeL' }
45+attribute = { fg = 'orangeL' }
4746namespace = { fg = 'orangeL' }
4847'type' = { fg = 'redH' }
4948'type.builtin' = { fg = 'orangeL' }
runtime/themes/rose_pine.toml+2−3
@@ -22,11 +22,10 @@
2222"variable" = "text"
2323"constant.numeric" = "iris"
2424"constant" = "gold"
25−"attributes" = "gold"
25+"attribute" = "gold"
2626"type" = "foam"
2727"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
2828"string" = "gold"
29−"property" = "foam"
3029"constant.character.escape" = "subtle"
3130"function" = "rose"
3231"function.builtin" = "rose"
@@ -40,7 +39,7 @@
4039"ui.popup.info" = { bg = "surface" }
4140"ui.window" = { bg = "base" }
4241"ui.help" = { bg = "overlay", fg = "foam" }
43−"text" = "text"
42+"ui.text" = "text"
4443"diff.plus" = "foam"
4544"diff.delta" = "rose"
4645"diff.minus" = "love"
runtime/themes/rose_pine_dawn.toml+2−3
@@ -19,11 +19,10 @@
1919"variable" = "text"
2020"number" = "iris"
2121"constant" = "gold"
22−"attributes" = "gold"
22+"attribute" = "gold"
2323"type" = "foam"
2424"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
2525"string" = "gold"
26−"property" = "foam"
2726"escape" = "subtle"
2827"function" = "rose"
2928"function.builtin" = "rose"
@@ -37,7 +36,7 @@
3736"ui.popup.info" = { bg = "surface" }
3837"ui.window" = { bg = "base" }
3938"ui.help" = { bg = "overlay", fg = "foam" }
40−"text" = "text"
39+"ui.text" = "text"
4140"diff.plus" = "foam"
4241"diff.delta" = "rose"
4342"diff.minus" = "love"
runtime/themes/rose_pine_moon.toml+2−3
@@ -25,11 +25,10 @@
2525"variable" = "text"
2626"constant.numeric" = "iris"
2727"constant" = "gold"
28−"attributes" = "gold"
28+"attribute" = "gold"
2929"type" = "foam"
3030"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
3131"string" = "gold"
32−"property" = "foam"
3332"constant.character.escape" = "subtle"
3433"function" = "rose"
3534"function.builtin" = "rose"
@@ -43,7 +42,7 @@
4342"ui.popup.info" = { bg = "surface" }
4443"ui.window" = { bg = "base" }
4544"ui.help" = { bg = "overlay", fg = "foam" }
46−"text" = "text"
45+"ui.text" = "text"
4746"diff.plus" = "foam"
4847"diff.delta" = "rose"
4948"diff.minus" = "love"
runtime/themes/serika-dark.toml−1
@@ -30,7 +30,6 @@
3030"attribute" = "aqua"
3131"constructor" = "yellow"
3232"module" = "blue"
33−"property" = "yellow"
3433"special" = "orange"
3534
3635"ui.background" = { bg = "bg0" }
runtime/themes/serika-light.toml−1
@@ -30,7 +30,6 @@
3030"attribute" = "aqua"
3131"constructor" = "yellow"
3232"module" = "blue"
33−"property" = "yellow"
3433"special" = "orange"
3534
3635"ui.background" = { bg = "bg0" }
runtime/themes/snazzy.toml+1−1
@@ -8,7 +8,7 @@
88"operator" = { fg = "magenta" }
99"punctuation" = { fg = "foreground" }
1010"string" = { fg = "yellow" }
11−"path" = { fg = "blue" }
11+"string.special.path" = { fg = "blue" }
1212"string.regexp" = { fg = "red" }
1313"tag" = { fg = "magenta" }
1414"type" = { fg = "cyan", modifiers = ["italic"] }
runtime/themes/spacebones_light.toml−1
@@ -10,7 +10,6 @@
1010"punctuation.delimiter" = "#6c3163"
1111"operator" = "#ba2f59"
1212"special" = "#ba2f59"
13−"property" = "#7590db"
1413"variable.property" = "#7590db"
1514"variable" = "#715ab1"
1615"variable.builtin" = "#715ab1"