619.patch (2329B)
- From b24be0909923f9f237accc98986128032d98b9db Mon Sep 17 00:00:00 2001
- From: Chris Rawnsley <chris@puny.agency>
- Date: Sun, 1 Oct 2017 20:32:12 +0100
- Subject: [PATCH] themes: add zenburn and make it the default 256 theme
- ---
- lua/themes/default-256.lua | 2 +-
- lua/themes/zenburn.lua | 39 +++++++++++++++++++++++++++++++++++++++
- 2 files changed, 40 insertions(+), 1 deletion(-)
- create mode 100644 lua/themes/zenburn.lua
- diff --git a/lua/themes/default-256.lua b/lua/themes/default-256.lua
- index 8479b1b5..e12776c0 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 00000000..f60e900f
- --- /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'