fork/helix

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

Conalltheme: Papercolor recognises `hint`, re-colored `warning` (#14861)8883163f

master
8.2 KiB219 linesraw
1# Palette based on https://github.com/NLKNguyen/papercolor-theme
2# Author: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
3
4"ui.linenr.selected" = { fg = "cursorlinenr_fg", modifiers = ["bold"] }
5"ui.linenr" = { fg = "linenumber_fg" }
6"ui.background" = { bg = "background" }
7"ui.text" = "foreground"
8"ui.text.focus" = { fg = "selection_bg", modifiers = ["bold"] }
9"ui.selection" = { bg = "selection_secondary_bg", fg = "selection_secondary_fg" }
10"ui.selection.primary" = { bg = "selection_bg", fg = "selection_fg" }
11"ui.highlight" = { bg = "cursorline_bg" }
12
13"ui.cursorline" = { bg = "cursorline_bg" }
14"ui.cursorline.secondary" = { bg = "cursorline_secondary_bg" }
15"ui.cursorcolumn" = { bg = "cursorline_bg" }
16"ui.cursorcolumn.secondary" = { bg = "cursorcolumn_secondary_bg" }
17
18"ui.statusline" = { bg = "statusline_active_bg", fg = "statusline_active_fg" }
19"ui.statusline.inactive" = { bg = "statusline_inactive_bg", fg = "statusline_inactive_fg" }
20"ui.statusline.normal" = { bg = "statusline_inactive_bg", fg = "bright6" }
21"ui.statusline.insert" = { bg = "statusline_inactive_bg", fg = "bright4" }
22"ui.statusline.select" = { bg = "statusline_inactive_bg", fg = "regular3" }
23"ui.statusline.separator" = { bg = "statusline_active_bg", fg = "statusline_active_bg" }
24
25"ui.virtual" = { fg = "cursorlinenr_fg" }
26"ui.virtual.whitespace" = { fg = "regular5" }
27"ui.virtual.indent-guide" = { fg = "bright0" }
28"ui.virtual.ruler" = { bg = "cursorline_secondary_bg", fg = "regular4" }
29"ui.virtual.inlay-hint" = { fg = "regular5", modifiers = ["italic"] }
30"ui.virtual.inlay-hint.parameter" = { fg = "regular5", modifiers = ["italic"] }
31"ui.virtual.inlay-hint.type" = { fg = "regular5", modifiers = ["bold", "italic"] }
32"ui.virtual.jump-label" = { fg = "bright1", modifiers = ["bold"] }  
33"ui.cursor.match" = { bg = "matchparen_bg", fg = "matchparen_fg" }
34"ui.cursor" = { bg = "regular5", fg = "background" }
35"ui.cursor.primary" = { bg = "foreground", fg = "background" }
36"ui.window" = { fg = "vertsplit_fg" }
37"ui.help" = { bg = "wildmenu_bg", fg = "wildmenu_fg" }
38"ui.popup" = { bg = "popupmenu_bg", fg = "popupmenu_fg" }
39"ui.popup.info" = { bg = "popupmenu_bg", fg = "bright7", modifiers = ["bold"] }
40"ui.menu" = { bg = "popupmenu_bg", fg = "foreground" }
41"ui.menu.selected" = { bg = "selection_bg", fg = "selection_fg" }
42
43"warning" = "bright4"
44"hint" = "bright6"
45"error" = { bg = "error_bg", fg = "error_fg" }
46"info" = "todo_fg"
47
48"diagnostic.warning" = { fg = "bright0", modifiers = [
49  "dim",
50], underline = { color = "bright5", style = "curl" } }
51"diagnostic.error".underline = { color = "bright1", style = "curl" }
52"diagnostic.info".underline = { color = "bright4", style = "curl" }
53"diagnostic.hint".underline = { color = "bright6", style = "curl" }
54"diagnostic.unnecessary" = { modifiers = ["dim"] }
55"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
56
57# Tree-sitter scopes for syntax highlighting
58"attribute" = "bright4"
59
60"type" = { fg = "bright2", modifiers = ["bold"] }
61"type.builtin" = { fg = "bright2", modifiers = ["bold"] }
62"type.parameter" = { fg = "foreground" }
63"type.enum" = { fg = "foreground" }
64"type.enum.variant" = { fg = "foreground" }
65
66"constructor" = "foreground"
67
68"constant" = "bright5"
69"constant.builtin" = "regular3"
70"constant.builtin.boolean" = { fg = "regular2", modifiers = ["bold"] }
71"constant.character.escape" = { fg = "bright3", modifiers = ["bold"] }
72"constant.character" = { fg = "regular3" }
73"constant.numeric" = "bright5"
74
75"string" = "regular3"
76"string.regexp" = "bright3"
77
78"comment" = { fg = "regular5", modifiers = ["italic"] }
79"comment.line" = { fg = "regular5", modifiers = ["italic"] }
80"comment.line.documentation" = { fg = "regular5", modifiers = ["bold"] }
81"comment.block" = { fg = "regular5", modifiers = ["italic"] }
82"comment.block.documentation" = { fg = "regular5", modifiers = ["bold"] }
83
84"variable" = "foreground"
85"variable.builtin" = "bright5"
86"variable.other.member" = "foreground"
87"variable.parameter" = "foreground"
88
89"label" = { fg = "selection_bg", modifiers = ["bold", "italic"] }
90
91"punctuation" = { fg = "foreground" }
92"punctuation.delimiter" = { fg = "regular4", modifiers = ["bold"] }
93"punctuation.bracket" = { fg = "foreground" }
94"punctuation.special" = { fg = "bright1", modifiers = ["bold"] }
95
96"keyword" = { fg = "bright2" }
97"keyword.control" = "bright1"
98"keyword.control.conditional" = { fg = "bright3", modifiers = ["bold"] }
99"keyword.control.repeat" = { fg = "bright3", modifiers = ["bold"] }
100"keyword.control.import" = { fg = "bright2" }
101"keyword.control.return" = { fg = "bright2" }
102"keyword.control.exception" = { fg = "bright1" }
103
104"keyword.operator" = { fg = "regular4", modifiers = ["bold"] }
105"keyword.directive" = "regular4"
106"keyword.function" = "bright2"
107"keyword.storage" = "bright2"
108"keyword.storage.type" = { fg = "regular4", modifiers = ["bold"] }
109"keyword.storage.modifier" = { fg = "regular6", modifiers = ["bold"] }
110"keyword.storage.modifier.ref" = { fg = "regular4", modifiers = ["bold"] }
111"keyword.special" = "bright1"
112
113"operator" = { fg = "regular4", modifiers = ["bold"] }
114
115"function" = { fg = "foreground" }
116"function.builtin" = { fg = "bright6" }
117"function.method" = { fg = "foreground" }
118"function.macro" = { fg = "regular3", modifiers = ["bold"] }
119"function.special" = { fg = "bright4" }
120
121"tag" = { fg = "regular4" }
122
123"namespace" = "bright6"
124
125"special" = "special"
126
127"markup.heading" = { fg = "bright4", modifiers = ["bold"] }
128"markup.heading.marker" = { fg = "bright2", modifiers = ["bold"] }
129"markup.heading.1" = { fg = "bright2", modifiers = ["bold"] }
130"markup.heading.2" = { fg = "bright5", modifiers = ["bold"] }
131"markup.heading.3" = { fg = "bright3", modifiers = ["bold"] }
132"markup.heading.4" = { fg = "bright4", modifiers = ["bold"] }
133"markup.heading.5" = { fg = "bright4", modifiers = ["bold"] }
134"markup.heading.6" = { fg = "bright4", modifiers = ["bold"] }
135"markup.list" = "regular4"
136"markup.bold" = { fg = "foreground", modifiers = ["bold"] }
137"markup.italic" = { modifiers = ["italic"] }
138"markup.strikethrough" = { modifiers = ["crossed_out"] }
139"markup.link.url" = { fg = "bright6", underline.style = "line" }
140"markup.link.text" = "bright2"
141"markup.link.label" = { fg = "regular2", modifiers = ["bold"] }
142"markup.quote" = "regular4"
143# Both inline and block code
144"markup.raw" = "regular3"
145
146"diff.plus" = { bg = "diffadd_bg", fg = "diffadd_fg" }
147"diff.delta" = { bg = "diffchange_bg" }
148"diff.delta.moved" = { modifiers = ["italic"] }
149"diff.minus" = { bg = "diffdelete_bg", fg = "diffdelete_fg" }
150
151[palette]
152background = "#eeeeee"
153foreground = "#444444"
154regular0 = "#eeeeee"   # color00 "Background"
155regular1 = "#af0000"   # color01 "Negative"
156regular2 = "#008700"   # color02 "Positive"
157regular3 = "#5f8700"   # color03 "Olve"
158regular4 = "#0087af"   # color04 "Neutral" / Aqua
159regular5 = "#878787"   # color05 "Comment"
160regular6 = "#005f87"   # color06 "Navy"
161regular7 = "#444444"   # color07 "Foreground"
162bright0 = "#bcbcbc"    # color08 "Nontext"
163bright1 = "#d70000"    # color09 "Red"
164bright2 = "#d70087"    # color10 "Pink"
165bright3 = "#8700af"    # color11 "Purple"
166bright4 = "#d75f00"    # color12 "Accent"
167bright5 = "#d75f00"    # color13 "Orange"
168bright6 = "#005faf"    # color14 "Blue"
169bright7 = "#005f87"    # color15 "Highlight"
170
171selection_fg = "#eeeeee"
172selection_bg = "#0087af"
173selection_secondary_fg = "#d9d7d7"
174selection_secondary_bg = "#2c687a"
175special = "#3e999f"
176
177cursorline_bg = "#e4e4e4"
178cursorline_secondary_bg = "#eaeaea"
179cursorcolumn_bg = "#e4e4e4"
180cursorcolumn_secondary_bg = "#eaeaea"
181cursorlinenr_fg = "#af5f00"
182popupmenu_fg = "#444444"
183popupmenu_bg = "#d0d0d0"
184linenumber_fg = "#b2b2b2"
185vertsplit_fg = "#005f87"
186statusline_active_fg = "#e4e4e4"
187statusline_active_bg = "#005f87"
188statusline_inactive_fg = "#444444"
189statusline_inactive_bg = "#d0d0d0"
190todo_fg = "#00af5f"
191error_fg = "#af0000"
192error_bg = "#ffd7ff"
193matchparen_bg = "#c6c6c6"
194matchparen_fg = "#005f87"
195wildmenu_fg = "#444444"
196wildmenu_bg = "#ffff00"
197diffadd_fg = "#008700"
198diffadd_bg = "#afffaf"
199diffdelete_fg = "#af0000"
200diffdelete_bg = "#ffd7ff"
201diffchange_bg = "#ffd787"
202
203# 16 bit ANSI color names
204black = "#eeeeee"
205red = "#d70000"
206green = "#008700"
207yellow = "#5f8700"
208blue = "#0087af"
209magenta = "#878787"
210cyan = "#005f87"
211white = "#444444"
212light-black = "#bcbcbc"
213light-red = "#d70000"
214light-green = "#d70087"
215light-yellow = "#8700af"
216light-blue = "#d75f00"
217light-magenta = "#d75f00"
218light-cyan = "#4c7a4d"
219light-white = "#005faf"