1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- -- Custom color codes Copyright (c) 2018 satorialist, base colors taken from Ethan Schoonover's solarized theme
- local lexers = vis.lexers
- local colors = {
- base04 = '#060206',
- base03 = '#442244',
- base02 = '#053440',
- base01 = '#586e75',
- base00 = '#657b83',
- base0 = '#c8d7d8',
- --base0 = '#9facad',
- base1 = '#93a1a1',
- base2 = '#eee8d5',
- base3 = '#fdf6e3',
- yellow = '#ff9fc9',
- orange = '#b50082',
- red = '#a43261',
- magenta = '#8100b3',
- violet = '#c774e8',
- blue = '#7b5bca',
- cyan = '#3ab1a8',
- green = '#0063af',
- }
- lexers.colors = colors
- -- dark
- local fg = ',fore:'..colors.base0..','
- local bg = ',back:'..colors.base04..','
- -- light
- -- local fg = ',fore:'..colors.base04..','
- -- 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 = 'fore:'..colors.base03
- lexers.STYLE_EMBEDDED = 'back:blue'
- lexers.STYLE_IDENTIFIER = fg
- lexers.STYLE_LINENUMBER = 'fore:'..colors.base04..',back:'..colors.base00
- lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.base04..',fore:'..colors.base00
- lexers.STYLE_CURSOR = 'fore:'..colors.base04..',back:'..colors.base00
- lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',back:'..colors.base0
- 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'
- lexers.STYLE_STATUS = 'back:'..colors.base00..',fore:'..colors.base02
- lexers.STYLE_STATUS_FOCUSED = 'back:'..colors.base1..',fore:'..colors.base02
- lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
- lexers.STYLE_INFO = 'fore:default,back:default,bold'
- lexers.STYLE_EOF = 'fore:'..colors.base01
|