From 519857d6323d272106e0b48f9a9a23ce066f53f9 Mon Sep 17 00:00:00 2001 From: Slug <106496265+GreasySlug@users.noreply.github.com> Date: Mon, 3 Oct 2022 23:45:56 +0900 Subject: [PATCH] Add dark high contrast theme refer to vscode (#3312) * Add dark high contrast theme * Add my sign * Fix typo * Change gray to white for comment and remove Italic --- 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 00000000..c65750f4 --- /dev/null +++ b/runtime/themes/dark_high_contrast.toml @@ -0,0 +1,105 @@ +# GreasySlug : dark high contrast <9619abgoni@gmail.com> + +# Interface +"ui.background" = { bg = "black" } +"ui.window" = { fg = "aqua" } +"special" = "orange" # file picker fuzzy 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 = "white" } +"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"