Skip to content

Commit

Permalink
Use curl underlines in the rose_pine theme (helix-editor#5267)
Browse files Browse the repository at this point in the history
Also fixes the color "gold" being used for too many kinds of diagnostics, now there's a more conventional choice of diagnostics colors (redish = error, yellowish = warning, blueish = hint).
  • Loading branch information
cor authored and Frederik Vestre committed Feb 6, 2023
1 parent 7003d1e commit 99e94bc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions runtime/themes/rose_pine.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Author: RayGervais<[email protected]>
# Author: ChrisHa<[email protected]>
# Diagnostics patch author: cor<[email protected]>

"ui.background" = { bg = "base" }
"ui.menu" = { fg = "text", bg = "overlay" }
Expand Down Expand Up @@ -45,12 +46,18 @@
"diff.delta" = "rose"
"diff.minus" = "love"

"info" = "gold"
"hint" = "gold"
"info" = "foam"
"hint" = "iris"
"debug" = "rose"
"diagnostic" = "rose"
"warning" = "gold"
"error" = "love"

"diagnostic" = { modifiers = ["underlined"] }
"diagnostic.error" = { underline = { style = "curl", color = "love" } }
"diagnostic.warning" = { underline = { style = "curl", color = "gold" } }
"diagnostic.info" = { underline = { style = "curl", color = "foam" } }
"diagnostic.hint" = { underline = { style = "curl", color = "iris" } }

"markup.heading.marker" = "subtle"
"markup.heading.1" = { fg = "love", modifiers = ["bold"] }
"markup.heading.2" = { fg = "gold", modifiers = ["bold"] }
Expand Down

0 comments on commit 99e94bc

Please sign in to comment.