mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
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.2 KiB
TOML
68 lines
2.2 KiB
TOML
# made by bootra
|
|
|
|
"comment" = { fg = "berry_desaturated" }
|
|
"constant" = { fg = "gold" }
|
|
"function" = { fg = "mint" }
|
|
"function.macro" = { fg = "bubblegum" }
|
|
"keyword" = { fg = "bubblegum" }
|
|
"operator" = { fg = "bubblegum" }
|
|
"punctuation" = { fg = "lilac" }
|
|
"string" = { fg = "gold" }
|
|
"type" = { fg = "violet" }
|
|
"variable" = { fg = "lilac" }
|
|
"variable.builtin" = { fg = "violet" }
|
|
"tag" = { fg = "gold" }
|
|
"label" = { fg = "gold" }
|
|
"attribute" = { fg = "lilac" }
|
|
"namespace" = { fg = "lilac" }
|
|
"module" = { fg = "lilac" }
|
|
|
|
"markup.heading" = { fg = "gold", modifiers = ["bold"] }
|
|
"markup.heading.marker" = { fg = "berry_desaturated" }
|
|
"markup.list" = { fg = "bubblegum" }
|
|
"markup.bold" = { modifiers = ["bold"] }
|
|
"markup.italic" = { modifiers = ["italic"] }
|
|
"markup.link.url" = { fg = "violet", modifiers = ["underlined"] }
|
|
"markup.link.text" = { fg = "violet" }
|
|
"markup.quote" = { fg = "berry_desaturated" }
|
|
"markup.raw" = { fg = "mint" }
|
|
|
|
"ui.background" = { bg = "berry" }
|
|
"ui.cursor" = { fg = "berry", bg = "lilac" }
|
|
"ui.cursor.match" = { fg = "berry", bg = "berry_desaturated" }
|
|
"ui.cursor.select" = { fg = "berry", bg = "mint" }
|
|
"ui.cursor.insert" = { fg = "berry", bg = "mint" }
|
|
"ui.linenr" = { fg = "berry_desaturated" }
|
|
"ui.linenr.selected" = { fg = "lilac" }
|
|
"ui.statusline" = { fg = "lilac", bg = "berry_saturated" }
|
|
"ui.statusline.inactive" = { fg = "berry_desaturated", bg = "berry_saturated" }
|
|
"ui.popup" = { fg = "lilac", bg = "berry_saturated" }
|
|
"ui.window" = { fg = "berry_desaturated", bg = "berry" }
|
|
"ui.help" = { fg = "lilac", bg = "berry_saturated" }
|
|
"ui.text" = { fg = "lilac" }
|
|
"ui.text.focus" = { fg = "mint" }
|
|
"ui.menu" = { fg = "lilac", bg = "berry_saturated" }
|
|
"ui.menu.selected" = { fg = "mint", bg = "berry_saturated" }
|
|
"ui.selection" = { bg = "berry_saturated" }
|
|
"ui.virtual.whitespace" = { fg = "berry_desaturated" }
|
|
|
|
"diff.plus" = { fg = "mint" }
|
|
"diff.delta" = { fg = "gold" }
|
|
"diff.minus" = { fg = "bubblegum" }
|
|
|
|
"error" = { fg = "bubblegum" }
|
|
"warning" = { fg = "gold" }
|
|
"info" = { fg = "lilac" }
|
|
"hint" = { fg = "lilac" }
|
|
"diagnostic" = { modifiers = ["underlined"] }
|
|
|
|
[palette]
|
|
berry = "#3A2A4D"
|
|
berry_saturated = "#2B1C3D"
|
|
berry_desaturated = "#886C9C"
|
|
bubblegum = "#D678B5"
|
|
gold = "#E3C0A8"
|
|
lilac = "#C7B8E0"
|
|
mint = "#7FC9AB"
|
|
violet = "#C78DFC"
|