aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorChris Rawnsley <chris@puny.agency>2017-10-01 20:32:12 +0100
committerChris Rawnsley <chris@puny.agency>2017-10-23 23:28:10 +0100
commitb24be0909923f9f237accc98986128032d98b9db (patch)
tree0a93e46c674cedd18788a1b4e22ca7fcf9301903 /lua
parent1e414d215ebb98e709717cd116ce83acdc863a78 (diff)
downloadvis-b24be0909923f9f237accc98986128032d98b9db.tar.gz
vis-b24be0909923f9f237accc98986128032d98b9db.tar.xz
themes: add zenburn and make it the default 256 theme
Diffstat (limited to 'lua')
l---------lua/themes/default-256.lua2
-rw-r--r--lua/themes/zenburn.lua39
2 files changed, 40 insertions, 1 deletions
diff --git a/lua/themes/default-256.lua b/lua/themes/default-256.lua
index 8479b1b..e12776c 120000
--- a/lua/themes/default-256.lua
+++ b/lua/themes/default-256.lua
@@ -1 +1 @@
-solarized.lua \ No newline at end of file
+zenburn.lua \ No newline at end of file
diff --git a/lua/themes/zenburn.lua b/lua/themes/zenburn.lua
new file mode 100644
index 0000000..f60e900
--- /dev/null
+++ b/lua/themes/zenburn.lua
@@ -0,0 +1,39 @@
+-- A poor imitation of the original Vim colourscheme which can be
+-- found at https://github.com/jnurmine/Zenburn
+
+local lexers = vis.lexers
+
+lexers.STYLE_DEFAULT = 'fore:#d7d7d7,back:#3a3a3a'
+lexers.STYLE_NOTHING = ''
+lexers.STYLE_CLASS = ''
+lexers.STYLE_COMMENT = 'fore:#87af87'
+lexers.STYLE_CONSTANT = 'fore:#d7afaf,bold'
+lexers.STYLE_DEFINITION = 'fore:#ffd7af,bold'
+lexers.STYLE_ERROR = 'fore:#87d7af,back:#303030,bold'
+lexers.STYLE_FUNCTION = 'fore:#d7d7af'
+lexers.STYLE_KEYWORD = 'fore:#afaf87,bold'
+lexers.STYLE_LABEL = 'fore:#d7d7af'
+lexers.STYLE_NUMBER = 'fore:#87d7d7'
+lexers.STYLE_OPERATOR = 'fore:#ffffd7'
+lexers.STYLE_REGEX = ''
+lexers.STYLE_STRING = 'fore:#d78787'
+lexers.STYLE_PREPROCESSOR = 'fore:#ffd7af,bold'
+lexers.STYLE_TAG = 'fore:#d7afaf,bold'
+lexers.STYLE_TYPE = 'fore:#d7d7af,bold'
+lexers.STYLE_VARIABLE = ''
+lexers.STYLE_WHITESPACE = ''
+lexers.STYLE_EMBEDDED = ''
+lexers.STYLE_IDENTIFIER = ''
+
+lexers.STYLE_LINENUMBER = 'fore:#585858'
+lexers.STYLE_LINENUMBER_CURSOR = 'fore:#666666'
+lexers.STYLE_CURSOR = 'back:#585858'
+lexers.STYLE_CURSOR_PRIMARY = 'fore:#1c1c1c,back:#87afaf,bold'
+lexers.STYLE_CURSOR_LINE = 'back:#444444'
+lexers.STYLE_COLOR_COLUMN = 'back:#444444'
+lexers.STYLE_SELECTION = 'back:#5f875f'
+lexers.STYLE_STATUS = 'back:#262626,fore:#87af87'
+lexers.STYLE_STATUS_FOCUSED = 'back:#303030,fore:#afaf87,bold'
+lexers.STYLE_SEPARATOR = ''
+lexers.STYLE_INFO = ''
+lexers.STYLE_EOF = 'fore:#585858'