fork/helix

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

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

master
3.9 KiB134 linesraw
1# Author : WindSoilder<WindSoilder@outlook.com>
2# The unofficial Monokai Pro theme, simply migrate from jetbrains monokai pro theme: https://github.com/subtheme-dev/monokai-pro
3# Credit goes to the original creator: https://monokai.pro
4
5"ui.linenr.selected" = { bg = "base3" }
6"ui.text.focus" = { fg = "yellow", modifiers= ["bold"] }
7"ui.menu" = { fg = "base8", bg = "base3" }
8"ui.menu.selected" = { fg = "base2", bg = "yellow" }
9"ui.virtual.whitespace" = "base5"
10"ui.virtual.ruler" = { bg = "base1" }
11"ui.virtual.jump-label" = { fg = "red", modifiers = ["bold"] }
12
13"info" = "base8"
14"hint" = "base8"
15
16# background color
17"ui.background" = { bg = "base2" }
18
19# status bars, panels, modals, autocompletion
20"ui.statusline" = { fg = "base8", bg = "base4" }
21"ui.statusline.inactive" = { fg = "base8", bg = "base8x0c" }
22"ui.statusline.normal" = { fg = "base4", bg = "blue" }
23"ui.statusline.insert" = { fg = "base4", bg = "green" }
24"ui.statusline.select" = { fg = "base4", bg = "purple" }
25"ui.popup" = { bg = "base3" }
26"ui.window" = { bg = "base3" }
27"ui.help" = { fg = "base8", bg = "base3" }
28
29# active line, highlighting
30"ui.selection" = { bg = "base4" }
31"ui.cursor.match" = { bg = "base4" }
32"ui.cursorline" = { bg = "base1" }
33
34# bufferline, inlay hints
35"ui.bufferline" = { fg = "base6", bg = "base8x0c" }
36"ui.bufferline.active" = { fg = "base8", bg = "base4" }
37"ui.virtual.inlay-hint" = { fg = "base6" }
38
39# comments, nord3 based lighter color
40"comment" = { fg = "base5", modifiers = ["italic"] }
41"ui.linenr" = { fg = "base5" }
42
43# cursor, variables, constants, attributes, fields
44"ui.cursor.primary" = { fg = "base7", modifiers = ["reversed"] }
45"attribute" = "blue"
46"variable"  = "base8"
47"constant"  = "orange"
48"variable.builtin" = "red"
49"constant.builtin" = "red"
50"namespace" = "base8"
51
52# base text, punctuation
53"ui.text" = { fg = "base8" }
54"punctuation" = "base6"
55
56# classes, types, primitives
57"type" = "green"
58"type.builtin" = { fg = "red"}
59"label" = "base8"
60
61# declaration, methods, routines
62"constructor" = "blue"
63"function" = "green"
64"function.macro" = { fg = "blue" }
65"function.builtin" = { fg = "cyan" }
66
67# operator, tags, units, punctuations
68"operator" = "red"
69"variable.other.member" = "base8"
70
71# keywords, special
72"keyword" = { fg = "red" }
73"keyword.directive" = "blue"
74"variable.parameter" = "#f59762"
75
76# error
77"error" = "red"
78
79# annotations, decorators
80"special" = "#f59762"
81"module" = "#f59762"
82
83# warnings, escape characters, regex
84"warning" = "orange"
85"constant.character.escape" = { fg = "base8" }
86
87# strings
88"string" = "yellow"
89
90# integer, floating point
91"constant.numeric" = "purple"
92
93# vcs
94"diff.plus" = "green"
95"diff.delta" = "orange"
96"diff.minus" = "red"
97
98# make diagnostic underlined, to distinguish with selection text.
99"diagnostic.warning" = { underline = { color = "orange", style = "curl" } }
100"diagnostic.error" = { underline = { color = "red", style = "curl" } }
101"diagnostic.info" = { underline = { color = "base8", style = "curl" } }
102"diagnostic.hint" = { underline = { color = "base8", style = "curl" } }
103"diagnostic.unnecessary" = { modifiers = ["dim"] }
104"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
105
106# markup highlight, no need for `markup.raw` and `markup.list`, make them to be default
107"markup.heading" = "green"
108"markup.bold" = { fg = "orange", modifiers = ["bold"] }
109"markup.italic" = { fg = "orange", modifiers = ["italic"] }
110"markup.strikethrough" = { modifiers = ["crossed_out"] }
111"markup.link.url" = { fg = "orange", modifiers = ["underlined"] }
112"markup.link.text" = "yellow"
113"markup.quote" = "green"
114
115[palette]
116# primary colors
117"red" = "#ff6188"
118"orange" = "#fc9867"
119"yellow" = "#ffd866"
120"green" = "#a9dc76"
121"blue" = "#78dce8"
122"purple" = "#ab9df2"
123# base colors, sorted from darkest to lightest
124"base0" = "#19181a"
125"base1" = "#221f22"
126"base2" = "#2d2a2e"
127"base3" = "#403e41"
128"base4" = "#5b595c"
129"base5" = "#727072"
130"base6" = "#939293"
131"base7" = "#c1c0c0"
132"base8" = "#fcfcfa"
133# variants (for when transparency isn't supported)
134"base8x0c" = "#363337" # using base2 as bg