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.
This commit is contained in:
Andrew Carter 2024-01-31 17:18:53 -08:00 committed by GitHub
parent cf4492174d
commit dbac78bb3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -60,6 +60,7 @@ label = "scale.red.3"
"ui.text.focus" = { fg = "fg.default" } "ui.text.focus" = { fg = "fg.default" }
"ui.text.inactive" = "fg.subtle" "ui.text.inactive" = "fg.subtle"
"ui.virtual" = { fg = "scale.gray.6" } "ui.virtual" = { fg = "scale.gray.6" }
"ui.virtual.ruler" = { bg = "canvas.subtle" }
"ui.selection" = { bg = "scale.blue.8" } "ui.selection" = { bg = "scale.blue.8" }
"ui.selection.primary" = { bg = "scale.blue.7" } "ui.selection.primary" = { bg = "scale.blue.7" }

View file

@ -60,6 +60,7 @@ label = "scale.red.5"
"ui.text.focus" = { fg = "fg.default" } "ui.text.focus" = { fg = "fg.default" }
"ui.text.inactive" = "fg.subtle" "ui.text.inactive" = "fg.subtle"
"ui.virtual" = { fg = "scale.gray.2" } "ui.virtual" = { fg = "scale.gray.2" }
"ui.virtual.ruler" = { bg = "canvas.subtle" }
"ui.selection" = { bg = "scale.blue.0" } "ui.selection" = { bg = "scale.blue.0" }
"ui.selection.primary" = { bg = "scale.blue.1" } "ui.selection.primary" = { bg = "scale.blue.1" }