From 74cc4b4a49e05462b2b543737ad4dc32e2265794 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Fri, 25 Jun 2021 10:18:38 +0800 Subject: 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--- runtime/themes/bogster.toml | 1 + runtime/themes/ingrid.toml | 1 + runtime/themes/onedark.toml | 1 + 3 files changed, 3 insertions(+) (limited to 'runtime') 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 -- cgit v1.2.3-70-g09d2