commit: 301aa198c054ed699ed382967b9eaddbcaa56619
parent 8e19f9a8f4216114600410fa1936db5a7399904a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 25 May 2024 15:37:50 +0200
vis/themes/gruvbox.lua: Adjust constrast of cursor, linenum, statusbar
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.config/vis/themes/gruvbox.lua b/.config/vis/themes/gruvbox.lua
@@ -162,8 +162,8 @@ lexers.STYLE_FOLDDISPLAYTEXT = 'fore:'..gb.gray..',back:'..gb.bg1..',italics'
-- miss: FoldColumn
-- Cursor
-lexers.STYLE_CURSOR = 'back:'..gb.bg2 -- Note: vis lexer doesn't have reverse-video
-lexers.STYLE_CURSOR_PRIMARY = 'back:'..gb.gray -- Note: vis lexer doesn't have reverse-video
+lexers.STYLE_CURSOR = 'back:'..gb.bg4
+lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR .. ',fore:'..gb.yellow
-- vCursor
lexers.STYLE_SELECTION = 'back:'..gb.bg1
-- miss: iCursor, lCursor
@@ -222,13 +222,15 @@ lexers.STYLE_LABEL = 'fore:'..gb.green
lexers.STYLE_WHITESPACE = ''
lexers.STYLE_EMBEDDED = 'back:'..gb.blue..',bold'
lexers.STYLE_IDENTIFIER = 'fore:'..gb.fg0
-lexers.STYLE_LINENUMBER = 'back:'..gb.bg1
-lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER .. 'fore:'..gb.yellow
+lexers.STYLE_LINENUMBER = 'back:'..gb.bg1 .. ',fore:'..gb.fg2
+lexers.STYLE_LINENUMBER_CURSOR = 'back:'..gb.bg1 .. ',fore:'..gb.fg1 .. ',bold'
lexers.STYLE_BRACELIGHT = 'fore:'..gb.fg1
lexers.STYLE_BRACEBAD = lexers.STYLE_BRACELIGHT .. lexers.STYLE_ERROR
-- lexers.STYLE_CONTROLCHAR
-- lexers.STYLE_INDENTGUIDE
-- lexers.STYLE_CALLTIP
+lexers.STYLE_STATUS = lexers.STYLE_LINENUMBER
+lexers.STYLE_STATUS_FOCUSED = lexers.STYLE_LINENUMBER_CURSOR
---------------
-- overrides --