vis: rose-pine-moon-colorless

This commit is contained in:
Cat /dev/Nulo 2022-04-18 21:15:17 +00:00
parent b8cd4df32f
commit 4d8bf386fc
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 = '#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 = ''

View file

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