From 19384cc3a18ad56e3f06ecc43cf91c1641f36f90 Mon Sep 17 00:00:00 2001 From: Nick Ogden Date: Fri, 16 Sep 2022 17:21:56 +0100 Subject: [PATCH] Add darcula theme based upon Intelij Darcula (#3739) --- runtime/themes/darcula.toml | 91 +++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 runtime/themes/darcula.toml diff --git a/runtime/themes/darcula.toml b/runtime/themes/darcula.toml new file mode 100644 index 00000000..00176ff2 --- /dev/null +++ b/runtime/themes/darcula.toml @@ -0,0 +1,91 @@ +# Author : Nick Ogden + +"ui.background" = { bg = "grey01" } +"ui.menu" = { fg = "grey05", bg = "grey00" } +"ui.menu.selected" = { fg = "grey01", bg = "grey04" } +"ui.linenr" = { fg = "grey03", bg = "grey01" } +"ui.linenr.selected" = { fg = "grey04", bg = "grey01", modifiers = ["bold"] } +"ui.gutter" = { bg = "grey01" } +"ui.popup" = { fg = "grey05", bg = "grey00" } +"ui.window" = { bg = "grey01" } +"ui.selection" = { bg = "grey03" } +"ui.statusline" = { fg = "grey04", bg = "grey02" } +"ui.statusline.insert" = { bg = "white", fg = "grey01" } +"ui.statusline.select" = { bg = "orange", fg = "grey01" } +"ui.help" = { fg = "grey04", bg = "grey01" } +"ui.cursor" = { fg = "grey04", modifiers = ["reversed"] } +"ui.cursor.primary" = { fg = "grey05", modifiers = ["reversed"] } +"ui.cursor.match" = { fg = "white", modifiers = ["underlined"] } +"ui.cursorline.primary" = { bg = "grey02" } +"ui.cursorline.secondary" = { bg = "grey02" } +"ui.text" = "white" +"ui.text.focus" = "grey05" +"ui.virtual.ruler" = { bg = "grey02" } +"ui.virtual.indent-guide" = "grey02" +"ui.virtual.whitespace" = "grey03" + +"operator" = "grey05" +"variable" = "white" +"variable.other.member" = "yellow" +"constant" = "lightblue" +"constant.numeric" = "lightblue" +"constant.character.escape" = "white" +"attribute" = "yellow" +"type" = "orange" +"string" = "darkgreen" +"function" = "yellow" +"function.macro" = "green" +"constructor" = "yellow" +"special" = "green" +"keyword" = "orange" +"comment" = { fg = "grey", modifiers = ["italic"] } +"label" = "purple" +"namespace" = { fg = "purple", modifiers = ["italic"] } + +# HTML +"tag" = "orange" + +"markup.heading.1" = "orange" +"markup.heading.2" = "yellow" +"markup.heading.3" = "darkred" +"markup.heading.4" = "grey" +"markup.heading.5" = "purple" +"markup.heading.6" = "darkgreen" +"markup.list" = "white" +"markup.bold" = { fg = "white", modifiers = ["bold"] } +"markup.italic" = { fg = "white", modifiers = ["italic"] } +"markup.link.url" = { fg = "lightblue", modifiers = ["underlined"] } +"markup.link.text" = "white" +"markup.quote" = "darkgreen" +"markup.raw" = "white" + +"diff.plus" = "green" +"diff.delta" = "grey" +"diff.minus" = "red" + +"diagnostic" = { modifiers = ["underlined"] } +"info" = "grey05" +"hint" = "grey05" +"debug" = "grey05" +"warning" = "orange" +"error" = "red" + +[palette] +grey00 = "#181818" # Default Background +grey01 = "#282828" # Lighter Background (Used for status bars, line number and folding marks) +grey02 = "#383838" # Selection Background +grey03 = "#585858" # Comments, Invisibles, Line Highlighting +grey04 = "#b8b8b8" # Dark Foreground (Used for status bars) +grey05 = "#d8d8d8" # Default Foreground, Caret, Delimiters, Operators +grey06 = "#e8e8e8" # Light Foreground (Not often used) +grey07 = "#f8f8f8" # Light Background (Not often used) + +white = "#d0d0d0" +yellow = "#eedd82" +orange = "#cc7832" +darkred = "#a34a27" +purple = "#9876aa" +green = "#32cd32" +grey = "#808080" +darkgreen = "#629755" +lightblue = "#6897bb"