aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAndrew Carter2024-02-01 01:18:53 +0000
committerGitHub2024-02-01 01:18:53 +0000
commitdbac78bb3c06717f1f83984da3035e28f39d49a5 (patch)
tree930287402c11a44b1ffc7fbba4882f80cfb6413a /runtime
parentcf4492174d0ee27bd3c73a5fa57fe3a26aa064be (diff)
Set ui.virtual.ruler background for GitHub themes (#9487)
Turning on a ruler does not show a visible ruler line for the GitHub themes. This change renders rulers using the `canvas.subtle` color. This matches the color used for the `cursorline` and creates a visible ruler that fits the theme.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/themes/github_dark.toml1
-rw-r--r--runtime/themes/github_light.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/themes/github_dark.toml b/runtime/themes/github_dark.toml
index 4f9aa562..6b335484 100644
--- a/runtime/themes/github_dark.toml
+++ b/runtime/themes/github_dark.toml
@@ -60,6 +60,7 @@ label = "scale.red.3"
"ui.text.focus" = { fg = "fg.default" }
"ui.text.inactive" = "fg.subtle"
"ui.virtual" = { fg = "scale.gray.6" }
+"ui.virtual.ruler" = { bg = "canvas.subtle" }
"ui.selection" = { bg = "scale.blue.8" }
"ui.selection.primary" = { bg = "scale.blue.7" }
diff --git a/runtime/themes/github_light.toml b/runtime/themes/github_light.toml
index 3e226969..e6912a98 100644
--- a/runtime/themes/github_light.toml
+++ b/runtime/themes/github_light.toml
@@ -60,6 +60,7 @@ label = "scale.red.5"
"ui.text.focus" = { fg = "fg.default" }
"ui.text.inactive" = "fg.subtle"
"ui.virtual" = { fg = "scale.gray.2" }
+"ui.virtual.ruler" = { bg = "canvas.subtle" }
"ui.selection" = { bg = "scale.blue.0" }
"ui.selection.primary" = { bg = "scale.blue.1" }