From e659194e2aeff84927cf2671459fd581c8df1c32 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 10 Apr 2022 17:22:43 -0300 Subject: [PATCH] vis: rose-pine-dawn-colorless --- .../vis/themes/rose-pine-dawn-colorless.lua | 51 +++++++++++++++++++ .config/vis/visrc.lua | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .config/vis/themes/rose-pine-dawn-colorless.lua diff --git a/.config/vis/themes/rose-pine-dawn-colorless.lua b/.config/vis/themes/rose-pine-dawn-colorless.lua new file mode 100644 index 0000000..e338ab9 --- /dev/null +++ b/.config/vis/themes/rose-pine-dawn-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 = '#575279' +local subtle = '#797593' +local muted = '#9893a5' + +local base = '#faf4ed' +local surface = '#fffaf3' +local overlay = '#f2e9e1' + +local highlight_med = '#dfdad9' + +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 5e1d257..1639e2a 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/minimal-light' + require 'themes/rose-pine-dawn-colorless' require 'plugins/commentary' vis:map(vis.modes.NORMAL, ',f', ':fzf')