diff --git a/.config/vis/themes/rose-pine-moon-colorless.lua b/.config/vis/themes/rose-pine-moon-colorless.lua new file mode 100644 index 0000000..f8f82a8 --- /dev/null +++ b/.config/vis/themes/rose-pine-moon-colorless.lua @@ -0,0 +1,51 @@ +-- vis-minimal-theme (https://github.com/erf/vis-minimal-theme) +-- light by Erlend Lind Madsen +-- Modified by Nulo + +local text = '#e0def4' +local subtle = '#908caa' +local muted = '#6e6a86' + +local base = '#232136' +local surface = '#2a273f' +local overlay = '#393552' + +local highlight_med = '#44415a' + +local lexers = vis.lexers + +lexers.STYLE_DEFAULT ='back:'..base..',fore:'..text +lexers.STYLE_NOTHING = 'back:'..base +lexers.STYLE_CLASS = 'fore:'..text +lexers.STYLE_COMMENT = 'fore:'..muted +lexers.STYLE_CONSTANT = 'fore:'..text +lexers.STYLE_DEFINITION = 'fore:'..text +lexers.STYLE_ERROR = 'fore:'..text +lexers.STYLE_FUNCTION = 'fore:'..text +lexers.STYLE_KEYWORD = 'fore:'..muted +lexers.STYLE_LABEL = 'fore:'..text +lexers.STYLE_NUMBER = 'fore:'..subtle +lexers.STYLE_OPERATOR = 'fore:'..text +lexers.STYLE_REGEX = 'fore:'..subtle +lexers.STYLE_STRING = 'fore:'..subtle +lexers.STYLE_PREPROCESSOR = 'fore:'..text +lexers.STYLE_TAG = 'fore:'..text +lexers.STYLE_TYPE = 'fore:'..text +lexers.STYLE_VARIABLE = 'fore:'..text +lexers.STYLE_WHITESPACE = '' +lexers.STYLE_EMBEDDED = 'back:'..overlay +lexers.STYLE_IDENTIFIER = 'fore:'..text + +lexers.STYLE_LINENUMBER = 'fore:'..subtle +lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER +lexers.STYLE_CURSOR = 'back:'..muted +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..subtle +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:'..highlight_med +lexers.STYLE_SELECTION = 'back:'..highlight_med +lexers.STYLE_STATUS = 'back:'..base..',fore:'..muted +lexers.STYLE_STATUS_FOCUSED = 'back:'..overlay..',fore:'..text +lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT +lexers.STYLE_INFO = 'fore:default,back:default' +lexers.STYLE_EOF = '' + diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua index 1639e2a..6c4c308 100644 --- a/.config/vis/visrc.lua +++ b/.config/vis/visrc.lua @@ -11,7 +11,7 @@ plugins = { local disable_formating = false vis.events.subscribe(vis.events.INIT, function() - require 'themes/rose-pine-dawn-colorless' + require 'themes/rose-pine-moon-colorless' require 'plugins/commentary' vis:map(vis.modes.NORMAL, ',f', ':fzf')