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

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

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

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

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

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

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

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

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

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

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

@ -62,7 +62,6 @@
# SYNTAX HIGHLIGHTING ==============================
# 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.
'attribute' = { fg = "yellow" } # Class attributes, html tag attributes.

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save