Skip to main content

max / alloy_tui

9.0 KB · 262 lines History Blame Raw
1 # Author: Shu Kutsuzawa <cappyzawa@gmail.com>
2 # License: MIT
3 # Akari Night — A dark palette inspired by Japanese alleys lit by round lanterns.
4
5 # UI elements
6 "ui.background" = { bg = "background" }
7 "ui.text" = "foreground"
8 "ui.text.focus" = { fg = "selection-fg", bg = "selection-bg" }
9 "ui.text.inactive" = { fg = "bright-black" }
10 "ui.text.info" = { fg = "info" }
11 "ui.text.directory" = { fg = "directory" }
12
13 "ui.cursor" = { fg = "cursor-text", bg = "cursor" }
14 "ui.cursor.normal" = { fg = "cursor-text", bg = "cursor" }
15 "ui.cursor.primary" = { fg = "cursor-text", bg = "cursor" }
16 "ui.cursor.primary.normal" = { fg = "cursor-text", bg = "cursor" }
17 "ui.cursor.match" = { fg = "lantern", bg = "sunken", modifiers = ["bold"] }
18 "ui.cursor.insert" = { fg = "cursor-text", bg = "green" }
19 "ui.cursor.primary.insert" = { fg = "cursor-text", bg = "green" }
20 "ui.cursor.select" = { fg = "cursor-text", bg = "magenta" }
21 "ui.cursor.primary.select" = { fg = "cursor-text", bg = "magenta" }
22
23 "ui.selection" = { bg = "selection-bg" }
24 "ui.selection.primary" = { bg = "selection-bg" }
25
26 "ui.cursorline.primary" = { bg = "cursorline" }
27 "ui.cursorline.secondary" = { bg = "surface" }
28 "ui.cursorcolumn.primary" = { bg = "surface" }
29 "ui.cursorcolumn.secondary" = { bg = "surface" }
30
31 "ui.gutter" = { bg = "background" }
32 "ui.gutter.selected" = { bg = "cursorline" }
33 "ui.linenr" = { fg = "bright-black" }
34 "ui.linenr.selected" = { fg = "lantern" }
35
36 "ui.statusline" = { fg = "foreground", bg = "surface" }
37 "ui.statusline.inactive" = { fg = "comment", bg = "surface" }
38 "ui.statusline.normal" = { fg = "background", bg = "green", modifiers = ["bold"] }
39 "ui.statusline.insert" = { fg = "background", bg = "lantern", modifiers = ["bold"] }
40 "ui.statusline.select" = { fg = "background", bg = "magenta", modifiers = ["bold"] }
41 "ui.statusline.separator" = { fg = "bright-black", bg = "surface" }
42
43 "ui.popup" = { fg = "foreground", bg = "raised" }
44 "ui.popup.info" = { fg = "foreground", bg = "raised" }
45 "ui.window" = { fg = "border" }
46 "ui.background.separator" = { bg = "surface" }
47 "ui.help" = { fg = "foreground", bg = "raised" }
48
49 "ui.menu" = { fg = "foreground", bg = "raised" }
50 "ui.menu.selected" = { fg = "selection-fg", bg = "selection-bg" }
51 "ui.menu.scroll" = { fg = "bright-black", bg = "raised" }
52
53 "ui.virtual.ruler" = { bg = "surface" }
54 "ui.virtual.whitespace" = { fg = "bright-black" }
55 "ui.virtual.indent-guide" = { fg = "bright-black" }
56 "ui.virtual.inlay-hint" = { fg = "comment" }
57 "ui.virtual.inlay-hint.parameter" = { fg = "comment" }
58 "ui.virtual.inlay-hint.type" = { fg = "comment" }
59 "ui.virtual.wrap" = { fg = "bright-black" }
60 "ui.virtual.jump-label" = { fg = "bright-red", modifiers = ["bold"] }
61
62 "ui.debug.breakpoint" = { fg = "red" }
63 "ui.debug.active" = { fg = "lantern", modifiers = ["bold"] }
64
65 "ui.highlight" = { bg = "match-bg" }
66 "ui.highlight.frameline" = { bg = "surface" }
67
68 "ui.bufferline" = { fg = "bright-black", bg = "surface" }
69 "ui.bufferline.active" = { fg = "foreground", bg = "background" }
70 "ui.bufferline.background" = { bg = "surface" }
71
72 "ui.picker.header" = { fg = "bright-blue", modifiers = ["bold"] }
73 "ui.picker.header.column" = { fg = "bright-blue", modifiers = ["bold"] }
74 "ui.picker.header.column.active" = { fg = "lantern", modifiers = ["bold"] }
75
76 # Diagnostics
77 "error" = { fg = "red", modifiers = ["bold"] }
78 "warning" = { fg = "lantern" }
79 "info" = { fg = "blue" }
80 "hint" = { fg = "comment" }
81
82 "diagnostic.error" = { underline = { color = "red", style = "curl" } }
83 "diagnostic.warning" = { underline = { color = "lantern", style = "curl" } }
84 "diagnostic.info" = { underline = { color = "blue", style = "curl" } }
85 "diagnostic.hint" = { underline = { color = "comment", style = "curl" } }
86 "diagnostic.unnecessary" = { modifiers = ["dim"] }
87 "diagnostic.deprecated" = { modifiers = ["crossed_out"] }
88
89 "tabstop" = { underline = { color = "lantern", style = "dashed" } }
90
91 # Diff
92 "diff.plus" = "green"
93 "diff.plus.gutter" = "green"
94 "diff.minus" = "red"
95 "diff.minus.gutter" = "red"
96 "diff.delta" = "amber"
97 "diff.delta.gutter" = "amber"
98 "diff.delta.moved" = "diff-moved"
99 "diff.delta.conflict" = { fg = "conflict", modifiers = ["bold"] }
100
101 # Markup
102 "markup.heading" = { fg = "lantern", modifiers = ["bold"] }
103 "markup.heading.marker" = { fg = "comment" }
104 "markup.heading.1" = { fg = "lantern", modifiers = ["bold"] }
105 "markup.heading.2" = { fg = "amber", modifiers = ["bold"] }
106 "markup.heading.3" = { fg = "ember", modifiers = ["bold"] }
107 "markup.heading.4" = { fg = "amber" }
108 "markup.heading.5" = { fg = "comment", modifiers = ["bold"] }
109 "markup.heading.6" = { fg = "blue" }
110 "markup.list" = { fg = "cyan" }
111 "markup.list.numbered" = { fg = "lantern" }
112 "markup.list.unnumbered" = { fg = "cyan" }
113 "markup.list.checked" = { fg = "green" }
114 "markup.list.unchecked" = { fg = "comment" }
115 "markup.bold" = { modifiers = ["bold"] }
116 "markup.italic" = { modifiers = ["italic"] }
117 "markup.strikethrough" = { modifiers = ["crossed_out"] }
118 "markup.link.url" = { fg = "link", modifiers = ["underlined"] }
119 "markup.link.text" = { fg = "cyan" }
120 "markup.link.label" = { fg = "magenta" }
121 "markup.quote" = { fg = "comment", modifiers = ["dim"] }
122 "markup.raw" = { fg = "bright-green" }
123 "markup.raw.inline" = { fg = "bright-green" }
124 "markup.raw.block" = { fg = "bright-green" }
125 "markup.normal.completion" = "foreground"
126 "markup.normal.hover" = "foreground"
127 "markup.heading.completion" = { fg = "lantern", modifiers = ["bold"] }
128 "markup.heading.hover" = { fg = "lantern", modifiers = ["bold"] }
129 "markup.raw.inline.completion" = { fg = "bright-green" }
130 "markup.raw.inline.hover" = { fg = "bright-green" }
131
132 # Syntax highlighting
133 "attribute" = { fg = "amber" }
134 "type" = { fg = "amber" }
135 "type.builtin" = { fg = "yellow" }
136 "type.enum" = { fg = "amber" }
137 "type.enum.variant" = { fg = "amber" }
138 "type.parameter" = { fg = "yellow" }
139
140 "constructor" = { fg = "amber" }
141
142 "constant" = { fg = "constant" }
143 "constant.builtin" = { fg = "constant" }
144 "constant.builtin.boolean" = { fg = "constant" }
145 "constant.character" = { fg = "lantern" }
146 "constant.character.escape" = { fg = "escape" }
147 "constant.numeric" = { fg = "constant" }
148 "constant.numeric.integer" = { fg = "constant" }
149 "constant.numeric.float" = { fg = "constant" }
150
151 "string" = { fg = "green" }
152 "string.regexp" = { fg = "regexp" }
153 "string.regexp.special" = { fg = "bright-magenta" }
154 "string.special" = { fg = "green" }
155 "string.special.path" = { fg = "path" }
156 "string.special.url" = { fg = "link", modifiers = ["underlined"] }
157 "string.special.symbol" = { fg = "bright-magenta" }
158
159 "comment" = { fg = "comment", modifiers = ["dim"] }
160 "comment.line" = { fg = "comment", modifiers = ["dim"] }
161 "comment.line.documentation" = { fg = "comment", modifiers = ["dim"] }
162 "comment.block" = { fg = "comment", modifiers = ["dim"] }
163 "comment.block.documentation" = { fg = "comment", modifiers = ["dim"] }
164 "comment.unused" = { fg = "comment", modifiers = ["dim"] }
165
166 "variable" = "foreground"
167 "variable.builtin" = { fg = "bright-red" }
168 "variable.parameter" = "foreground"
169 "variable.other" = "foreground"
170 "variable.other.member" = "member"
171 "variable.other.member.private" = "member"
172
173 "label" = { fg = "amber" }
174
175 "punctuation" = "foreground"
176 "punctuation.bracket" = "foreground"
177 "punctuation.delimiter" = "foreground"
178 "punctuation.special" = { fg = "amber" }
179
180 "keyword" = { fg = "lantern" }
181 "keyword.control" = { fg = "lantern" }
182 "keyword.control.conditional" = { fg = "lantern" }
183 "keyword.control.repeat" = { fg = "lantern" }
184 "keyword.control.import" = { fg = "lantern" }
185 "keyword.control.return" = { fg = "lantern" }
186 "keyword.control.exception" = { fg = "lantern" }
187 "keyword.operator" = { fg = "lantern" }
188 "keyword.directive" = { fg = "macro" }
189 "keyword.function" = { fg = "lantern" }
190 "keyword.storage" = { fg = "lantern" }
191 "keyword.storage.type" = { fg = "lantern" }
192 "keyword.storage.modifier" = { fg = "lantern" }
193
194 "operator" = "foreground"
195
196 "function" = { fg = "magenta" }
197 "function.builtin" = { fg = "bright-magenta" }
198 "function.method" = { fg = "magenta" }
199 "function.method.private" = { fg = "magenta" }
200 "function.macro" = { fg = "macro" }
201 "function.special" = { fg = "bright-magenta" }
202
203 "tag" = { fg = "lantern" }
204 "tag.builtin" = { fg = "blue" }
205
206 "namespace" = { fg = "amber" }
207
208 "special" = { fg = "bright-yellow" }
209
210 "module" = { fg = "amber" }
211
212 # Palette definition (MUST be at the end of the file)
213 [palette]
214 background = "#25231F"
215 foreground = "#E6DED3"
216
217 cursor = "#E26A3B"
218 cursor-text = "#25231F"
219 selection-bg = "#51422E"
220 selection-fg = "#E6DED3"
221 cursorline = "#412E23"
222
223 surface = "#323333"
224 raised = "#363939"
225 border = "#3F4346"
226
227 black = "#1E1C19"
228 red = "#D25046"
229 green = "#7FAF6A"
230 yellow = "#D4A05A"
231 blue = "#7A8FA2"
232 magenta = "#8E7BA0"
233 cyan = "#6F8F8A"
234 white = "#E6DED3"
235
236 bright-black = "#716A5F"
237 bright-red = "#DE7F77"
238 bright-green = "#A1C492"
239 bright-yellow = "#E4C397"
240 bright-blue = "#A7B5C1"
241 bright-magenta = "#B4A7C0"
242 bright-cyan = "#9AB1AD"
243 bright-white = "#EFEAE3"
244
245 lantern = "#E26A3B"
246 ember = "#D65A3A"
247 amber = "#D4A05A"
248 constant = "#8CA6A1"
249 comment = "#9BABB9"
250 path = "#7FAF6A"
251 macro = "#B4A7C0"
252 escape = "#B4A7C0"
253 regexp = "#A1C492"
254 link = "#A7B5C1"
255 member = "#7A8FA2"
256 directory = "#6F8F8A"
257 sunken = "#412E23"
258 match-bg = "#4B3125"
259 info = "#7A8FA2"
260 diff-moved = "#7A8FA2"
261 conflict = "#D25046"
262