fork/helix

git clone https://git.julia.blue/fork/helix

Krishanadd new theme keys for LSP diagnostic tags (#10064)47ef9f0c

24.07
4.4 KiB116 linesraw
1# Author : Joe Mckay joemckay3006@gmail.com
2# Palette from https://github.com/haishanh/night-owl.vim
3
4'warning' = { fg = 'peach', modifiers = ['dim'] }
5'error' = { fg = 'red', modifiers = ['dim'] }
6'info' = { fg = 'blue', modifiers = ['dim'] }
7'hint' = { fg = 'paleblue', modifiers = ['dim'] }
8
9"diagnostic.warning" = { underline = { color = "peach", style = "curl" } }
10"diagnostic.error" = { underline = { color = "red", style = "curl" } }
11"diagnostic.info" = { underline = { color = "blue", style = "curl" } }
12"diagnostic.hint" = { underline = { color = "paleblue", style = "curl" } }
13"diagnostic.unnecessary" = { modifiers = ["dim"] }
14"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
15
16# UI
17'ui.background' = { fg = 'foreground', bg = 'background' }
18'ui.window' = { fg = 'grey7' }
19'ui.gutter' = { bg = 'grey2' }
20'ui.text' = { fg = 'foreground' }
21'ui.text.focus' = { fg = 'foreground' }
22'ui.text.info' = { fg = 'foreground'}
23'ui.cursor' = { fg = 'background', bg = 'blue' }
24'ui.cursor.primary' = { fg = 'background', bg = 'gold' }
25'ui.cursor.match' = { bg = 'selection', modifiers = ['underlined'] }
26'ui.selection' = { bg = 'selection', modifiers = ['dim'] }
27'ui.linenr' = { fg = 'grey4', bg = 'background2' }
28'ui.linenr.selected' = { fg = 'greyE', bg = 'background2'  }
29'ui.statusline' = { fg = 'greyE', bg = 'background2' }
30'ui.statusline.inactive' = { fg = 'grey7', bg = 'background2' }
31'ui.statusline.normal' = { bg = 'slate' }
32'ui.statusline.insert' = { bg = 'peach' }
33'ui.statusline.select' = { bg = 'green' }
34'ui.menu' = { fg = 'foreground', bg = 'selection' }
35'ui.menu.selected' = { fg = 'foreground', bg = 'pink' }
36'ui.popup' = { fg = 'foreground', bg = 'background2' }
37'ui.popup.info' = { fg = 'gold', bg = 'background2'}
38'ui.help' = { fg = 'gold', bg = 'background2'}
39'ui.virtual.ruler' = { bg = 'grey4' }
40'ui.virtual.whitespace' = { fg = 'grey4' }
41'ui.cursorline.primary' = { bg = 'background2' }
42
43# SYNTAX
44'type' = { fg = 'green' }
45'constructor' = { fg = 'blue' }
46'constant' = { fg = 'foreground' }
47'constant.builtin' = { fg = 'paleblue' }
48'constant.character.escape' = { fg = 'peach' }
49'string' = { fg = 'gold' }
50'string.regexp' = { fg = 'green' }
51'string.special.url' = { fg = 'gold', modifiers = ['underlined'] }
52'comment' = { fg = 'slate', modifiers = ['italic'] }
53'comment.block.documentation' = { fg = 'slate' }
54'variable' = { fg = 'green' }
55'variable.builtin' = { fg = 'green', modifiers = ['italic'] }
56'label' = { fg = 'foreground' }
57'punctuation' = { fg = 'foreground' }
58'punctuation.special' = { fg = 'pink' }
59'keyword' = { fg = 'pink' }
60'keyword.control.import' = { fg = 'green', modifiers = ['italic'] }
61'keyword.control.return' = { fg = 'pink', modifiers = ['italic'] }
62'keyword.control.exception' = { fg = 'red' }
63'operator' = { fg = 'pink' }
64'function' = { fg = 'blue' }
65'function.macro' = { fg = 'peach' }
66'function.special' = { fg = 'pink' }
67'tag' = { fg = 'blue' }
68'namespace' = { fg = 'peach' }
69'special' = { fg = 'greyE' }
70'module' = { fg = 'greyE' }
71'attribute' = { fg = 'paleblue' }
72
73# MARKUP
74'markup.heading' = { fg = 'blue', modifiers = ['bold'] }
75'markup.heading.marker' = { fg = 'grey4', modifiers = ['dim'] }
76'markup.heading.1' = { fg = 'blue', modifiers = ['bold'] }
77'markup.heading.2' = { fg = 'paleblue', modifiers = ['bold']  }
78'markup.heading.3' = { fg = 'green', modifiers = ['bold'] }
79'markup.heading.4' = { fg = 'pink', modifiers = ['bold'] }
80'markup.heading.5' = { fg = 'peach', modifiers = ['bold'] }
81'markup.heading.6' = { fg = 'slate', modifiers = ['bold'] }
82'markup.list' = { fg = 'pink' }
83'markup.bold' = { fg = 'foreground', modifiers = ['bold'] }
84'markup.italic' = { fg = 'foreground', modifiers = ['italic'] }
85'markup.strikethrough' = { fg = 'foreground', modifiers = ['crossed_out'] }
86'markup.link' = { fg = 'pink', modifiers = ['underlined'] }
87'markup.link.url' = { fg = 'slate', modifiers = ['underlined'] }
88'markup.quote' = { fg = 'green', modifiers = ['italic'] }
89'markup.raw' = { fg = 'gold', bg = 'background2' }
90
91# DIFF
92'diff.plus' = { fg = 'green' }
93'diff.minus' = { fg = 'red' }
94'diff.delta' = { fg = 'blue' }
95'diff.delta.moved' = { fg = 'blue', modifiers = ['italic'] }
96
97[palette]
98background = '#011627'
99background2 = '#112630'
100foreground = '#d6deeb'
101selection = '#2d2c5d'
102
103slate = '#637777'
104red = '#ff5874'
105peach = '#f78c6c'
106gold = '#ecc48d'
107pink = '#c792ea'
108green = '#addb67'
109blue = '#82aaff'
110paleblue = '#7fdbca'
111
112# Greys are named after their value.
113grey2 = '#222222'
114grey4 = '#444444'
115grey7 = '#777777'
116greyE = '#eeeeee'