diff --git a/helix/README.md b/helix/README.md new file mode 100644 index 0000000..b591ed0 --- /dev/null +++ b/helix/README.md @@ -0,0 +1,7 @@ +# Helix + +[Helix]() is self defined post modern modal editor, cross-platform, built in rust and with the idea of minimum configuration needed to start using as an complete code editor. + +Helix config files for themes are placed on `$XDG_CONFIG_HOME/helix/themes` where the themes files are TOML format files. + +Simply copy any of the variants you want from this repo, open helix editor and issue the `:theme` command, then search for "onehalf" and there's you go. diff --git a/helix/onehalf_dark.toml b/helix/onehalf_dark.toml new file mode 100644 index 0000000..2c45a42 --- /dev/null +++ b/helix/onehalf_dark.toml @@ -0,0 +1,57 @@ +# Author : zoedsoupe (Zoey) + +# Define the theme properties +inherits = "default" + +# UI elements +"ui.background" = { bg = "black" } +"ui.text" = { fg = "white" } +"ui.cursor" = { fg = "black", bg = "white" } +"ui.cursorline" = { bg = "dark_gray" } +"ui.selection" = { bg = "light_gray" } +"ui.statusline" = { fg = "white", bg = "dark_gray" } +"ui.statusline.inactive" = { fg = "light_gray", bg = "black" } +"ui.gutter" = { fg = "light_gray", bg = "black" } +"ui.linenr" = { fg = "light_gray", bg = "black" } +"ui.linenr.selected" = { fg = "white", bg = "dark_gray" } +"ui.popup" = { fg = "white", bg = "black" } + +# Syntax highlighting +"comment" = { fg = "light_gray", modifiers = ["italic"] } +"keyword" = { fg = "magenta" } +"constant" = { fg = "cyan" } +"string" = { fg = "green" } +"function" = { fg = "blue" } +"type" = { fg = "yellow" } +"variable" = { fg = "red" } + +"attribute" = { fg = "cyan" } +"operator" = { fg = "white" } +"punctuation.delimiter" = { fg = "white" } +"punctuation.bracket" = { fg = "white" } + +"builtin" = { fg = "magenta" } +"parameter" = { fg = "red" } +"boolean" = { fg = "cyan" } +"numeric" = { fg = "yellow" } +"escape" = { fg = "yellow" } +"regexp" = { fg = "green" } + +# Diff highlighting +"diff.plus" = { fg = "green", bg = "black" } +"diff.minus" = { fg = "red", bg = "black" } +"diff.delta" = { fg = "yellow", bg = "black" } +"diff.moved" = { fg = "blue", bg = "black" } + +# Define the color palette +[palette] +black = "#282c34" +red = "#e06c75" +green = "#98c379" +yellow = "#e5c07b" +blue = "#61afef" +magenta = "#c678dd" +cyan = "#56b6c2" +white = "#dcdfe4" +light_gray = "#5c6370" +dark_gray = "#3e4451" diff --git a/helix/onehalf_light.toml b/helix/onehalf_light.toml new file mode 100644 index 0000000..3e18ae0 --- /dev/null +++ b/helix/onehalf_light.toml @@ -0,0 +1,57 @@ +# Author : zoedsoupe (Zoey) + +# Define the theme properties +inherits = "default" + +# UI elements +"ui.background" = { bg = "white" } +"ui.text" = { fg = "black" } +"ui.cursor" = { fg = "white", bg = "black" } +"ui.cursorline" = { bg = "light_gray" } +"ui.selection" = { bg = "dark_gray" } +"ui.statusline" = { fg = "black", bg = "light_gray" } +"ui.statusline.inactive" = { fg = "dark_gray", bg = "white" } +"ui.gutter" = { fg = "dark_gray", bg = "white" } +"ui.linenr" = { fg = "dark_gray", bg = "white" } +"ui.linenr.selected" = { fg = "black", bg = "light_gray" } +"ui.popup" = { fg = "black", bg = "white" } + +# Syntax highlighting +"comment" = { fg = "dark_gray", modifiers = ["italic"] } +"keyword" = { fg = "magenta" } +"constant" = { fg = "cyan" } +"string" = { fg = "green" } +"function" = { fg = "blue" } +"type" = { fg = "yellow" } +"variable" = { fg = "red" } + +"attribute" = { fg = "cyan" } +"operator" = { fg = "black" } +"punctuation.delimiter" = { fg = "black" } +"punctuation.bracket" = { fg = "black" } + +"builtin" = { fg = "magenta" } +"parameter" = { fg = "red" } +"boolean" = { fg = "cyan" } +"numeric" = { fg = "yellow" } +"escape" = { fg = "yellow" } +"regexp" = { fg = "green" } + +# Diff highlighting +"diff.plus" = { fg = "green", bg = "white" } +"diff.minus" = { fg = "red", bg = "white" } +"diff.delta" = { fg = "yellow", bg = "white" } +"diff.moved" = { fg = "blue", bg = "white" } + +# Define the color palette +[palette] +black = "#383a42" +red = "#e45649" +green = "#50a14f" +yellow = "#c18401" +blue = "#0184bc" +magenta = "#a626a4" +cyan = "#0997b3" +white = "#fafafa" +light_gray = "#d0d0d0" +dark_gray = "#9a9a9a"