vis: rose-pine-dawn-colorless

This commit is contained in:
Cat /dev/Nulo 2022-04-10 17:22:43 -03:00
parent a27f567650
commit e659194e2a
2 changed files with 52 additions and 1 deletions

View file

@ -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 = ''

View file

@ -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<Enter>')