From 7e4fde8b9c21e1ab70056eeda9b3e206e1067969 Mon Sep 17 00:00:00 2001 From: tjh Date: Fri, 12 Dec 2025 16:49:13 +0000 Subject: [PATCH] helix: update config --- .config/helix/config.toml | 2 +- .config/helix/themes/darkvoid.toml | 149 ++++++++++++++++++ .../gruvbox-material-dark-hard-alt.toml | 24 +++ .../themes/gruvbox-material-dark-medium.toml | 147 +++++++++++++++++ 4 files changed, 321 insertions(+), 1 deletion(-) create mode 100644 .config/helix/themes/darkvoid.toml create mode 100644 .config/helix/themes/gruvbox-material-dark-hard-alt.toml create mode 100644 .config/helix/themes/gruvbox-material-dark-medium.toml diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 9941162..77c3e35 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -1,4 +1,4 @@ -theme = "gruvbox-material-dark-hard" +theme = "darkvoid" [editor] true-color = true diff --git a/.config/helix/themes/darkvoid.toml b/.config/helix/themes/darkvoid.toml new file mode 100644 index 0000000..c785405 --- /dev/null +++ b/.config/helix/themes/darkvoid.toml @@ -0,0 +1,149 @@ +# Dark Void theme for Helix +# Author: zoedsoupe +# License: MIT +# Based on the Dark Void Neovim theme + +# UI +"ui.background" = { bg = "bg" } +"ui.background.separator" = { fg = "border" } +"ui.cursor" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.insert" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.select" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.match" = { fg = "search_highlight", modifiers = ["underlined"] } +"ui.cursor.primary" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.primary.normal" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.primary.insert" = { fg = "cursor", modifiers = ["reversed"] } +"ui.cursor.primary.select" = { fg = "cursor", modifiers = ["reversed"] } +"ui.debug.breakpoint" = { fg = "error" } +"ui.debug.active" = { fg = "cursor" } +"ui.gutter" = { bg = "bg" } +"ui.gutter.selected" = { bg = "bg", fg = "cursor" } +"ui.linenr" = { fg = "line_nr" } +"ui.linenr.selected" = { fg = "cursor", bg = "bg" } +"ui.statusline" = { fg = "fg", bg = "bg" } +"ui.statusline.inactive" = { fg = "comment", bg = "bg" } +"ui.statusline.normal" = { fg = "fg", bg = "bg" } +"ui.statusline.insert" = { fg = "bg", bg = "cursor" } +"ui.statusline.select" = { fg = "bg", bg = "search_highlight" } +"ui.popup" = { fg = "fg", bg = "pmenu_bg" } +"ui.window" = { fg = "border" } +"ui.help" = { fg = "fg", bg = "bg" } +"ui.text" = { fg = "fg" } +"ui.text.focus" = { fg = "cursor", bg = "bg", modifiers = ["bold"] } +"ui.text.inactive" = { fg = "comment" } +"ui.virtual.ruler" = { bg = "visual" } +"ui.virtual.whitespace" = { fg = "line_nr" } +"ui.virtual.indent-guide" = { fg = "line_nr" } +"ui.menu" = { fg = "pmenu_fg", bg = "pmenu_bg" } +"ui.menu.selected" = { fg = "bg", bg = "pmenu_sel_bg", modifiers = ["bold"] } +"ui.menu.scroll" = { fg = "pmenu_sel_bg", bg = "pmenu_bg" } +"ui.selection" = { bg = "visual" } +"ui.selection.primary" = { bg = "visual", modifiers = ["bold"] } +"ui.highlight" = { bg = "visual", fg = "fg" } +"ui.cursorline.primary" = { bg = "visual" } +"ui.cursorline.secondary" = { bg = "visual" } +"ui.cursorcolumn.primary" = { bg = "visual" } +"ui.cursorcolumn.secondary" = { bg = "visual" } + +# Syntax highlighting +"attribute" = "preprocessor" +"type" = "type" +"type.builtin" = { fg = "type", modifiers = ["bold"] } +"constructor" = "func" +"constant" = "constant" +"constant.builtin" = "bool" +"constant.builtin.boolean" = "bool" +"string" = "string" +"string.regexp" = { fg = "string", modifiers = ["bold"] } +"string.special" = { fg = "string", modifiers = ["bold"] } +"comment" = { fg = "comment", modifiers = ["italic"] } +"variable" = "identifier" +"variable.builtin" = { fg = "identifier", modifiers = ["bold"] } +"variable.parameter" = "identifier" +"variable.other.member" = "identifier" +"label" = "kw" +"punctuation" = "bracket" +"punctuation.delimiter" = "bracket" +"punctuation.bracket" = "bracket" +"punctuation.special" = { fg = "operator", modifiers = ["bold"] } +"keyword" = "kw" +"keyword.control" = { fg = "kw", modifiers = ["bold"] } +"keyword.control.conditional" = { fg = "kw", modifiers = ["bold"] } +"keyword.control.repeat" = { fg = "kw", modifiers = ["bold"] } +"keyword.control.import" = { fg = "kw", modifiers = ["bold"] } +"keyword.control.return" = { fg = "kw", modifiers = ["bold"] } +"keyword.control.exception" = { fg = "kw", modifiers = ["bold"] } +"keyword.operator" = "operator" +"keyword.function" = { fg = "kw", modifiers = ["bold"] } +"keyword.storage" = { fg = "kw", modifiers = ["bold"] } +"keyword.storage.type" = { fg = "kw", modifiers = ["bold"] } +"keyword.storage.modifier" = { fg = "kw", modifiers = ["bold"] } +"operator" = "operator" +"function" = "func" +"function.builtin" = { fg = "func", modifiers = ["bold"] } +"function.method" = "func" +"function.macro" = { fg = "func", modifiers = ["bold"] } +"tag" = "func" +"namespace" = { fg = "type", modifiers = ["italic"] } +"special" = { fg = "kw", modifiers = ["bold"] } + +# Markup +"markup.heading" = { fg = "kw", modifiers = ["bold"] } +"markup.list" = "kw" +"markup.bold" = { fg = "fg", modifiers = ["bold"] } +"markup.italic" = { fg = "fg", modifiers = ["italic"] } +"markup.link.url" = "string" +"markup.link.text" = "identifier" +"markup.quote" = { fg = "comment", modifiers = ["italic"] } +"markup.raw" = "string" + +# Diff +"diff.plus" = "added" +"diff.minus" = "removed" +"diff.delta" = "changed" + +# Diagnostics +"diagnostic" = { modifiers = ["underlined"] } +"diagnostic.hint" = { fg = "hint", modifiers = ["underlined"] } +"diagnostic.info" = { fg = "info", modifiers = ["underlined"] } +"diagnostic.warning" = { fg = "warning", modifiers = ["underlined"] } +"diagnostic.error" = { fg = "error", modifiers = ["underlined"] } + +# Elixir-specific (including atoms) +"constant.character.escape" = "string" +"constant.character" = "string" +"symbol" = { fg = "kw", modifiers = ["italic"] } # For Elixir atoms + +[palette] +fg = "#c0c0c0" +bg = "#1c1c1c" +cursor = "#bdfe58" +line_nr = "#404040" +visual = "#303030" +comment = "#585858" +string = "#d1d1d1" +func = "#e1e1e1" +kw = "#f1f1f1" +identifier = "#b1b1b1" +type = "#a1a1a1" +search_highlight = "#1bfd9c" +operator = "#1bfd9c" +bracket = "#e6e6e6" +preprocessor = "#4b8902" +bool = "#66b2b2" +constant = "#b2d8d8" +added = "#baffc9" +changed = "#ffffba" +removed = "#ffb3ba" +error = "#dea6a0" +warning = "#d6efd8" +hint = "#bedc74" +info = "#7fa1c3" +pmenu_bg = "#0c0c0c" +pmenu_sel_bg = "#1bfd9c" +pmenu_fg = "#c0c0c0" +eob = "#3c3c3c" +border = "#585858" +title = "#bdfe58" +bufferline_selection = "#1bfd9c" + diff --git a/.config/helix/themes/gruvbox-material-dark-hard-alt.toml b/.config/helix/themes/gruvbox-material-dark-hard-alt.toml new file mode 100644 index 0000000..5a422b4 --- /dev/null +++ b/.config/helix/themes/gruvbox-material-dark-hard-alt.toml @@ -0,0 +1,24 @@ +inherits = "gruvbox-material-dark-medium" + +[palette] + +# background dark hard + +"bg_dim" = "#141617" +"bg0" = "#1d2021" +"bg1" = "#282828" +"bg2" = "#282828" +"bg3" = "#3c3836" +"bg4" = "#3c3836" +"bg5" = "#504945" +"bg_statusline1" = "#282828" +"bg_statusline2" = "#32302f" +"bg_statusline3" = "#504945" +"bg_diff_green" = "#32361a" +"bg_visual_green" = "#333e34" +"bg_diff_red" = "#3c1f1e" +"bg_visual_red" = "#442e2d" +"bg_diff_blue" = "#0d3138" +"bg_visual_blue" = "#2e3b3b" +"bg_visual_yellow" = "#473c29" +"bg_current_word" = "#32302f" diff --git a/.config/helix/themes/gruvbox-material-dark-medium.toml b/.config/helix/themes/gruvbox-material-dark-medium.toml new file mode 100644 index 0000000..ce0de0f --- /dev/null +++ b/.config/helix/themes/gruvbox-material-dark-medium.toml @@ -0,0 +1,147 @@ +"attribute" = { fg = "purple", modifiers = ["italic"] } +"type" = "orange" +"type.builtin" = "yellow" +"constructor" = { fg = "green", modifiers = ["bold"] } +"constant" = "fg0" +"constant.builtin" = { fg = "purple", modifiers = ["italic"] } +"constant.builtin.boolean" = "purple" +"constant.character.escape" = "green" +"string" = "aqua" +"string.regexp" = "green" +"string.special" = "yellow" +"comment" = { fg = "grey1", modifiers = ["italic"] } +"variable" = "fg0" +"variable.builtin" = { fg = "purple", modifiers = ["italic"] } +"variable.other.member" = "blue" +"label" = "orange" +"punctuation" = "grey2" +"punctuation.special" = "blue" +"keyword" = { fg = "red", modifiers = ["italic"] } +"keyword.operator" = "orange" +"keyword.directive" = "purple" +"operator" = "orange" +"function" = { fg = "green", modifiers = ["bold"] } +"tag" = "orange" +"namespace" = { fg = "yellow", modifiers = ["italic"] } +"module" = "yellow" +"special" = "blue" + +"markup.heading.marker" = "grey1" +"markup.heading.1" = { fg = "red", modifiers = ["bold"] } +"markup.heading.2" = { fg = "orange", modifiers = ["bold"] } +"markup.heading.3" = { fg = "yellow", modifiers = ["bold"] } +"markup.heading.4" = { fg = "green", modifiers = ["bold"] } +"markup.heading.5" = { fg = "blue", modifiers = ["bold"] } +"markup.heading.6" = { fg = "purple", modifiers = ["bold"] } +"markup.list" = "red" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.link.url" = { fg = "blue", underline = { style = "line" } } +"markup.link.label" = "orange" +"markup.link.text" = "purple" +"markup.quote" = "grey1" +"markup.raw.inline" = "green" +"markup.raw.block" = "aqua" + +"diff.plus" = "green" +"diff.delta" = "blue" +"diff.minus" = "red" + +"ui.background" = { fg = "grey1", bg = "bg0" } +"ui.background.separator" = "grey0" +"ui.cursor" = { fg = "bg1", bg = "grey0" } +"ui.cursor.primary" = { fg = "bg0", bg = "fg0" } +"ui.cursor.primary.insert" = { fg = "bg0", bg = "green" } +"ui.cursor.primary.select" = { fg = "bg0", bg = "red" } +"ui.cursor.match" = { fg = "fg0", bg = "bg5" } +"ui.gutter" = { bg = "bg0" } +"ui.gutter.selected" = { bg = "bg1" } +"ui.linenr" = "bg5" +"ui.linenr.selected" = { fg = "grey1", bg = "bg1" } +"ui.statusline" = { fg = "fg1", bg = "bg_statusline1" } +"ui.statusline.inactive" = { fg = "grey1", bg = "bg_statusline1" } +"ui.statusline.normal" = { fg = "bg0", bg = "grey2", modifiers = [ + "bold", +] } +"ui.statusline.insert" = { fg = "bg0", bg = "bg_green", modifiers = [ + "bold", +] } +"ui.statusline.select" = { fg = "bg0", bg = "bg_red", modifiers = ["bold"] } +"ui.popup" = { fg = "fg1", bg = "bg3" } +"ui.window" = "grey0" +"ui.help" = { fg = "fg1", bg = "bg3" } +"ui.text" = "fg0" +"ui.text.focus" = { fg = "green", modifiers = ["bold"] } +"ui.text.inactive" = "bg4" +"ui.virtual.ruler" = { bg = "bg1" } +"ui.virtual.whitespace" = { fg = "bg4" } +"ui.virtual.indent-guide" = { fg = "bg4" } +"ui.virtual.inlay-hint" = { fg = "grey0" } +"ui.virtual.wrap" = { fg = "grey0" } +"ui.menu" = { fg = "fg1", bg = "bg3" } +"ui.menu.selected" = { fg = "bg3", bg = "bg_green" } +"ui.selection" = { bg = "bg3" } +"ui.selection.primary" = { bg = "bg_visual_green" } +"ui.highlight" = { bg = "bg_diff_green" } +"ui.cursorline.primary" = { bg = "bg1" } +"ui.cursorline.secondary" = { bg = "bg1" } +"ui.bufferline" = { fg = "fg1", bg = "bg_statusline3" } +"ui.bufferline.active" = { fg = "bg0", bg = "grey2", modifiers = [ + "bold", +] } +"ui.bufferline.background" = { bg = "bg_statusline1" } + +"warning" = "yellow" +"error" = "red" +"info" = "blue" +"hint" = "green" + +"diagnostic.hint" = { underline = { color = "green", style = "curl" } } +"diagnostic.info" = { underline = { color = "blue", style = "curl" } } +"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } +"diagnostic.error" = { underline = { color = "red", style = "curl" } } + +[palette] + +# background dark medium + +"bg_dim" = "#1b1b1b" +"bg0" = "#282828" +"bg1" = "#32302f" +"bg2" = "#32302f" +"bg3" = "#45403d" +"bg4" = "#45403d" +"bg5" = "#5a524c" +"bg_statusline1" = "#32302f" +"bg_statusline2" = "#3a3735" +"bg_statusline3" = "#504945" +"bg_diff_green" = "#34381b" +"bg_visual_green" = "#3b4439" +"bg_diff_red" = "#402120" +"bg_visual_red" = "#4c3432" +"bg_diff_blue" = "#0e363e" +"bg_visual_blue" = "#374141" +"bg_visual_yellow" = "#4f422e" +"bg_current_word" = "#3c3836" + +# foreground dark material + +"fg0" = "#d4be98" +"fg1" = "#ddc7a1" +"red" = "#ea6962" +"orange" = "#e78a4e" +"yellow" = "#d8a657" +"green" = "#a9b665" +"aqua" = "#89b482" +"blue" = "#7daea3" +"purple" = "#d3869b" +"bg_red" = "#ea6962" +"bg_green" = "#a9b665" +"bg_yellow" = "#d8a657" + +# foreground dark + +"grey0" = "#7c6f64" +"grey1" = "#928374" +"grey2" = "#a89984" -- 2.51.2