fork/helix

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

Caleb Larsenchore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation'091f19f6

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