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