Add default color for cursor match (#370)
* Add default color for cursor match
Not all terminals support dim, for those terminal that does not support
this (konsole, item2, wezterm), users cannot differentiate between match
and primary cursor. So set a color for this.
* Use alacritty dim color for match
commit74cc4b4a49e05462b2b543737ad4dc32e2265794
authorIvan Tham <pickfire@riseup.net>
dateFri 25 Jun 2021, 10:18 (5 years ago)
parentc2b9374
runtime/themes/bogster.toml+1
@@ -41,6 +41,7 @@
4141"ui.text.focus" = { fg = "#e5ded6", modifiers= ["bold"] }
4242
4343"ui.selection" = { bg = "#313f4e" }
44+# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
4445"ui.menu.selected" = { fg = "#e5ded6", bg = "#313f4e" }
4546
4647"warning" = "#dc7759"
runtime/themes/ingrid.toml+1
@@ -41,6 +41,7 @@
4141"ui.text.focus" = { fg = "#250E07", modifiers= ["bold"] }
4242
4343"ui.selection" = { bg = "#540099" }
44+# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
4445"ui.menu.selected" = { fg = "#D74E50", bg = "#F3EAE9" }
4546
4647"warning" = "#D4A520"
runtime/themes/onedark.toml+1
@@ -41,3 +41,4 @@
4141"ui.text" = { fg = "#ABB2BF", bg = "#282C34" }
4242"ui.text.focus" = { fg = "#ABB2BF", bg = "#2C323C", modifiers = ['bold'] }
4343"ui.window" = { bg = "#3E4452" }
44+# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
theme.toml+1
@@ -54,6 +54,7 @@
5454"ui.selection.primary" = { bg = "#540099" }
5555"ui.cursor.select" = { bg = "#6F44F0" }
5656"ui.cursor.insert" = { bg = "#802F00" }
57+"ui.cursor.match" = { fg = "#212121", bg = "#6C6999" }
5758"ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver
5859
5960"warning" = "#ffcd1c"