end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
4.38k stars 299 forks source link

[Feature] Automatic theming for helix text editor #762

Open pandalec opened 2 months ago

pandalec commented 2 months ago

What would you like to be added? Would be nice if the automatic theming works for helix text editor too

How will it help Consistent theming inside terminal and its applications

Extra info Maybe other applications could follow e.g. neovim

pandalec commented 2 months ago

Currently I use the following which works ok. Probably not as good as a true color theme:

Edit: Changed base to default

❯ cat ~/.config/helix/themes/base16_default_changed.toml
inherits = "base16_default"

# Override bufferline
"ui.bufferline" = { fg = "light-gray", bg = "black" }
"ui.bufferline.active" = { fg = "light-yellow", bg = "black" }
"ui.bufferline.background" = { bg = "black" }

# used from base16_transparent
"ui.background" = { fg = "white" }
"ui.background.separator" = { fg = "gray" }
"ui.text" = { fg = "light-gray" }
"ui.text.focus" = { fg = "white" }
"ui.menu" = { fg = "light-yellow", bg = "black" }
"ui.menu.selected" = { modifiers = ["reversed"] }
"ui.menu.scroll" = { fg = "light-gray" }
"ui.linenr" = { fg = "light-gray" }
"ui.linenr.selected" = { fg = "white", modifiers = ["bold"] }
"ui.popup" = { fg = "light-yellow", bg = "black" }
"ui.window" = { fg = "gray" }
"ui.selection" = { bg = "gray" }
"comment" = { fg = "light-gray", modifiers = ["dim", "italic"] }
"ui.statusline" = { fg = "white" }
"ui.statusline.inactive" = { fg = "gray" }
"ui.statusline.normal" = { fg = "black", bg = "blue" }
"ui.statusline.insert" = { fg = "black", bg = "green" }
"ui.statusline.select" = { fg = "black", bg = "magenta" }
"ui.help" = { fg = "light-gray" }
"ui.cursor" = { modifiers = ["reversed"] }
"ui.cursor.match" = { fg = "light-yellow", underline = { color = "light-yellow", style = "line" } }
"ui.cursor.primary" = { modifiers = ["reversed", "slow_blink"] }
"ui.cursor.secondary" = { modifiers = ["reversed"] }
"ui.cursorline.primary" = { underline = { color = "light-gray", style = "line" } }
"ui.cursorline.secondary" = { underline = { color = "light-gray", style = "line" } }
"ui.cursorcolumn.primary" = { bg = "gray" }
"ui.cursorcolumn.secondary" = { bg = "gray" }
"ui.virtual.ruler" = { bg = "gray" }
"ui.virtual.whitespace" = "gray"
"ui.virtual.indent-guide" = { fg = "light-gray", modifiers = ["dim", "italic"] }
"ui.virtual.inlay-hint" = { fg = "white", modifiers = ["dim", "italic"] }
"ui.virtual.inlay-hint.parameter" = { fg = "white", modifiers = [
  "dim",
  "italic",
] }
"ui.virtual.inlay-hint.type" = { fg = "white", modifiers = ["dim", "italic"] }
"ui.virtual.wrap" = "gray"
"ui.virtual.jump-label" = { fg = "blue", modifiers = ["bold", "underlined"] }
"diagnostic.info" = { underline = { color = "light-blue", style = "dotted" } }
"diagnostic.hint" = { underline = { color = "light-gray", style = "double_line" } }
"diagnostic.debug" = { underline = { color = "light-gray", style = "dashed" } }
"diagnostic.warning" = { underline = { color = "light-yellow", style = "curl" } }
"diagnostic.error" = { underline = { color = "light-red", style = "curl" } }