about summary refs log tree commit diff stats
path: root/config/vis/themes/causalagency.lua
blob: 723328ae1412da6b93c41d9f145e7e1b1738e4f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
-- uses 24-bit color values, based off causalagency's scheme
local lexers = vis.lexers

local colors = {
	['black'] = '#16150e',
	['red'] = '#a32810',
	['green'] = '#727a18',
	['brown'] = '#a37720',
	['blue'] = '#3d6266',
	['purp'] = '#7a4955',
	['cyan'] = '#557a55',
	['ligrey'] = '#8e8463',
	['dagrey'] = '#4c4635',
	['lired'] = '#cc3214',
	['ligreen'] = '#8e991e',
	['yellow'] = '#cc9528',
	['liblue'] = '#4c7b7f',
	['lipurp'] = '#995b6b',
	['licyan'] = '#6b996b',
	['white'] = '#ccbc8e',
	['back'] = '#14130e',
	['fore'] = '#b7a980',
	['sel'] = '#a34110',
	['curs'] = '#72694f',
}

local fg = ',fore:'..colors.fore..','
local bg = ',back:'..colors.back..','

lexers.STYLE_DEFAULT = bg..fg
lexers.STYLE_NOTHING = bg
lexers.STYLE_CLASS = 'fore:'..colors.yellow
lexers.STYLE_COMMENT = 'fore:'..colors.ligrey..',italics'
lexers.STYLE_CONSTANT = 'fore:'..colors.cyan
lexers.STYLE_DEFINITION = 'fore:'..colors.blue
lexers.STYLE_ERROR = 'back:'..colors.lired..fg..',italics'
lexers.STYLE_FUNCTION = 'fore:'..colors.cyan
lexers.STYLE_KEYWORD = 'fore:'..colors.liblue
lexers.STYLE_LABEL = 'fore:'..colors.yellow
lexers.STYLE_NUMBER = 'fore:'..colors.cyan
lexers.STYLE_OPERATOR = 'fore:'..colors.ligrey
lexers.STYLE_REGEX = 'fore:'..colors.ligreen
lexers.STYLE_STRING = 'fore:'..colors.cyan
lexers.STYLE_PREPROCESSOR = 'fore:'..colors.green
lexers.STYLE_TAG = 'fore:'..colors.green
lexers.STYLE_TYPE = 'fore:'..colors.licyan
lexers.STYLE_VARIABLE = 'fore:'..colors.licyan
lexers.STYLE_WHITESPACE = 'fore:'..colors.dagrey
lexers.STYLE_EMBEDDED = 'back:'..colors.lipurp
lexers.STYLE_IDENTIFIER = 'fore:'..colors.green

lexers.STYLE_LINENUMBER = 'fore:'..colors.dagrey
lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.back..',fore:'..colors.ligrey
lexers.STYLE_CURSOR = 'fore:'..colors.curs..',reverse'
lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',bold'
lexers.STYLE_CURSOR_LINE = 'fore:'..colors.dagrey
lexers.STYLE_COLOR_COLUMN = 'back:'..colors.dagrey
lexers.STYLE_SELECTION = 'back:'..colors.sel
lexers.STYLE_STATUS = 'fore:'..colors.ligrey..',back:'..colors.black
lexers.STYLE_STATUS_FOCUSED = 'fore:'..colors.dagrey..',back:'..colors.white
lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
lexers.STYLE_INFO = lexers.STYLE_DEFAULT..',bold'
lexers.STYLE_EOF = ''