aboutsummaryrefslogtreecommitdiffstats
path: root/dark.lua
diff options
context:
space:
mode:
authorErlend Lind Madsen <erlendf80@gmail.com>2022-02-04 00:41:58 +0100
committerErlend Lind Madsen <erlendf80@gmail.com>2022-02-04 00:41:58 +0100
commitf6f4cdcf85063db24c851a380a9ccd374ba61fc2 (patch)
tree3ccf55747b1ece2f54399791ccf69126b2568866 /dark.lua
parenteb30665d5e439bc9bf541750437b61d2a09c8122 (diff)
downloadvis-minimal-theme-f6f4cdcf85063db24c851a380a9ccd374ba61fc2.tar.gz
rename fore/back colors to white/black
Diffstat (limited to 'dark.lua')
-rw-r--r--dark.lua65
1 files changed, 33 insertions, 32 deletions
diff --git a/dark.lua b/dark.lua
index 1b3eb57..6677ae9 100644
--- a/dark.lua
+++ b/dark.lua
@@ -1,46 +1,47 @@
-- vis-minimal-theme (https://github.com/erf/vis-minimal-theme)
-- minimal-dark by Erlend Lind Madsen
-local back0 = '#000000'
-local back1 = '#383838'
-local back2 = '#686868'
-local fore0 = '#ffffff'
-local fore1 = '#c8c8c8'
-local fore2 = '#989898'
+local black0 = '#000000'
+local black1 = '#383838'
+local black2 = '#686868'
+
+local white0 = '#ffffff'
+local white1 = '#c8c8c8'
+local white2 = '#989898'
local lexers = vis.lexers
-lexers.STYLE_DEFAULT ='back:'..back0..',fore:'..fore0
-lexers.STYLE_NOTHING = 'back:'..back0
-lexers.STYLE_CLASS = 'fore:'..fore0
-lexers.STYLE_COMMENT = 'fore:'..back2
-lexers.STYLE_CONSTANT = 'fore:'..fore0
-lexers.STYLE_DEFINITION = 'fore:'..fore0
-lexers.STYLE_ERROR = 'fore:'..fore0
-lexers.STYLE_FUNCTION = 'fore:'..fore0
-lexers.STYLE_KEYWORD = 'fore:'..fore2
-lexers.STYLE_LABEL = 'fore:'..fore0
-lexers.STYLE_NUMBER = 'fore:'..fore1
-lexers.STYLE_OPERATOR = 'fore:'..fore0
-lexers.STYLE_REGEX = 'fore:'..fore1
-lexers.STYLE_STRING = 'fore:'..fore1
-lexers.STYLE_PREPROCESSOR = 'fore:'..fore0
-lexers.STYLE_TAG = 'fore:'..fore0
-lexers.STYLE_TYPE = 'fore:'..fore0
-lexers.STYLE_VARIABLE = 'fore:'..fore0
+lexers.STYLE_DEFAULT ='back:'..black0..',fore:'..white0
+lexers.STYLE_NOTHING = 'back:'..black0
+lexers.STYLE_CLASS = 'fore:'..white0
+lexers.STYLE_COMMENT = 'fore:'..black2
+lexers.STYLE_CONSTANT = 'fore:'..white0
+lexers.STYLE_DEFINITION = 'fore:'..white0
+lexers.STYLE_ERROR = 'fore:'..white0
+lexers.STYLE_FUNCTION = 'fore:'..white0
+lexers.STYLE_KEYWORD = 'fore:'..white2
+lexers.STYLE_LABEL = 'fore:'..white0
+lexers.STYLE_NUMBER = 'fore:'..white1
+lexers.STYLE_OPERATOR = 'fore:'..white0
+lexers.STYLE_REGEX = 'fore:'..white1
+lexers.STYLE_STRING = 'fore:'..white1
+lexers.STYLE_PREPROCESSOR = 'fore:'..white0
+lexers.STYLE_TAG = 'fore:'..white0
+lexers.STYLE_TYPE = 'fore:'..white0
+lexers.STYLE_VARIABLE = 'fore:'..white0
lexers.STYLE_WHITESPACE = ''
-lexers.STYLE_EMBEDDED = 'back:'..back1
-lexers.STYLE_IDENTIFIER = 'fore:'..fore0
+lexers.STYLE_EMBEDDED = 'back:'..black1
+lexers.STYLE_IDENTIFIER = 'fore:'..white0
-lexers.STYLE_LINENUMBER = 'fore:'..fore1
+lexers.STYLE_LINENUMBER = 'fore:'..white1
lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER
-lexers.STYLE_CURSOR = 'back:'..fore2
-lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..fore1
+lexers.STYLE_CURSOR = 'back:'..white2
+lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..white1
lexers.STYLE_CURSOR_LINE = 'underlined'
-lexers.STYLE_COLOR_COLUMN = 'back:'..back1
-lexers.STYLE_SELECTION = 'back:'..back2
+lexers.STYLE_COLOR_COLUMN = 'back:'..black1
+lexers.STYLE_SELECTION = 'back:'..black2
lexers.STYLE_STATUS = 'reverse'
-lexers.STYLE_STATUS_FOCUSED = 'back:'..back1..',fore:'..fore1
+lexers.STYLE_STATUS_FOCUSED = 'back:'..black1..',fore:'..white1
lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
lexers.STYLE_INFO = 'fore:default,back:default'
lexers.STYLE_EOF = ''