From e5214f397e192e28b2aeb57d8924678df051b414 Mon Sep 17 00:00:00 2001 From: GreasySlug <9619abgoni@gmail.com> Date: Wed, 3 Aug 2022 10:24:32 +0900 Subject: [PATCH 1/4] Add dark high contrast theme --- runtime/themes/dark_high_contrast.toml | 105 +++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 runtime/themes/dark_high_contrast.toml diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml new file mode 100644 index 000000000000..8836da8a5820 --- /dev/null +++ b/runtime/themes/dark_high_contrast.toml @@ -0,0 +1,105 @@ + + +# Interface +"ui.background" = { bg = "black" } +"ui.window" = { fg = "aqua" } +"special" = "orange" # file picker fizzy match +"ui.background.separator" = { fg = "white" } +"ui.text" = "white" +"ui.text.focus" = { modifiers = ["reversed"] } # file picker selected + +"ui.virtual.whitespace" = "gray" +"ui.virtual.ruler" = { fg = "gray", bg = "white", modifiers = ["reversed"] } +"ui.virtual.indent-guide" = "white" + +"ui.statusline" = { fg = "white", bg = "deep_blue" } +"ui.statusline.inactive" = { fg = "gray" } +"ui.statusline.normal" = { fg = "black", bg = "aqua" } +"ui.statusline.insert" = { fg = "black", bg = "orange" } +"ui.statusline.select" = { fg = "black", bg = "purple" } +# "ui.statusline.separator" = { fg = "aqua", bg = "white" } + +"ui.cursor" = { fg = "black", bg = "white" } +"ui.cursor.insert" = { fg = "black", bg = "white" } +"ui.cursor.select" = { fg = "black", bg = "white" } +"ui.cursor.match" = { bg = "white", modifiers = ["dim"] } +"ui.cursor.primary" = { fg = "black", bg = "white", modifiers = ["slow_blink"] } + +"ui.cursor.secondary" = "white" +"ui.cursorline.primary" = { fg = "orange", modifiers = ["underlined"] } +"ui.cursorline.secondary" = { fg = "orange", modifiers = ["underlined"] } +"ui.selection" = { fg = "deep_blue", bg = "white" } + +"ui.menu" = { fg = "white", bg = "deep_blue" } +"ui.menu.selected" = { fg = "orange", modifiers = ["underlined"] } +"ui.menu.scroll" = { fg = "aqua", bg = "black" } +"ui.help" = { fg = "white", bg = "deep_blue" } + +"ui.popup" = { bg = "deep_blue" } +"ui.popup.info" = { fg = "white", bg = "deep_blue" } + +"ui.gutter" = { bg = "black" } +"ui.linenr" = { fg = "white", bg = "black" } +"ui.linenr.selected" = { fg = "orange", bg = "black", modifiers = ["bold"] } + +# Diagnostic +"diagnostic" = "white" +"diagnostic.info" = { bg = "white", modifiers = ["underlined"] } +"diagnostic.hint" = { fg = "yellow", modifiers = ["underlined"] } +"diagnostic.warning" = { fg = "orange", modifiers = ["underlined"] } +"diagnostic.error" = { fg = "red", modifiers = ["underlined"] } +"info" = "white" +"hint" = "yellow" +"warning" = "orange" +"error" = "red" +"debug" = "red" + +"diff.plus" = "green" +"diff.delta" ="blue" +"diff.minus" = "pink" + +# Syntax high light +"type" = { fg = "emerald_green" } +"type.buildin" = "emerald_green" +"comment" = { fg = "gray", modifiers = ["italic"] } +"operator" = "white" +"variable" = { fg = "aqua" } +"variable.other.member" = "brown" +"constant" = "aqua" +"constant.numeric" = "emerald_green" +"attributes" = { fg = "blue" } +"namespace" = "blue" +"string" = "brown" +"string.special.url" = { fg = "brown", modifiers =["underlined"]} +"constant.character.escape" = "yellow" +"constructor" = "aqua" +"keyword" = { fg = "blue", modifiers = ["underlined"] } +"keyword.control" = "purple" +"function" = "yellow" +"label" = "blue" + +# Markup +"markup.heading" = { fg = "yellow", modifiers = ["bold", "underlined"] } +"markup.list" = { fg = "pink" } +"markup.bold" = { fg = "emerald_green", modifiers = ["bold"] } +"markup.italic" = { fg = "blue", modifiers = ["italic"] } +"markup.link.url" = { fg = "blue", modifiers = ["underlined"] } +"markup.link.text" = "pink" +"markup.quote" = "yellow" +"markup.raw" = "brown" + +[palette] +black = "#000000" +gray = "#585858" +white = "#ffffff" +blue = "#66a4ff" +deep_blue = "#142743" +aqua = "#6fc3df" +purple = "#c586c0" +red = "#b65f5f" +pink = "#ff5c8d" +orange = "#f38518" +brown = "#ce9178" +yellow = "#cedc84" +green = "#427a2d" +emerald_green = "#4ec9b0" From a5dddaf0ac19b3040e0b3f13881686b9187fda66 Mon Sep 17 00:00:00 2001 From: GreasySlug <9619abgoni@gmail.com> Date: Wed, 3 Aug 2022 10:40:18 +0900 Subject: [PATCH 2/4] Add my sign --- runtime/themes/dark_high_contrast.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml index 8836da8a5820..ae64d85e355d 100644 --- a/runtime/themes/dark_high_contrast.toml +++ b/runtime/themes/dark_high_contrast.toml @@ -1,4 +1,4 @@ - +# GreasySlug : dark high contrast <9619abgoni@gmail.com> # Interface "ui.background" = { bg = "black" } From efc6ae10fb145cddbedbcb8fb62b73aaebbb1608 Mon Sep 17 00:00:00 2001 From: GreasySlug <9619abgoni@gmail.com> Date: Fri, 5 Aug 2022 23:17:17 +0900 Subject: [PATCH 3/4] Fix typo --- runtime/themes/dark_high_contrast.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml index ae64d85e355d..28c4cd685ecf 100644 --- a/runtime/themes/dark_high_contrast.toml +++ b/runtime/themes/dark_high_contrast.toml @@ -3,7 +3,7 @@ # Interface "ui.background" = { bg = "black" } "ui.window" = { fg = "aqua" } -"special" = "orange" # file picker fizzy match +"special" = "orange" # file picker fuzzy match "ui.background.separator" = { fg = "white" } "ui.text" = "white" "ui.text.focus" = { modifiers = ["reversed"] } # file picker selected From 687123184b847d19c38f6d48d1e5c3cdcae3cce8 Mon Sep 17 00:00:00 2001 From: GreasySlug <9619abgoni@gmail.com> Date: Fri, 5 Aug 2022 23:22:22 +0900 Subject: [PATCH 4/4] Change gray to white for comment and remove Italic --- runtime/themes/dark_high_contrast.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml index 28c4cd685ecf..c65750f4ee01 100644 --- a/runtime/themes/dark_high_contrast.toml +++ b/runtime/themes/dark_high_contrast.toml @@ -61,7 +61,7 @@ # Syntax high light "type" = { fg = "emerald_green" } "type.buildin" = "emerald_green" -"comment" = { fg = "gray", modifiers = ["italic"] } +"comment" = { fg = "white" } "operator" = "white" "variable" = { fg = "aqua" } "variable.other.member" = "brown"