fa4934cff9
* Default rulers color to red Currently if the theme a user is using doesn't have `ui.virtual.rulers` set and they set up a ruler it just fails silently making it really hard to figure out what went wrong. Did they set incorrectly set the ruler? Are they using an outdated version of Helix that doesn't support rulers? This happened to me today, I even switched to the default theme with the assumption that maybe my theme just doesn't have the rulers setup properly and it still didn't work. Not sure if this is a good idea or not, feel free to suggest better alternatives! * Use builtin Style methods instead of Bevy style defaults Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Only default the style if there's no ui or ui.virtual * Update themes style from ui.virtual to ui.virtual.whitespace * Revert ui.virtual change in onelight theme * Prefer unwrap_or_else Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
68 lines
2.4 KiB
TOML
68 lines
2.4 KiB
TOML
# Author : Sebastian Zivota <loewenheim@mailbox.org>
|
|
# Author : Timothy DeHerrera <tim@nrdxp.dev>
|
|
"comment" = { fg = "comment" }
|
|
"constant" = { fg = "purple" }
|
|
"constant.character.escape" = { fg = "magenta" }
|
|
"function" = { fg = "green" }
|
|
"keyword" = { fg = "magenta" }
|
|
"operator" = { fg = "magenta" }
|
|
"punctuation" = { fg = "foreground" }
|
|
"string" = { fg = "yellow" }
|
|
"path" = { fg = "blue" }
|
|
"string.regexp" = { fg = "red" }
|
|
"tag" = { fg = "magenta" }
|
|
"type" = { fg = "cyan", modifiers = ["italic"] }
|
|
"type.enum.variant" = { fg = "foreground", modifiers = ["italic"] }
|
|
"variable" = { fg = "foreground" }
|
|
"variable.builtin" = { fg = "cyan", modifiers = ["italic"] }
|
|
"variable.parameter" = { fg ="blue", modifiers = ["italic"] }
|
|
|
|
"diff.plus" = { fg = "green" }
|
|
"diff.delta" = { fg = "blue" }
|
|
"diff.minus" = { fg = "red" }
|
|
|
|
"ui.background" = { fg = "foreground", bg = "background" }
|
|
"ui.cursor" = { fg = "background", bg = "blue", modifiers = ["dim"] }
|
|
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
|
|
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] }
|
|
"ui.help" = { fg = "foreground", bg = "background_dark" }
|
|
"ui.linenr" = { fg = "comment" }
|
|
"ui.linenr.selected" = { fg = "foreground" }
|
|
"ui.menu" = { fg = "foreground", bg = "background_dark" }
|
|
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
|
|
"ui.popup" = { fg = "foreground", bg = "background_dark" }
|
|
"ui.selection" = { bg = "secondary_highlight" }
|
|
"ui.selection.primary" = { bg = "primary_highlight" }
|
|
"ui.statusline" = { fg = "foreground", bg = "background_dark" }
|
|
"ui.statusline.inactive" = { fg = "comment", bg = "background_dark" }
|
|
"ui.text" = { fg = "foreground" }
|
|
"ui.text.focus" = { fg = "cyan" }
|
|
"ui.window" = { fg = "foreground" }
|
|
"ui.virtual.whitespace" = { fg = "comment" }
|
|
|
|
"error" = { fg = "red" }
|
|
"warning" = { fg = "cyan" }
|
|
|
|
"markup.heading" = { fg = "purple", modifiers = ["bold"] }
|
|
"markup.list" = "cyan"
|
|
"markup.bold" = { fg = "blue", modifiers = ["bold"] }
|
|
"markup.italic" = { fg = "yellow", modifiers = ["italic"] }
|
|
"markup.link.url" = "cyan"
|
|
"markup.link.text" = "magenta"
|
|
"markup.quote" = { fg = "yellow", modifiers = ["italic"] }
|
|
"markup.raw" = { fg = "foreground" }
|
|
|
|
[palette]
|
|
background = "#282a36"
|
|
background_dark = "#21222c"
|
|
primary_highlight = "#800049"
|
|
secondary_highlight = "#4d4f66"
|
|
foreground = "#eff0eb"
|
|
comment = "#a39e9b"
|
|
red = "#ff5c57"
|
|
blue = "#57c7ff"
|
|
yellow = "#f3f99d"
|
|
green = "#5af78e"
|
|
purple = "#bd93f9"
|
|
cyan = "#9aedfe"
|
|
magenta = "#ff6ac1"
|