Skip to content

Commit

Permalink
Use curl underlines in the rose_pine theme (#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 Dec 23, 2022
1 parent df1830e commit b1ca7dd
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<raygervais@hotmail.ca>
# Author: ChrisHa<chunghha@users.noreply.github.com>
# Diagnostics patch author: cor<cor@pruijs.dev>

"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 b1ca7dd

Please sign in to comment.