From c6228825fdde327af45be122e136b0a2749658e5 Mon Sep 17 00:00:00 2001 From: Gagan Janjua Date: Wed, 3 May 2023 11:22:54 -0400 Subject: [PATCH] Add Amberwood theme (#6924) --- runtime/themes/amberwood.toml | 138 ++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 runtime/themes/amberwood.toml diff --git a/runtime/themes/amberwood.toml b/runtime/themes/amberwood.toml new file mode 100644 index 00000000..142ded36 --- /dev/null +++ b/runtime/themes/amberwood.toml @@ -0,0 +1,138 @@ + +"attribute" = { fg = "blue", modifiers = ["italic"] } +"ui.virtual.wrap"="softwrap" +"keyword" = "keyword" +"keyword.control.conditional" = { fg = "conditional", modifiers = ["italic"] } +"keyword.directive" = "magenta" # -- preprocessor comments (#if in C) + +"namespace" = { fg = "namespace", modifiers = ["italic"] } + +"punctuation" = "gray06" +"punctuation.delimiter" = "gray06" + +"operator" = "operator" +"special" = "yellow" + +"variable" = {fg="fg"} +"variable.builtin" = "bright_blue" +"variable.parameter" = {fg="white", modifiers=["italic"]} +"variable.other.member" = "white" + +"type" = "bright_blue" +"type.builtin" = "magenta" +"type.enum.variant" = "magenta" + +"constructor" = "yellow" + +"function" = {fg="function", modifiers=["italic"]} +"function.macro" = "bright_cyan" +"function.builtin" = "support_function" + +"tag" = "tag" +"comment" = { fg = "comment", modifiers = ["italic"] } + +"string" = "string" +"string.regexp" = "green" +"string.special" = "yellow" + +"constant" = "constant" +"constant.builtin" = "yellow" +"constant.numeric" = "numeric" +"constant.character.escape" = "cyan" + +# used for lifetimes +"label" = "yellow" + +"markup.heading.marker" = { fg = "gray06" } +"markup.heading" = { fg = "bright_blue", modifiers = ["bold"] } +"markup.list" = "gray06" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { fg = "green", modifiers = ["underlined"] } +"markup.link.text" = { fg = "blue", modifiers = ["italic"] } +"markup.raw" = "yellow" + +"diff.plus" = "bright_green" +"diff.minus" = "red" +"diff.delta" = "bright_blue" + +"ui.background" = { bg = "bg" } +"ui.background.separator" = { fg = "fg" } + +"ui.linenr" = { fg = "gray04" } +"ui.linenr.selected" = { fg = "fg" } + +"ui.statusline" = { fg = "status_line_fg", bg = "gray01" } +"ui.statusline.inactive" = { fg = "fg", bg = "gray01", modifiers = ["dim"] } +"ui.statusline.normal" = { fg = "bg", bg = "cyan", modifiers = ["bold"] } +"ui.statusline.insert" = { fg = "bg", bg = "blue", modifiers = ["bold"] } +"ui.statusline.select" = { fg = "bg", bg = "magenta", modifiers = ["bold"] } + +"ui.popup" = { bg = "gray01" } +"ui.window" = { fg = "gray02" } +"ui.help" = { bg = "gray01", fg = "white" } + +"ui.text" = { fg = "fg" } +"ui.text.focus" = { fg = "fg" } + +"ui.virtual" = { fg = "gray02" } +"ui.virtual.ruler" = {bg="gray02"} +"ui.virtual.indent-guide" = { fg = "gray02" } +"ui.virtual.inlay-hint" = { fg = "gray03" } + + +"ui.selection" = { bg = "gray03" } +"ui.selection.primary" = { bg = "gray03" } + +"ui.cursor" = {fg="bg", bg = "cursor" } +"ui.cursor.match" = { fg = "yellow", modifiers = ["bold", "underlined"] } +"ui.cursorline.primary" = { bg = "gray01" } + +"ui.highlight" = { bg = "gray02" } + +"ui.menu" = { fg = "white", bg = "gray01" } +"ui.menu.selected" = { fg = "bright_white", bg = "gray03" } +"ui.menu.scroll" = { fg = "gray04", bg = "gray01" } + +diagnostic = { modifiers = ["underlined"] } + +warning = "yellow" +error = "error" +info = "bright_blue" +hint = "bright_cyan" + +[palette] +error="#fca5a5" +bg = "#0F1014" +fg = "#c9c7cd" +green = "#90b99f" +bright_green = "#9dc6ac" +yellow = "#e5c890" +blue = "#aca1cf" +bright_blue = "#b9aeda" +magenta = "#e29eca" +cyan = "#ea83a5" +bright_cyan = "#f591b2" +white = "#c1c0d4" +bright_white = "#cac9dd" +gray01 = "#1b1b1d" +gray02 = "#2a2a2d" +gray03 = "#3e3e43" +gray04 = "#57575f" +gray06 = "#9998a8" +gray07 = "#c1c0d4" +comment="#808080" +red="#e78284" +function="#e5c890" +support_function="#9898a6" +constant="#8eb6f5" +string="#9898a6" +tag="#9898a6" +keyword="#8eb6f5" +namespace= "#c58fff" +numeric= "#e9c46a" +status_line_fg = "#e5c890" +operator="#8eb6f5" +softwrap="#808080" +conditional="#a8a29e" +cursor="#e5c890"