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
pull/375/head
Ivan Tham 3 years ago committed by GitHub
parent c2b937481f
commit 74cc4b4a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,6 +41,7 @@
"ui.text.focus" = { fg = "#e5ded6", modifiers= ["bold"] } "ui.text.focus" = { fg = "#e5ded6", modifiers= ["bold"] }
"ui.selection" = { bg = "#313f4e" } "ui.selection" = { bg = "#313f4e" }
# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
"ui.menu.selected" = { fg = "#e5ded6", bg = "#313f4e" } "ui.menu.selected" = { fg = "#e5ded6", bg = "#313f4e" }
"warning" = "#dc7759" "warning" = "#dc7759"

@ -41,6 +41,7 @@
"ui.text.focus" = { fg = "#250E07", modifiers= ["bold"] } "ui.text.focus" = { fg = "#250E07", modifiers= ["bold"] }
"ui.selection" = { bg = "#540099" } "ui.selection" = { bg = "#540099" }
# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
"ui.menu.selected" = { fg = "#D74E50", bg = "#F3EAE9" } "ui.menu.selected" = { fg = "#D74E50", bg = "#F3EAE9" }
"warning" = "#D4A520" "warning" = "#D4A520"

@ -41,3 +41,4 @@
"ui.text" = { fg = "#ABB2BF", bg = "#282C34" } "ui.text" = { fg = "#ABB2BF", bg = "#282C34" }
"ui.text.focus" = { fg = "#ABB2BF", bg = "#2C323C", modifiers = ['bold'] } "ui.text.focus" = { fg = "#ABB2BF", bg = "#2C323C", modifiers = ['bold'] }
"ui.window" = { bg = "#3E4452" } "ui.window" = { bg = "#3E4452" }
# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported

@ -54,6 +54,7 @@
"ui.selection.primary" = { bg = "#540099" } "ui.selection.primary" = { bg = "#540099" }
"ui.cursor.select" = { bg = "#6F44F0" } "ui.cursor.select" = { bg = "#6F44F0" }
"ui.cursor.insert" = { bg = "#802F00" } "ui.cursor.insert" = { bg = "#802F00" }
"ui.cursor.match" = { fg = "#212121", bg = "#6C6999" }
"ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver "ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver
"warning" = "#ffcd1c" "warning" = "#ffcd1c"

Loading…
Cancel
Save