Theme Related Fixes (#3412)

pull/3439/head
nosa 2 years ago committed by GitHub
parent 8deaebde26
commit c5deb30814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -103,6 +103,8 @@ We use a similar set of scopes as
[SublimeText](https://www.sublimetext.com/docs/scope_naming.html). See also [SublimeText](https://www.sublimetext.com/docs/scope_naming.html). See also
[TextMate](https://macromates.com/manual/en/language_grammars) scopes. [TextMate](https://macromates.com/manual/en/language_grammars) scopes.
- `attribute` - Class attributes, html tag attributes
- `type` - Types - `type` - Types
- `builtin` - Primitive types provided by the language (`int`, `usize`) - `builtin` - Primitive types provided by the language (`int`, `usize`)
- `constructor` - `constructor`
@ -133,13 +135,13 @@ We use a similar set of scopes as
- `parameter` - Function parameters - `parameter` - Function parameters
- `other` - `other`
- `member` - Fields of composite data types (e.g. structs, unions) - `member` - Fields of composite data types (e.g. structs, unions)
- `function` (TODO: ?)
- `label` - `label`
- `punctuation` - `punctuation`
- `delimiter` - Commas, colons - `delimiter` - Commas, colons
- `bracket` - Parentheses, angle brackets, etc. - `bracket` - Parentheses, angle brackets, etc.
- `special` - String interpolation brackets.
- `keyword` - `keyword`
- `control` - `control`

@ -35,7 +35,7 @@
(non_boundary_assertion) (non_boundary_assertion)
] @constant.character.escape ] @constant.character.escape
(group_name) @property (group_name) @label
(count_quantifier (count_quantifier
[ [

@ -31,7 +31,7 @@
"variable" = "my_white3" "variable" = "my_white3"
"constant.numeric" = "my_turquoise" "constant.numeric" = "my_turquoise"
"constant" = "my_white3" "constant" = "my_white3"
"attributes" = "my_turquoise" "attribute" = "my_turquoise"
"type" = { fg = "my_white3", modifiers = ["italic"] } "type" = { fg = "my_white3", modifiers = ["italic"] }
"ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] }
"string" = "my_green" "string" = "my_green"

@ -31,7 +31,7 @@
"variable" = "my_white3" "variable" = "my_white3"
"constant.numeric" = "my_turquoise" "constant.numeric" = "my_turquoise"
"constant" = "my_white3" "constant" = "my_white3"
"attributes" = "my_turquoise" "attribute" = "my_turquoise"
"type" = { fg = "my_white3", modifiers = ["italic"] } "type" = { fg = "my_white3", modifiers = ["italic"] }
"ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "my_white3", modifiers = ["underlined"] }
"string" = "my_green" "string" = "my_green"

@ -19,7 +19,7 @@
"variable" = "base08" "variable" = "base08"
"constant.numeric" = "base09" "constant.numeric" = "base09"
"constant" = "base09" "constant" = "base09"
"attributes" = "base09" "attribute" = "base09"
"type" = "base0A" "type" = "base0A"
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
"string" = "base0B" "string" = "base0B"

@ -19,7 +19,7 @@
"variable" = "base08" "variable" = "base08"
"constant.numeric" = "base09" "constant.numeric" = "base09"
"constant" = "base09" "constant" = "base09"
"attributes" = "base09" "attribute" = "base09"
"type" = "base0A" "type" = "base0A"
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
"string" = "base0B" "string" = "base0B"

@ -17,7 +17,7 @@
"variable" = "light-red" "variable" = "light-red"
"constant.numeric" = "yellow" "constant.numeric" = "yellow"
"constant" = "yellow" "constant" = "yellow"
"attributes" = "yellow" "attribute" = "yellow"
"type" = "light-yellow" "type" = "light-yellow"
"ui.cursor.match" = { fg = "light-yellow", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "light-yellow", modifiers = ["underlined"] }
"string" = "light-green" "string" = "light-green"

@ -28,7 +28,7 @@
"variable" = "light-red" "variable" = "light-red"
"constant.numeric" = "yellow" "constant.numeric" = "yellow"
"constant" = "yellow" "constant" = "yellow"
"attributes" = "yellow" "attribute" = "yellow"
"type" = "light-yellow" "type" = "light-yellow"
"string" = "light-green" "string" = "light-green"
"variable.other.member" = "green" "variable.other.member" = "green"

@ -20,7 +20,7 @@ operator = { fg = 'blue' }
function = { fg = 'yellow' } function = { fg = 'yellow' }
tag = { fg = 'cyan' } tag = { fg = 'cyan' }
attribute = { fg = 'blue' } attribute = { fg = 'blue' }
attributes = { fg = 'blue' } attribute = { fg = 'blue' }
namespace = { fg = 'red' } namespace = { fg = 'red' }
'markup.heading' = { fg = 'red' } 'markup.heading' = { fg = 'red' }

@ -13,7 +13,6 @@
"label" = { modifiers = ["bold"] } "label" = { modifiers = ["bold"] }
"namespace" = { fg = "teal_text", bg = "teal_bg" } "namespace" = { fg = "teal_text", bg = "teal_bg" }
"operator" = { fg = "base1", bg = "base7" } "operator" = { fg = "base1", bg = "base7" }
"property" = { fg = "blue_text", bg = "blue_bg" }
"punctuation.bracket" = { modifiers = ["bold"] } "punctuation.bracket" = { modifiers = ["bold"] }
"special" = { fg = "blue_text", bg = "blue_bg" } "special" = { fg = "blue_text", bg = "blue_bg" }
"string" = { fg = "green_text", bg = "green_bg" } "string" = { fg = "green_text", bg = "green_bg" }

@ -60,7 +60,6 @@
'function.special' = { fg = 'pink' } 'function.special' = { fg = 'pink' }
'tag' = { fg = 'blue' } 'tag' = { fg = 'blue' }
'namespace' = { fg = 'peach' } 'namespace' = { fg = 'peach' }
'property' = { fg = 'green' }
'special' = { fg = 'greyE' } 'special' = { fg = 'greyE' }
'module' = { fg = 'greyE' } 'module' = { fg = 'greyE' }
'attribute' = { fg = 'paleblue' } 'attribute' = { fg = 'paleblue' }

@ -62,7 +62,6 @@
# SYNTAX HIGHLIGHTING ============================== # SYNTAX HIGHLIGHTING ==============================
# All the keys here are Treesitter scopes. # All the keys here are Treesitter scopes.
'property' = { fg = "red" } # Regex group names.
'special' = { fg = "mid-blue"} # Special symbols e.g `?` in Rust, `...` in Hare. 'special' = { fg = "mid-blue"} # Special symbols e.g `?` in Rust, `...` in Hare.
'attribute' = { fg = "yellow" } # Class attributes, html tag attributes. 'attribute' = { fg = "yellow" } # Class attributes, html tag attributes.

@ -1,6 +1,6 @@
# Author: Joseph Harrison-Lim <josephharrisonlim@gmail.com> # Author: Joseph Harrison-Lim <josephharrisonlim@gmail.com>
"attributes" = { fg = "#7060eb", modifiers = ["bold"] } "attribute" = { fg = "#7060eb", modifiers = ["bold"] }
"comment" = { fg = "base03", modifiers = ["italic"] } "comment" = { fg = "base03", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "base06", modifiers = ["italic"] } "comment.block.documentation" = { fg = "base06", modifiers = ["italic"] }
"constant" = "base09" "constant" = "base09"

@ -18,7 +18,6 @@
"namespace" = { fg = "blue" } "namespace" = { fg = "blue" }
"operator" = { fg = "purple" } "operator" = { fg = "purple" }
"keyword.operator" = { fg = "purple" } "keyword.operator" = { fg = "purple" }
"property" = { fg = "red" }
"special" = { fg = "blue" } "special" = { fg = "blue" }
"string" = { fg = "green" } "string" = { fg = "green" }
"type" = { fg = "yellow" } "type" = { fg = "yellow" }

@ -27,7 +27,6 @@
"label" = { fg = "cyan" } "label" = { fg = "cyan" }
"namespace" = { fg = "red" } "namespace" = { fg = "red" }
"operator" = { fg = "red" } "operator" = { fg = "red" }
"property" = { fg = "red" }
"special" = { fg = "purple" } "special" = { fg = "purple" }
"string" = { fg = "green" } "string" = { fg = "green" }
"module" = { fg = "cyan" } "module" = { fg = "cyan" }

@ -41,9 +41,8 @@ label = { fg = 'greenS' }
module = { bg = 'orangeL' } module = { bg = 'orangeL' }
special = { fg = 'orangeW' } special = { fg = 'orangeW' }
operator = { fg = 'orangeY' } operator = { fg = 'orangeY' }
property = { bg = 'blueH' }
attribute = { fg = 'orangeL' } attribute = { fg = 'orangeL' }
attributes = { fg = 'orangeL' } attribute = { fg = 'orangeL' }
namespace = { fg = 'orangeL' } namespace = { fg = 'orangeL' }
'type' = { fg = 'redH' } 'type' = { fg = 'redH' }
'type.builtin' = { fg = 'orangeL' } 'type.builtin' = { fg = 'orangeL' }

@ -22,11 +22,10 @@
"variable" = "text" "variable" = "text"
"constant.numeric" = "iris" "constant.numeric" = "iris"
"constant" = "gold" "constant" = "gold"
"attributes" = "gold" "attribute" = "gold"
"type" = "foam" "type" = "foam"
"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
"string" = "gold" "string" = "gold"
"property" = "foam"
"constant.character.escape" = "subtle" "constant.character.escape" = "subtle"
"function" = "rose" "function" = "rose"
"function.builtin" = "rose" "function.builtin" = "rose"
@ -40,7 +39,7 @@
"ui.popup.info" = { bg = "surface" } "ui.popup.info" = { bg = "surface" }
"ui.window" = { bg = "base" } "ui.window" = { bg = "base" }
"ui.help" = { bg = "overlay", fg = "foam" } "ui.help" = { bg = "overlay", fg = "foam" }
"text" = "text" "ui.text" = "text"
"diff.plus" = "foam" "diff.plus" = "foam"
"diff.delta" = "rose" "diff.delta" = "rose"
"diff.minus" = "love" "diff.minus" = "love"

@ -19,11 +19,10 @@
"variable" = "text" "variable" = "text"
"number" = "iris" "number" = "iris"
"constant" = "gold" "constant" = "gold"
"attributes" = "gold" "attribute" = "gold"
"type" = "foam" "type" = "foam"
"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
"string" = "gold" "string" = "gold"
"property" = "foam"
"escape" = "subtle" "escape" = "subtle"
"function" = "rose" "function" = "rose"
"function.builtin" = "rose" "function.builtin" = "rose"
@ -37,7 +36,7 @@
"ui.popup.info" = { bg = "surface" } "ui.popup.info" = { bg = "surface" }
"ui.window" = { bg = "base" } "ui.window" = { bg = "base" }
"ui.help" = { bg = "overlay", fg = "foam" } "ui.help" = { bg = "overlay", fg = "foam" }
"text" = "text" "ui.text" = "text"
"diff.plus" = "foam" "diff.plus" = "foam"
"diff.delta" = "rose" "diff.delta" = "rose"
"diff.minus" = "love" "diff.minus" = "love"

@ -25,11 +25,10 @@
"variable" = "text" "variable" = "text"
"constant.numeric" = "iris" "constant.numeric" = "iris"
"constant" = "gold" "constant" = "gold"
"attributes" = "gold" "attribute" = "gold"
"type" = "foam" "type" = "foam"
"ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "gold", modifiers = ["underlined"] }
"string" = "gold" "string" = "gold"
"property" = "foam"
"constant.character.escape" = "subtle" "constant.character.escape" = "subtle"
"function" = "rose" "function" = "rose"
"function.builtin" = "rose" "function.builtin" = "rose"
@ -43,7 +42,7 @@
"ui.popup.info" = { bg = "surface" } "ui.popup.info" = { bg = "surface" }
"ui.window" = { bg = "base" } "ui.window" = { bg = "base" }
"ui.help" = { bg = "overlay", fg = "foam" } "ui.help" = { bg = "overlay", fg = "foam" }
"text" = "text" "ui.text" = "text"
"diff.plus" = "foam" "diff.plus" = "foam"
"diff.delta" = "rose" "diff.delta" = "rose"
"diff.minus" = "love" "diff.minus" = "love"

@ -30,7 +30,6 @@
"attribute" = "aqua" "attribute" = "aqua"
"constructor" = "yellow" "constructor" = "yellow"
"module" = "blue" "module" = "blue"
"property" = "yellow"
"special" = "orange" "special" = "orange"
"ui.background" = { bg = "bg0" } "ui.background" = { bg = "bg0" }

@ -30,7 +30,6 @@
"attribute" = "aqua" "attribute" = "aqua"
"constructor" = "yellow" "constructor" = "yellow"
"module" = "blue" "module" = "blue"
"property" = "yellow"
"special" = "orange" "special" = "orange"
"ui.background" = { bg = "bg0" } "ui.background" = { bg = "bg0" }

@ -8,7 +8,7 @@
"operator" = { fg = "magenta" } "operator" = { fg = "magenta" }
"punctuation" = { fg = "foreground" } "punctuation" = { fg = "foreground" }
"string" = { fg = "yellow" } "string" = { fg = "yellow" }
"path" = { fg = "blue" } "string.special.path" = { fg = "blue" }
"string.regexp" = { fg = "red" } "string.regexp" = { fg = "red" }
"tag" = { fg = "magenta" } "tag" = { fg = "magenta" }
"type" = { fg = "cyan", modifiers = ["italic"] } "type" = { fg = "cyan", modifiers = ["italic"] }

@ -10,7 +10,6 @@
"punctuation.delimiter" = "#6c3163" "punctuation.delimiter" = "#6c3163"
"operator" = "#ba2f59" "operator" = "#ba2f59"
"special" = "#ba2f59" "special" = "#ba2f59"
"property" = "#7590db"
"variable.property" = "#7590db" "variable.property" = "#7590db"
"variable" = "#715ab1" "variable" = "#715ab1"
"variable.builtin" = "#715ab1" "variable.builtin" = "#715ab1"

Loading…
Cancel
Save