Skip to content

Commit

Permalink
Add inlay-hint style for solarized themes. (#6327)
Browse files Browse the repository at this point in the history
This uses the same color as comments, which is a light gray in both dark and light.
I think it also looks nice with italics.
  • Loading branch information
rcorre authored Mar 16, 2023
1 parent fb56a4b commit aae8f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtime/themes/solarized_dark.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"ui.background" = { bg = "base03" }

"ui.virtual.whitespace" = { fg = "base01" }
"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }

# 行号栏
"ui.linenr" = { fg = "base0", bg = "base02" }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/solarized_light.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"ui.background" = { bg = "base03" }

"ui.virtual.whitespace" = { fg = "base01" }
"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }

# 行号栏
# line number column
Expand Down

0 comments on commit aae8f72

Please sign in to comment.