aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dark.lua65
-rw-r--r--light.lua65
2 files changed, 66 insertions, 64 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 = ''
diff --git a/light.lua b/light.lua
index d111381..ae1a07f 100644
--- a/light.lua
+++ b/light.lua
@@ -1,46 +1,47 @@
-- vis-minimal-theme (https://github.com/erf/vis-minimal-theme)
-- minimal-light by Erlend Lind Madsen
-local back0 = '#ffffff'
-local back1 = '#c8c8c8'
-local back2 = '#989898'
-local fore0 = '#000000'
-local fore1 = '#383838'
-local fore2 = '#686868'
+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:'..white0..',fore:'..black0
+lexers.STYLE_NOTHING = 'back:'..white0
+lexers.STYLE_CLASS = 'fore:'..black0
+lexers.STYLE_COMMENT = 'fore:'..white2
+lexers.STYLE_CONSTANT = 'fore:'..black0
+lexers.STYLE_DEFINITION = 'fore:'..black0
+lexers.STYLE_ERROR = 'fore:'..black0
+lexers.STYLE_FUNCTION = 'fore:'..black0
+lexers.STYLE_KEYWORD = 'fore:'..black2
+lexers.STYLE_LABEL = 'fore:'..black0
+lexers.STYLE_NUMBER = 'fore:'..black1
+lexers.STYLE_OPERATOR = 'fore:'..black0
+lexers.STYLE_REGEX = 'fore:'..black1
+lexers.STYLE_STRING = 'fore:'..black1
+lexers.STYLE_PREPROCESSOR = 'fore:'..black0
+lexers.STYLE_TAG = 'fore:'..black0
+lexers.STYLE_TYPE = 'fore:'..black0
+lexers.STYLE_VARIABLE = 'fore:'..black0
lexers.STYLE_WHITESPACE = ''
-lexers.STYLE_EMBEDDED = 'back:'..back1
-lexers.STYLE_IDENTIFIER = 'fore:'..fore0
+lexers.STYLE_EMBEDDED = 'back:'..white1
+lexers.STYLE_IDENTIFIER = 'fore:'..black0
-lexers.STYLE_LINENUMBER = 'fore:'..fore1
+lexers.STYLE_LINENUMBER = 'fore:'..black1
lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER
-lexers.STYLE_CURSOR = 'back:'..back2
-lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..fore1
+lexers.STYLE_CURSOR = 'back:'..white2
+lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..black1
lexers.STYLE_CURSOR_LINE = 'underlined'
-lexers.STYLE_COLOR_COLUMN = 'back:'..back1
-lexers.STYLE_SELECTION = 'back:'..back1
+lexers.STYLE_COLOR_COLUMN = 'back:'..white1
+lexers.STYLE_SELECTION = 'back:'..white1
lexers.STYLE_STATUS = 'reverse'
-lexers.STYLE_STATUS_FOCUSED = 'back:'..back1..',fore:'..fore1
+lexers.STYLE_STATUS_FOCUSED = 'back:'..white1..',fore:'..black1
lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
lexers.STYLE_INFO = 'fore:default,back:default'
lexers.STYLE_EOF = ''