aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Roden-Corrent2023-03-16 01:54:47 +0000
committerGitHub2023-03-16 01:54:47 +0000
commitaae8f72e2e88bb5c7fd1f7ca7df35ee8316724f6 (patch)
tree74b4ebd0b59c8fbb2f471195873c004a5e0292f7
parentfb56a4bb75121f4797d80e14bceee9feb870cfb2 (diff)
Add inlay-hint style for solarized themes. (#6327)
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.
-rw-r--r--runtime/themes/solarized_dark.toml1
-rw-r--r--runtime/themes/solarized_light.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml
index 6e5b790b..88f857d3 100644
--- a/runtime/themes/solarized_dark.toml
+++ b/runtime/themes/solarized_dark.toml
@@ -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" }
diff --git a/runtime/themes/solarized_light.toml b/runtime/themes/solarized_light.toml
index ba21b90e..cd2d2b36 100644
--- a/runtime/themes/solarized_light.toml
+++ b/runtime/themes/solarized_light.toml
@@ -42,6 +42,7 @@
"ui.background" = { bg = "base03" }
"ui.virtual.whitespace" = { fg = "base01" }
+"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }
# 行号栏
# line number column