From 1f5b507b55cd2dc2b457f8fe129e6c8a88ba5c77 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 6e5b790b4b03..88f857d3dd36 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 ba21b90e4af9..cd2d2b364748 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