Skip to content

Commit

Permalink
Autumn theme: add gray tone for inlay-hint (#6316)
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Getreu <getreu@[email protected]>
  • Loading branch information
getreu and Jens Getreu authored Mar 14, 2023
1 parent 75ebc1f commit 3a4c359
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
38 changes: 20 additions & 18 deletions runtime/themes/autumn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@

"ui.background" = { bg = "my_gray0" }
"ui.menu" = { fg = "my_white", bg = "my_gray2" }
"ui.menu.selected" = { fg = "my_gray2", bg = "my_gray5" }
"ui.menu.selected" = { fg = "my_gray2", bg = "my_gray6" }
"ui.linenr" = { fg = "my_gray3", bg = "my_gray0" }
"ui.popup" = { bg = "my_gray2" }
"ui.window" = { fg = "my_gray3", bg = "my_gray2" }
"ui.linenr.selected" = { fg = "my_gray6", bg = "my_gray0"}
"ui.linenr.selected" = { fg = "my_gray7", bg = "my_gray0"}
"ui.selection" = { bg = "my_gray3" }
"comment" = { fg = "my_gray4", modifiers = ["italic"] }
"comment" = { fg = "my_gray5", modifiers = ["italic"] }
"ui.cursorline" = { bg = "my_gray3" }
"ui.statusline" = { fg = "my_gray6", bg = "my_gray2" }
"ui.statusline.inactive" = { fg = 'my_gray4', bg = 'my_gray2' }
"ui.statusline.insert" = {fg = "my_black", bg = "my_gray5", modifiers = ["bold"]}
"ui.statusline.normal" = {fg = "my_gray6", bg = "my_gray2"}
"ui.statusline.select" = {fg = "my_gray6", bg = "my_black", modifiers = ["bold"]}
"ui.cursor" = { fg = "my_gray5", modifiers = ["reversed"] }
"ui.statusline" = { fg = "my_gray7", bg = "my_gray2" }
"ui.statusline.inactive" = { fg = 'my_gray5', bg = 'my_gray2' }
"ui.statusline.insert" = {fg = "my_black", bg = "my_gray6", modifiers = ["bold"]}
"ui.statusline.normal" = {fg = "my_gray7", bg = "my_gray2"}
"ui.statusline.select" = {fg = "my_gray7", bg = "my_black", modifiers = ["bold"]}
"ui.cursor" = { fg = "my_gray6", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "my_white", modifiers = ["reversed"] }
"ui.cursorline.primary" = { bg = "my_black" }
"ui.cursorline.secondary" = { bg = "my_black" }
Expand All @@ -44,9 +44,10 @@
"keyword" = "my_red"
"label" = "my_red"
"namespace" = "my_white3"
"ui.help" = { fg = "my_gray6", bg = "my_gray2" }
"ui.virtual.whitespace" = { fg = "my_gray5" }
"ui.help" = { fg = "my_gray7", bg = "my_gray2" }
"ui.virtual.whitespace" = { fg = "my_gray6" }
"ui.virtual.ruler" = { bg = "my_gray1" }
"ui.virtual.inlay-hint" = { fg = "my_gray4", modifiers = ["normal"] }
"ui.virtual.inlay-hint.parameter" = { fg = "my_gray4", modifiers = ["normal"] }
"ui.virtual.inlay-hint.type" = { fg = "my_gray4", modifiers = ["italic"] }

Expand All @@ -61,13 +62,13 @@
"markup.raw" = "my_green"

"diff.plus" = "my_green"
"diff.delta" = "my_gray4"
"diff.delta" = "my_gray5"
"diff.minus" = "my_red"

"diagnostic" = { modifiers = ["underlined"] }
"diagnostic.error" = { underline = { style = "curl", color = "my_red" } }
"ui.gutter" = { bg = "my_gray0" }
"hint" = "my_gray5"
"hint" = "my_gray6"
"debug" = "my_yellow2"
"info" = "my_yellow2"
"warning" = "my_yellow2"
Expand All @@ -78,11 +79,12 @@ my_black = "#212121" # Cursorline
my_gray0 = "#262626" # Default Background
my_gray1 = "#2b2b2b" # Ruler
my_gray2 = "#323232" # Lighter Background (Used for status bars, line number and folding marks)
my_gray3 = "#3d3d3d" # Selection Background
my_gray4 = "#7c7c7c" # Comments, Invisibles, Line Highlighting
my_gray5 = "#a8a8a8" # Dark Foreground (Used for status bars)
my_gray6 = "#c8c8c8" # Light Foreground (Not often used)
my_gray7 = "#e8e8e8" # Light Background (Not often used)
my_gray3 = "#404040" # Selection Background
my_gray4 = "#6a6a6a" # Inlay-hint
my_gray5 = "#848484" # Comments, Invisibles, Line Highlighting
my_gray6 = "#a8a8a8" # Dark Foreground (Used for status bars)
my_gray7 = "#c8c8c8" # Light Foreground
my_gray8 = "#e8e8e8" # Light Background
my_white = "#F3F2CC" # Default Foreground, Caret, Delimiters, Operators
my_white2 = "#F3F2CC" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
my_white3 = "#F3F2CC" # Classes, Markup Bold, Search Text Background
Expand Down
11 changes: 6 additions & 5 deletions runtime/themes/autumn_night.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ my_black = "#111111" # Cursorline
my_gray0 = "#090909" # Default Background
my_gray1 = "#0e0e0e" # Ruler
my_gray2 = "#1a1a1a" # Lighter Background (Used for status bars, line number and folding marks)
my_gray3 = "#323232" # Selection Background
my_gray4 = "#7c7c7c" # Comments, Invisibles, Line Highlighting
my_gray5 = "#aaaaaa" # Dark Foreground (Used for status bars)
my_gray6 = "#c4c4c4" # Light Foreground (Not often used)
my_gray7 = "#e8e8e8" # Light Background (Not often used)
my_gray3 = "#404040" # Selection Background
my_gray4 = "#626262" # Inlay-hint
my_gray5 = "#808080" # Comments, Invisibles, Line Highlighting
my_gray6 = "#aaaaaa" # Dark Foreground (Used for status bars)
my_gray7 = "#c4c4c4" # Light Foreground
my_gray8 = "#e8e8e8" # Light Background
my_white = "#F3F2CC" # Default Foreground, Caret, Delimiters, Operators
my_white2 = "#F3F2CC" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
my_white3 = "#F3F2CC" # Classes, Markup Bold, Search Text Background
Expand Down

0 comments on commit 3a4c359

Please sign in to comment.