From d1c6f319c5a3f0dba392edf9fb41eba5f2be5538 Mon Sep 17 00:00:00 2001 From: atagen Date: Sun, 18 Jun 2023 00:12:59 +1000 Subject: [PATCH] helix theme tweaks --- home/home.nix | 154 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 117 insertions(+), 37 deletions(-) diff --git a/home/home.nix b/home/home.nix index 8fc80dc..8b58602 100644 --- a/home/home.nix +++ b/home/home.nix @@ -344,45 +344,125 @@ in { enable = true; themes = with palette-hex; { nix-rice = { - "ui.background" = { bg = util.bg; }; - "ui.menu" = { fg = bright.cyan; bg = normal.black; }; - "ui.menu.selected" = { modifiers = [ "reversed" ]; }; - "ui.linenr" = { fg = bright.cyan; bg = normal.black; }; - "ui.popup" = { bg = bright.black; }; - "ui.linenr.selected" = { fg = normal.yellow; bg = normal.black; modifiers = [ "bold" ]; }; - "ui.selection" = { fg = bright.yellow; bg = normal.blue; }; - "ui.selection.primary" = { modifiers = [ "reversed" ]; }; - "comment" = { fg = bright.magenta; modifiers = [ "italics" ]; }; - "ui.statusline" = { fg = bright.cyan; bg = normal.black; }; - "ui.statusline.inactive" = { modifiers = [ "reversed" ]; }; - "ui.help" = { fg = normal.white; bg = bright.black; }; - "ui.cursor" = { modifiers = [ "reversed" ]; }; - "variable" = normal.green; - "variable.builtin" = normal.green; - "constant.numeric" = normal.blue; - "constant" = normal.cyan; - "attributes" = normal.yellow; + + "attribute" = bright.cyan; + "keyword" = { fg = bright.red; }; + "keyword.directive" = normal.red; + "namespace" = bright.cyan; + "punctuation" = bright.yellow; + "punctuation.delimiter" = bright.yellow; + "operator" = bright.magenta; + "special" = normal.magenta; + "variable.other.member" = bright.blue; + "variable" = util.fg; + "variable.builtin" = bright.yellow; + "variable.parameter" = bright.white; "type" = normal.yellow; - "ui.cursor.match" = { fg = normal.yellow; modifiers = [ "underlined" ]; }; + "type.builtin" = normal.yellow; + "constructor" = { fg = bright.magenta; modifiers = ["bold"]; }; + "function" = { fg = normal.green; modifiers = ["bold"]; }; + "function.macro" = bright.cyan; + "function.builtin" = normal.yellow; + "tag" = bright.red; + "comment" = { fg = normal.magenta; modifiers = ["italic"]; }; + "constant" = { fg = bright.magenta; }; + "constant.builtin" = { fg = bright.magenta; modifiers = ["bold"]; }; "string" = normal.green; - "variable.other.member" = normal.red; - "constant.character.escape" = normal.cyan; - "function" = bright.blue; - "constructor" = normal.blue; - "special" = normal.blue; - "keyword" = normal.magenta; - "label" = normal.magenta; - "namespace" = normal.blue; - "diff.plus" = normal.green; - "diff.delta" = normal.yellow; - "diff.minus" = normal.red; - "diagnostic" = { modifiers = [ "underlined" ]; }; - "ui.gutter" = { bg = normal.black; }; - "info" = normal.blue; - "hint" = normal.magenta; - "debug" = normal.magenta; - "warning" = normal.yellow; - "error" = normal.red; + "constant.numeric" = bright.magenta; + "constant.character.escape" = { fg = bright.white; modifiers = ["bold"]; }; + "label" = bright.cyan; + "module" = bright.cyan; + + "diff.plus" = bright.green; + "diff.delta" = bright.yellow; + "diff.minus" = bright.red; + + "warning" = bright.yellow; + "error" = bright.red; + "info" = bright.cyan; + "hint" = bright.blue; + + "ui.background" = { bg = util.bg; }; + "ui.linenr" = { fg = normal.cyan; }; + "ui.linenr.selected" = { fg = normal.yellow; modifiers = ["bold"]; }; + "ui.cursorline" = { bg = normal.black; }; + "ui.statusline" = { fg = util.fg; bg = bright.black; }; + "ui.statusline.normal" = { fg = util.fg; bg = bright.black; }; + "ui.statusline.insert" = { fg = util.fg; bg = normal.blue; }; + "ui.statusline.select" = { fg = util.fg; bg = bright.yellow; }; + "ui.statusline.inactive" = { fg = normal.white; bg = normal.black; }; + "ui.popup" = { bg = normal.black; }; + "ui.window" = { bg = normal.black; }; + "ui.help" = { bg = normal.black; fg = util.fg; }; + "ui.text" = { fg = util.fg; }; + "ui.text.focus" = { fg = util.fg; }; + "ui.selection" = { modifiers = ["reversed"]; bg = bright.yellow; }; + "ui.selection.primary" = { modifiers = ["reversed"]; }; + # "ui.selection.primary" = { bg = bright.cyan; }; + "ui.cursor.primary" = { bg = normal.white; fg = normal.black; }; + "ui.cursor.match" = { bg = bright.cyan; }; + "ui.menu" = { fg = util.fg; bg = bright.black; }; + "ui.menu.selected" = { fg = bright.black; bg = bright.blue; modifiers = ["bold"]; }; + "ui.virtual.whitespace" = bright.black; + "ui.virtual.ruler" = { bg = normal.black; }; + "ui.virtual.inlay-hint" = { fg = normal.magenta; }; + + "diagnostic.warning" = { underline = { color = bright.yellow; style = "curl"; }; }; + "diagnostic.error" = { underline = { color = bright.red; style = "curl"; }; }; + "diagnostic.info" = { underline = { color = bright.cyan; style = "curl"; }; }; + "diagnostic.hint" = { underline = { color = bright.blue; style = "curl"; }; }; + + "markup.heading" = bright.cyan; + "markup.bold" = { modifiers = ["bold"]; }; + "markup.italic" = { modifiers = ["italic"]; }; + "markup.strikethrough" = { modifiers = ["crossed_out"]; }; + "markup.link.url" = { fg = bright.green; modifiers = ["underlined"]; }; + "markup.link.text" = bright.red; + "markup.raw" = bright.red; + + + # old theme + + # "ui.background" = { bg = util.bg; }; + # "ui.menu" = { fg = bright.cyan; bg = normal.black; }; + # "ui.menu.selected" = { modifiers = [ "reversed" ]; }; + # "ui.linenr" = { fg = bright.cyan; bg = normal.black; }; + # "ui.popup" = { bg = bright.black; }; + # "ui.linenr.selected" = { fg = normal.yellow; bg = normal.black; modifiers = [ "bold" ]; }; + # "ui.selection" = { fg = bright.yellow; bg = normal.blue; }; + # "ui.selection.primary" = { modifiers = [ "reversed" ]; }; + # "comment" = { fg = bright.magenta; modifiers = [ "italics" ]; }; + # "ui.statusline" = { fg = bright.cyan; bg = normal.black; }; + # "ui.statusline.inactive" = { modifiers = [ "reversed" ]; }; + # "ui.help" = { fg = normal.white; bg = bright.black; }; + # # "ui.cursor" = { modifiers = [ "reversed" ]; }; + # "variable" = normal.green; + # "variable.builtin" = normal.green; + # "constant.numeric" = normal.blue; + # "constant" = normal.cyan; + # "constant" = { fg = normal.cyan; modifiers = ["bold"]; }; + # "attributes" = normal.yellow; + # "type" = normal.yellow; + # "ui.cursor.match" = { fg = normal.yellow; modifiers = [ "underlined" ]; }; + # "string" = normal.green; + # "variable.other.member" = normal.red; + # "constant.character.escape" = { fg = normal.cyan; modifiers = ["bold"]; }; + # "function" = { bright.blue; modifiers = ["bold"]; }; + # "constructor" = { fg = normal.blue; modifiers = ["bold"]; }; + # "special" = normal.blue; + # "keyword" = normal.magenta; + # "label" = normal.magenta; + # "namespace" = normal.blue; + # "diff.plus" = normal.green; + # "diff.delta" = normal.yellow; + # "diff.minus" = normal.red; + # "diagnostic" = { modifiers = [ "underlined" ]; }; + # "ui.gutter" = { bg = normal.black; }; + # "info" = normal.blue; + # "hint" = normal.magenta; + # "debug" = normal.magenta; + # "warning" = normal.yellow; + # "error" = normal.red; }; }; settings = {