From a224735744024a33c153bc731d4a0b46cd45a332 Mon Sep 17 00:00:00 2001 From: maia arson crimew Date: Thu, 7 Jul 2022 23:36:35 +0200 Subject: [PATCH] add helix config --- .config/helix/config.toml | 8 ++ .config/helix/themes/catppuccin_mocha.toml | 115 +++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 .config/helix/config.toml create mode 100644 .config/helix/themes/catppuccin_mocha.toml diff --git a/.config/helix/config.toml b/.config/helix/config.toml new file mode 100644 index 0000000..2f6893b --- /dev/null +++ b/.config/helix/config.toml @@ -0,0 +1,8 @@ +theme = "catppuccin_mocha" + +[editor] +line-number = "relative" +true-color = true + +[editor.file-picker] +hidden = false \ No newline at end of file diff --git a/.config/helix/themes/catppuccin_mocha.toml b/.config/helix/themes/catppuccin_mocha.toml new file mode 100644 index 0000000..f1b3b0c --- /dev/null +++ b/.config/helix/themes/catppuccin_mocha.toml @@ -0,0 +1,115 @@ +# Syntax highlighting +# ------------------- +"type" = "yellow" +"type.enum.variant" = "peach" +"constructor" = "sapphire" +"constant" = "peach" +"constant.character" = "teal" +"constant.character.escape" = "pink" +"string" = "green" +"string.regexp" = "peach" +"string.special" = "pink" +"comment" = { fg = "surface2", modifiers = ["italic"] } +"variable" = "text" +"variable.parameter" = { fg = "maroon", modifiers = ["italic"] } +"variable.builtin" = "red" +"variable.other.member" = "teal" +"label" = "sapphire" # used for lifetimes +"punctuation" = "overlay2" +"keyword" = "mauve" +"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] } +"operator" = "sky" +"function" = "blue" +"function.builtin" = "peach" +"function.macro" = "teal" +"tag" = "mauve" +"namespace" = { fg = "blue", modifiers = ["italic"] } + +"special" = "blue" # fuzzy highlight + +"markup.heading.marker" = {fg = "peach", modifiers = ["bold"] } +"markup.heading.1" = "lavender" +"markup.heading.2" = "mauve" +"markup.heading.3" = "green" +"markup.heading.4" = "yellow" +"markup.heading.5" = "pink" +"markup.heading.6" = "teal" +"markup.list" = "mauve" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { fg = "peach", modifiers = ["underlined"] } +"markup.link.text" = "blue" +"markup.raw" = "flamingo" + +"diff.plus" = "green" +"diff.minus" = "red" +"diff.delta" = "yellow" + +# User Interface +# -------------- +"ui.background" = { fg = "text", bg = "base" } + +"ui.linenr" = { fg = "surface1" } +"ui.linenr.selected" = { fg = "lavender" } + +"ui.statusline" = { fg = "text", bg = "mantle" } +"ui.statusline.inactive" = { fg = "surface1", bg = "mantle" } + +"ui.popup" = { fg = "text", bg = "surface0" } +"ui.window" = { fg = "crust" } +"ui.help" = { fg = "overlay2", bg = "surface0" } + +"ui.text" = "text" +"ui.text.focus" = {fg = "text", modifiers = ["bold"] } + +"ui.virtual" = "overlay0" +"ui.virtual.ruler" = { bg = "surface0" } +"ui.virtual.indent-guide" = "surface0" + +"ui.selection" = { bg = "surface1" } + +"ui.cursor" = { fg = "base", bg = "overlay2" } +"ui.cursor.primary" = { fg = "base", bg = "rosewater" } +"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] } + +"ui.highlight" = { bg = "surface1" } + +"ui.menu" = { fg = "overlay2", bg = "surface0" } +"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] } + +diagnostic = { modifiers = ["underlined"] } + +error = "red" +warning = "yellow" +info = "sky" +hint = "teal" + +[palette] +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" + +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" + +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b" \ No newline at end of file