Unnamed repository; edit this file 'description' to name the repository.
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
| -rw-r--r-- | runtime/themes/bogster.toml | 1 | ||||
| -rw-r--r-- | runtime/themes/ingrid.toml | 1 | ||||
| -rw-r--r-- | runtime/themes/onedark.toml | 1 | ||||
| -rw-r--r-- | theme.toml | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/runtime/themes/bogster.toml b/runtime/themes/bogster.toml index 43b422f3d..fecbd605e 100644 --- a/runtime/themes/bogster.toml +++ b/runtime/themes/bogster.toml @@ -41,6 +41,7 @@ "ui.text.focus" = { fg = "#e5ded6", modifiers= ["bold"] } "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" } "warning" = "#dc7759" diff --git a/runtime/themes/ingrid.toml b/runtime/themes/ingrid.toml index d32a89d15..6a177ec7c 100644 --- a/runtime/themes/ingrid.toml +++ b/runtime/themes/ingrid.toml @@ -41,6 +41,7 @@ "ui.text.focus" = { fg = "#250E07", modifiers= ["bold"] } "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" } "warning" = "#D4A520" diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml index 65f267250..f478b05f8 100644 --- a/runtime/themes/onedark.toml +++ b/runtime/themes/onedark.toml @@ -41,3 +41,4 @@ "ui.text" = { fg = "#ABB2BF", bg = "#282C34" } "ui.text.focus" = { fg = "#ABB2BF", bg = "#2C323C", modifiers = ['bold'] } "ui.window" = { bg = "#3E4452" } +# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported diff --git a/theme.toml b/theme.toml index fdd91ae3a..e7e793137 100644 --- a/theme.toml +++ b/theme.toml @@ -54,6 +54,7 @@ "ui.selection.primary" = { bg = "#540099" } "ui.cursor.select" = { bg = "#6F44F0" } "ui.cursor.insert" = { bg = "#802F00" } +"ui.cursor.match" = { fg = "#212121", bg = "#6C6999" } "ui.menu.selected" = { fg = "#281733", bg = "#ffffff" } # revolver "warning" = "#ffcd1c" |