diff options
Diffstat (limited to 'lua/themes')
| -rw-r--r-- | lua/themes/dark-16.lua | 31 | ||||
| l--------- | lua/themes/default-16.lua | 1 | ||||
| l--------- | lua/themes/default-256.lua | 1 | ||||
| -rw-r--r-- | lua/themes/light-16.lua | 31 | ||||
| -rw-r--r-- | lua/themes/solarized.lua | 59 |
5 files changed, 123 insertions, 0 deletions
diff --git a/lua/themes/dark-16.lua b/lua/themes/dark-16.lua new file mode 100644 index 0000000..986c4b3 --- /dev/null +++ b/lua/themes/dark-16.lua @@ -0,0 +1,31 @@ +-- Eight-color scheme +local lexers = vis.lexers +-- dark +lexers.STYLE_DEFAULT = 'back:black,fore:white' +lexers.STYLE_NOTHING = 'back:black' +lexers.STYLE_CLASS = 'fore:yellow,bold' +lexers.STYLE_COMMENT = 'fore:blue,bold' +lexers.STYLE_CONSTANT = 'fore:cyan,bold' +lexers.STYLE_DEFINITION = 'fore:blue,bold' +lexers.STYLE_ERROR = 'fore:red,italics' +lexers.STYLE_FUNCTION = 'fore:blue,bold' +lexers.STYLE_KEYWORD = 'fore:yellow,bold' +lexers.STYLE_LABEL = 'fore:green,bold' +lexers.STYLE_NUMBER = 'fore:red,bold' +lexers.STYLE_OPERATOR = 'fore:cyan,bold' +lexers.STYLE_REGEX = 'fore:green,bold' +lexers.STYLE_STRING = 'fore:red,bold' +lexers.STYLE_PREPROCESSOR = 'fore:magenta,bold' +lexers.STYLE_TAG = 'fore:red,bold' +lexers.STYLE_TYPE = 'fore:green,bold' +lexers.STYLE_VARIABLE = 'fore:blue,bold' +lexers.STYLE_WHITESPACE = '' +lexers.STYLE_EMBEDDED = 'back:blue,bold' +lexers.STYLE_IDENTIFIER = 'fore:white' + +lexers.STYLE_LINENUMBER = 'fore:white' +lexers.STYLE_CURSOR = 'reverse' +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:red' +lexers.STYLE_SELECTION = 'back:white' diff --git a/lua/themes/default-16.lua b/lua/themes/default-16.lua new file mode 120000 index 0000000..51192b4 --- /dev/null +++ b/lua/themes/default-16.lua @@ -0,0 +1 @@ +dark-16.lua
\ No newline at end of file diff --git a/lua/themes/default-256.lua b/lua/themes/default-256.lua new file mode 120000 index 0000000..8479b1b --- /dev/null +++ b/lua/themes/default-256.lua @@ -0,0 +1 @@ +solarized.lua
\ No newline at end of file diff --git a/lua/themes/light-16.lua b/lua/themes/light-16.lua new file mode 100644 index 0000000..b4ba391 --- /dev/null +++ b/lua/themes/light-16.lua @@ -0,0 +1,31 @@ +-- Eight-color scheme +local lexers = vis.lexers +-- light +lexers.STYLE_DEFAULT = 'back:white,fore:black' +lexers.STYLE_NOTHING = 'back:white' +lexers.STYLE_CLASS = 'fore:yellow,bold' +lexers.STYLE_COMMENT = 'fore:blue,bold' +lexers.STYLE_CONSTANT = 'fore:cyan,bold' +lexers.STYLE_DEFINITION = 'fore:blue,bold' +lexers.STYLE_ERROR = 'fore:red,italics' +lexers.STYLE_FUNCTION = 'fore:blue,bold' +lexers.STYLE_KEYWORD = 'fore:yellow,bold' +lexers.STYLE_LABEL = 'fore:green,bold' +lexers.STYLE_NUMBER = 'fore:red,bold' +lexers.STYLE_OPERATOR = 'fore:cyan,bold' +lexers.STYLE_REGEX = 'fore:green,bold' +lexers.STYLE_STRING = 'fore:red,bold' +lexers.STYLE_PREPROCESSOR = 'fore:magenta,bold' +lexers.STYLE_TAG = 'fore:red,bold' +lexers.STYLE_TYPE = 'fore:green,bold' +lexers.STYLE_VARIABLE = 'fore:blue,bold' +lexers.STYLE_WHITESPACE = '' +lexers.STYLE_EMBEDDED = 'back:blue,bold' +lexers.STYLE_IDENTIFIER = 'fore:black' + +lexers.STYLE_LINENUMBER = 'fore:black' +lexers.STYLE_CURSOR = 'reverse' +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:red' +lexers.STYLE_SELECTION = 'back:black' diff --git a/lua/themes/solarized.lua b/lua/themes/solarized.lua new file mode 100644 index 0000000..fcbd704 --- /dev/null +++ b/lua/themes/solarized.lua @@ -0,0 +1,59 @@ +-- Solarized color codes Copyright (c) 2011 Ethan Schoonover +local lexers = vis.lexers + +local colors = { + ['base03'] = '234', -- '#002b36', + ['base02'] = '235', -- '#073642', + ['base01'] = '239', -- '#586e75', + ['base00'] = '240', -- '#657b83', + ['base0'] = '244', -- '#839496', + ['base1'] = '245', -- '#93a1a1', + ['base2'] = '187', -- '#eee8d5', + ['base3'] = '230', -- '#fdf6e3', + ['yellow'] = '136', -- '#b58900', + ['orange'] = '166', -- '#cb4b16', + ['red'] = '124', -- '#dc322f', + ['magenta'] = '125', -- '#d33682', + ['violet'] = '61', -- '#6c71c4', + ['blue'] = '33', -- '#268bd2', + ['cyan'] = '37', -- '#2aa198', + ['green'] = '64', -- '#859900', +} + +lexers.colors = colors +-- dark +local fg = ',fore:'..colors.base0..',' +local bg = ',back:'..colors.base03..',' +-- light +-- local fg = ',fore:'..colors.base03..',' +-- local bg = ',back:'..colors.base3..',' + +lexers.STYLE_DEFAULT = bg..fg +lexers.STYLE_NOTHING = bg +lexers.STYLE_CLASS = 'fore:yellow' +lexers.STYLE_COMMENT = 'fore:'..colors.base01 +lexers.STYLE_CONSTANT = 'fore:'..colors.cyan +lexers.STYLE_DEFINITION = 'fore:'..colors.blue +lexers.STYLE_ERROR = 'fore:'..colors.red..',italics' +lexers.STYLE_FUNCTION = 'fore:'..colors.blue +lexers.STYLE_KEYWORD = 'fore:'..colors.green +lexers.STYLE_LABEL = 'fore:'..colors.green +lexers.STYLE_NUMBER = 'fore:'..colors.cyan +lexers.STYLE_OPERATOR = 'fore:'..colors.green +lexers.STYLE_REGEX = 'fore:green' +lexers.STYLE_STRING = 'fore:'..colors.cyan +lexers.STYLE_PREPROCESSOR = 'fore:'..colors.orange +lexers.STYLE_TAG = 'fore:'..colors.red +lexers.STYLE_TYPE = 'fore:'..colors.yellow +lexers.STYLE_VARIABLE = 'fore:'..colors.blue +lexers.STYLE_WHITESPACE = '' +lexers.STYLE_EMBEDDED = 'back:blue' +lexers.STYLE_IDENTIFIER = fg + +lexers.STYLE_LINENUMBER = fg +lexers.STYLE_CURSOR = 'fore:'..colors.base03..',back:'..colors.base0 +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',back:yellow' +lexers.STYLE_CURSOR_LINE = 'back:'..colors.base02 +lexers.STYLE_COLOR_COLUMN = 'back:'..colors.base02 +-- lexers.STYLE_SELECTION = 'back:'..colors.base02 +lexers.STYLE_SELECTION = 'back:white' |
