Simplify selection rendering by injecting highlight scopes

This commit is contained in:
Blaž Hrastnik 2021-06-25 13:01:08 +09:00
parent 44566ea812
commit 057bd630d8
3 changed files with 240 additions and 143 deletions

View file

@ -52,9 +52,12 @@
"ui.selection" = { bg = "#540099" }
"ui.selection.primary" = { bg = "#540099" }
# TODO: namespace ui.cursor as ui.selection.cursor?
"ui.cursor.select" = { bg = "#6F44F0" }
"ui.cursor.insert" = { bg = "#802F00" }
"ui.cursor.insert" = { bg = "#ffffff" }
"ui.cursor.match" = { fg = "#212121", bg = "#6C6999" }
"ui.cursor" = { modifiers = ["reversed"] }
"ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver
"warning" = "#ffcd1c"