From e22b8897c7ec5a89f8ceb57b679f1737ce71cc8e Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Wed, 15 Mar 2023 21:54:47 -0400 Subject: [PATCH] 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. --- runtime/themes/solarized_dark.toml | 1 + runtime/themes/solarized_light.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml index 6e5b790b4b033..88f857d3dd36a 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 ba21b90e4af9a..cd2d2b3647484 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