fork/helix

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

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

25.01.1
3.7 KiB131 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"ui.statusline.inactive" = { fg = "base8", bg = "base8x0c" }
19
20# status bars, panels, modals, autocompletion
21"ui.statusline" = { fg = "base8", bg = "base4" }
22"ui.popup" = { bg = "base3" }
23"ui.window" = { bg = "base3" }
24"ui.help" = { fg = "base8", bg = "base3" }
25
26# active line, highlighting
27"ui.selection" = { bg = "base4" }
28"ui.cursor.match" = { bg = "base4" }
29"ui.cursorline" = { bg = "base1" }
30
31# bufferline, inlay hints
32"ui.bufferline" = { fg = "base6", bg = "base8x0c" }
33"ui.bufferline.active" = { fg = "base8", bg = "base4" }
34"ui.virtual.inlay-hint" = { fg = "base6" }
35
36# comments, nord3 based lighter color
37"comment" = { fg = "base5", modifiers = ["italic"] }
38"ui.linenr" = { fg = "base5" }
39
40# cursor, variables, constants, attributes, fields
41"ui.cursor.primary" = { fg = "base7", modifiers = ["reversed"] }
42"attribute" = "blue"
43"variable"  = "base8"
44"constant"  = "orange"
45"variable.builtin" = "red"
46"constant.builtin" = "red"
47"namespace" = "base8"
48
49# base text, punctuation
50"ui.text" = { fg = "base8" }
51"punctuation" = "base6"
52
53# classes, types, primitives
54"type" = "green"
55"type.builtin" = { fg = "red"}
56"label" = "base8"
57
58# declaration, methods, routines
59"constructor" = "blue"
60"function" = "green"
61"function.macro" = { fg = "blue" }
62"function.builtin" = { fg = "cyan" }
63
64# operator, tags, units, punctuations
65"operator" = "red"
66"variable.other.member" = "base8"
67
68# keywords, special
69"keyword" = { fg = "red" }
70"keyword.directive" = "blue"
71"variable.parameter" = "#f59762"
72
73# error
74"error" = "red"
75
76# annotations, decorators
77"special" = "#f59762"
78"module" = "#f59762"
79
80# warnings, escape characters, regex
81"warning" = "orange"
82"constant.character.escape" = { fg = "base8" }
83
84# strings
85"string" = "yellow"
86
87# integer, floating point
88"constant.numeric" = "purple"
89
90# vcs
91"diff.plus" = "green"
92"diff.delta" = "orange"
93"diff.minus" = "red"
94
95# make diagnostic underlined, to distinguish with selection text.
96"diagnostic.warning" = { underline = { color = "orange", style = "curl" } }
97"diagnostic.error" = { underline = { color = "red", style = "curl" } }
98"diagnostic.info" = { underline = { color = "base8", style = "curl" } }
99"diagnostic.hint" = { underline = { color = "base8", style = "curl" } }
100"diagnostic.unnecessary" = { modifiers = ["dim"] }
101"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
102
103# markup highlight, no need for `markup.raw` and `markup.list`, make them to be default
104"markup.heading" = "green"
105"markup.bold" = { fg = "orange", modifiers = ["bold"] }
106"markup.italic" = { fg = "orange", modifiers = ["italic"] }
107"markup.strikethrough" = { modifiers = ["crossed_out"] }
108"markup.link.url" = { fg = "orange", modifiers = ["underlined"] }
109"markup.link.text" = "yellow"
110"markup.quote" = "green"
111
112[palette]
113# primary colors
114"red" = "#ff6d7e"
115"orange" = "#ffb270"
116"yellow" = "#ffed72"
117"green" = "#a2e57b"
118"blue" = "#7cd5f1"
119"purple" = "#baa0f8"
120# base colors
121"base0" = "#161b1e"
122"base1" = "#1d2528"
123"base2" = "#273136"
124"base3" = "#3a4449"
125"base4" = "#545f62"
126"base5" = "#6b7678"
127"base6" = "#798384"
128"base7" = "#b8c4c3"
129"base8" = "#f2fffc"
130# variants
131"base8x0c" = "#303a3e"