From 3a4c3598d1a7071b2b0fe9a1bc13e5800aa11be1 Mon Sep 17 00:00:00 2001 From: Jens Getreu Date: Tue, 14 Mar 2023 15:51:47 +0200 Subject: [PATCH] Autumn theme: add gray tone for inlay-hint (#6316) Co-authored-by: Jens Getreu --- runtime/themes/autumn.toml | 38 +++++++++++++++++--------------- runtime/themes/autumn_night.toml | 11 ++++----- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/runtime/themes/autumn.toml b/runtime/themes/autumn.toml index 1ecd8a2dd..1430e0a8e 100644 --- a/runtime/themes/autumn.toml +++ b/runtime/themes/autumn.toml @@ -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" } @@ -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"] } @@ -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" @@ -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 diff --git a/runtime/themes/autumn_night.toml b/runtime/themes/autumn_night.toml index c26cc777e..70045f42d 100644 --- a/runtime/themes/autumn_night.toml +++ b/runtime/themes/autumn_night.toml @@ -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