From 44d7b817a4ecb4b808c816ead2b0018deadbb996 Mon Sep 17 00:00:00 2001 From: Mehedi Rifat <78611383+rifoxide@users.noreply.github.com> Date: Fri, 27 Oct 2023 05:40:33 +0600 Subject: [PATCH] Theme: Add gruber-darker theme (#8598) --- runtime/themes/gruber-darker.toml | 114 ++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 runtime/themes/gruber-darker.toml diff --git a/runtime/themes/gruber-darker.toml b/runtime/themes/gruber-darker.toml new file mode 100644 index 000000000000..355a3be83e8b --- /dev/null +++ b/runtime/themes/gruber-darker.toml @@ -0,0 +1,114 @@ +# Author : Mehedi Hasan +# Based on : https://github.com/rexim/gruber-darker-theme + +"attribute" = "fg0" +"keyword" = { fg = "yellow0", modifiers = ["bold"] } +"keyword.directive" = "quartz" +"namespace" = "quartz" +"punctuation" = "fg0" +"punctuation.delimiter" = "fg0" +"operator" = "fg0" +"special" = { fg = "yellow0", modifiers = ["bold"] } +"variable" = "fg0" +"variable.builtin" = { fg = "yellow0", modifiers = ["bold"] } +"variable.parameter" = "fg0" +"type" = "quartz" +"type.builtin" = "yellow0" +"constructor" = { fg = "quartz" } +"function" = "niagara0" +"function.builtin" = "yellow0" +"tag" = "niagara0" +"comment" = { fg = "brown0" } +"constant.character" = { fg = "green0" } +"constant.character.escape" = { fg = "yellow0" } +"constant.builtin" = { fg = "yellow0", modifiers = ["bold"] } +"string" = "green0" +"constant.numeric" = "wisteria" +"label" = "fg0" +"module" = "aqua1" + +"diff.plus" = "green1" +"diff.delta" = "orange1" +"diff.minus" = "red0" + +"warning" = { fg = "orange1", modifiers = ["bold"] } +"error" = { fg = "red0", modifiers = ["bold"] } +"info" = { fg = "aqua1", modifiers = ["bold"] } +"hint" = { fg = "blue0", modifiers = ["bold"] } + +"ui.background" = { bg = "bg0" } +"ui.linenr" = { fg = "bg4" } +"ui.linenr.selected" = { fg = "yellow0" } +"ui.cursorline" = { bg = "bg1" } + +"ui.statusline" = { fg = "fg0", bg = "bg1" } +"ui.statusline.normal" = { fg = "bg1", bg = "yellow0", modifiers = ["bold"] } +"ui.statusline.insert" = { fg = "bg1", bg = "blue0", modifiers = ["bold"] } +"ui.statusline.select" = { fg = "bg1", bg = "wisteria", modifiers = ["bold"] } +"ui.statusline.inactive" = { fg = "fg3", bg = "bg1" } + +"ui.bufferline" = { fg = "fg3", bg = "bg6" } +"ui.bufferline.active" = { fg = "fg0", bg = "bg7" } + +"ui.popup" = { bg = "bg6" } +"ui.window" = { fg = "bg1" } +"ui.help" = { bg = "bg1", fg = "fg0" } +"ui.text" = { fg = "fg0" } +"ui.text.focus" = { bg = "bg5", modifiers = ["bold"] } +"ui.selection" = { bg = "bg2" } +"ui.selection.primary" = { bg = "bg5" } +"ui.cursor.primary" = { bg = "fg0", fg = "niagara1" } +"ui.cursor.match" = { bg = "yellow1" } +"ui.menu" = { fg = "fg0", bg = "bg6" } +"ui.menu.selected" = { fg = "fg0", bg = "bg5", modifiers = ["bold"] } + +"ui.virtual.whitespace" = "bg8" +"ui.virtual.indent-guide" = "bg8" +"ui.virtual.ruler" = { bg = "bg1" } +"ui.virtual.inlay-hint" = { fg = "bg7" } +"ui.virtual.wrap" = { fg = "bg2" } + +"diagnostic.warning" = { underline = { color = "orange1", style = "dashed" } } +"diagnostic.error" = { underline = { color = "red3", style = "dashed" } } +"diagnostic.info" = { underline = { color = "aqua1", style = "dashed" } } +"diagnostic.hint" = { underline = { color = "blue0", style = "dashed" } } + +"markup.heading" = { fg = "aqua1", modifiers = ["bold"] } +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.link.url" = { fg = "green1", modifiers = ["underlined"] } +"markup.link.text" = "red3" +"markup.raw" = { fg = "fg0", bg = "bg8", modifiers = ["bold"] } + +[palette] +fg0 = "#e4e4ef" +fg1 = "#f4f4ff" +fg2 = "#f5f5f5" +fg3 = "#a89984" +bg0 = "#181818" +bg1 = "#282828" +bg2 = "#453d41" +bg4 = "#52494e" +bg5 = "#404040" +bg6 = "#232323" +bg7 = "#3f3f3f" +bg8 = "#2c2c2c" +red0 = "#f43841" +red1 = "#ff4f58" +red2 = "#2B0A0B" +red3 = "#fb4934" +green0 = "#73c936" +green1 = "#b8bb26" +yellow0 = "#ffdd33" +yellow1 = "#655814" +blue0 = "#5292c8" +orange0 = "#d65d0e" +orange1 = "#fe8019" +brown0 = "#cc8c3c" +quartz = "#95a99f" +niagara0 = "#96a6c8" +niagara1 = "#303540" +wisteria = "#9e95c7" +aqua1 = "#8ec07c" +