aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tham2021-06-25 02:18:38 +0000
committerGitHub2021-06-25 02:18:38 +0000
commit74cc4b4a49e05462b2b543737ad4dc32e2265794 (patch)
tree6ccbe13e7a54186b03751d36e6a82f59965ff6fc
parentc2b937481fd3b4c630433de0fcc0a73ebee8c7b2 (diff)
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.toml1
-rw-r--r--runtime/themes/ingrid.toml1
-rw-r--r--runtime/themes/onedark.toml1
-rw-r--r--theme.toml1
4 files changed, 4 insertions, 0 deletions
diff --git a/runtime/themes/bogster.toml b/runtime/themes/bogster.toml
index 43b422f3..fecbd605 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 d32a89d1..6a177ec7 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 65f26725..f478b05f 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 fdd91ae3..e7e79313 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"