-
-
Notifications
You must be signed in to change notification settings - Fork 168
/
catppuccin.user.less
599 lines (572 loc) Β· 21.3 KB
/
catppuccin.user.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
/* ==UserStyle==
@name Lichess Catppuccin
@namespace github.com/catppuccin/userstyles/styles/lichess
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/lichess
@version 2024.12.31
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/lichess/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Alichess
@description Soothing pastel theme for Lichess
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:FrappΓ©", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:FrappΓ©", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var checkbox stylePieces "Style Pieces" 1
==/UserStyle== */
@-moz-document domain("lichess.org") {
:root:has(body[data-theme="light"]) {
#catppuccin(@lightFlavor);
}
:root:has(body[data-theme="dark"]) {
#catppuccin(@darkFlavor);
}
:root:has(body[data-theme="system"]) {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@flavor = latte, light, dark);
::selection {
background-color: fade(@accent, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
&,
body {
background: @base linear-gradient(to bottom, @crust, @base 116px)
no-repeat;
color: @text !important;
}
/* Button */
.site-title a {
color: @accent;
}
.site-title span {
color: @text;
}
/* Game selection menus */
.hooks__list td {
background-color: fade(@overlay0, 50%);
}
.hooks__list tr.join:hover td {
background-color: fade(@accent, 50%);
}
/* Topbar */
#topnav.hover section:hover > a,
#topnav section:active > a,
#topnav div,
.site-buttons .shown .toggle,
.site-buttons .dropdown {
background: @crust;
}
#topnav section > a {
color: @subtext0;
}
#topnav.hover section:hover > a,
#topnav section:active > a,
#topnav div a,
#dasher_app .selector button,
#dasher_app .head,
#dasher_app .piece .no-square,
#dasher_app .theme .list button,
#dasher_app .links a,
#dasher_app .links button,
#dasher_app .subs .sub,
.site-buttons .dropdown a,
.site-buttons .dropdown button {
color: @text;
}
#topnav.hover section:hover > a,
#topnav section:active > a,
#topnav div {
border-left-color: @accent;
}
signal > i {
background-color: @green;
}
#dasher_app .sub::before,
.is-green::before {
color: @green;
}
#challenge-app .empty {
background: @crust;
}
/* Popup skining */
dialog {
background: @crust;
}
.game-setup .optional-config,
.game-setup .ratings {
background: @base;
}
.game-setup .radio input:checked + label {
background: @green;
}
/* Text */
.site-buttons .link,
.button,
.input,
.optgroup,
.select,
.textarea,
.lobby__box td.name a,
.lobby__box__top .title,
.lobby__box .user-link,
.mini-game,
.mini-game:hover,
.text,
.ublog-post-card__title,
.lobby__counters a,
.lobby__streams .stream,
.lobby__timeline .entry a,
.lobby__about a,
.lobby__timeline,
.lobby__counters,
.tabs-horiz,
.lobby__streams .more,
.lobby__timeline .more,
.dialog-content,
button,
input,
optgroup,
select,
textarea {
color: @subtext0;
}
.site-buttons .link:hover,
.button.button-metal:hover,
.radio input:checked + label {
color: @text;
}
.site-title-nav__donate,
.lobby__streams .stream.highlight strong,
.utitle,
.lobby__support__text,
.lobby__support i::before {
color: @peach;
}
.mini-game__clock.clock--run,
.tabs-horiz span.active {
color: @red;
}
.tabs-horiz span.active,
.tabs-horiz span:hover {
border-color: @red;
}
a {
color: @blue;
}
/* Links */
.lobby__timeline .entry:hover a,
a:hover,
a:active,
a:focus {
color: @accent;
}
/* Homepage cards */
.lobby__app__content,
.box {
background-color: @mantle;
}
.lpools > div {
background: fade(@crust, 20%);
border-color: @surface0;
&:hover {
background-color: fade(@accent, 20%);
}
}
.hook__filters {
background-color: fade(@mantle, 50%);
}
.lobby__support a {
background: @crust;
}
.lobby__support a:hover {
background: @peach;
}
.lobby__support a:hover i::before,
.lobby__support a:hover .lobby__support__text {
color: @mantle;
}
.lobby__box__top,
#hook .opponent,
.lobby__box__content,
.ublog-post-card,
.button,
.tour-spotlight {
background: @mantle !important;
}
.unread {
background: @red;
}
.lobby__box tr:nth-child(even) {
background: @crust;
}
/* Non-main page sidebar nav colors */
.subnav a.active {
color: @red;
}
.subnav a.active::after,
.subnav a:hover::after {
background: @red;
}
/* Blog cards */
.blog-cards > a {
background: @crust;
}
/* Learn tab */
.learn-stages .stage.done {
background: @green;
}
.learn-stages .stage.ongoing,
.learn__side-home {
background: @blue;
}
.learn-stages .stage.future {
background: @red;
}
/* Chess Game */
.brown .is2d cg-board {
@svg: escape(
'<svg shape-rendering="crispEdges" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="f"><g id="e"><g id="d"><g id="c"><path id="a" d="M0 0h1v1H0z" fill="@{subtext0}"/><use x="1" xlink:href="#a" y="1"/><path id="b" d="M0 1h1v1H0z" fill="@{crust}"/><use x="1" xlink:href="#b" y="-1"/></g><use x="2" xlink:href="#c"/></g><use x="4" xlink:href="#d"/></g><use xlink:href="#e" y="2"/></g><use xlink:href="#f" y="4"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
& when (@stylePieces = 1) {
.is2d .pawn {
#piece(@f, @s) {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><path d="M22.5 9c-2.21 0-4 1.79-4 4 0 .89.29 1.71.78 2.38C17.33 16.5 16 18.59 16 21c0 2.03.94 3.84 2.41 5.03-3 1.06-7.41 5.55-7.41 13.47h23c0-7.92-4.41-12.41-7.41-13.47 1.47-1.19 2.41-3 2.41-5.03 0-2.41-1.33-4.5-3.28-5.62.49-.67.78-1.49.78-2.38 0-2.21-1.79-4-4-4z" stroke="@{s}" fill="@{f}" stroke-width="1.5" stroke-linecap="round"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.black {
#piece(@base, @text);
}
&.white {
#piece(@text, @base);
}
}
.is2d .bishop {
#piece(@f, @s) {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill="none" fill-rule="evenodd" stroke="@{s}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g fill="@{f}" stroke-linecap="butt"><path d="M9 36c3.39-.97 10.11.43 13.5-2 3.39 2.43 10.11 1.03 13.5 2 0 0 1.65.54 3 2-.68.97-1.65.99-3 .5-3.39-.97-10.11.46-13.5-1-3.39 1.46-10.11.03-13.5 1-1.354.49-2.323.47-3-.5 1.354-1.94 3-2 3-2z"/><path d="M15 32c2.5 2.5 12.5 2.5 15 0 .5-1.5 0-2 0-2 0-2.5-2.5-4-2.5-4 5.5-1.5 6-11.5-5-15.5-11 4-10.5 14-5 15.5 0 0-2.5 1.5-2.5 4 0 0-.5.5 0 2z"/><path d="M25 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 1 1 5 0z"/></g><path d="M17.5 26h10M15 30h15m-7.5-14.5v5M20 18h5" stroke="@{s}" stroke-linejoin="miter"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.black {
#piece(@base, @text);
}
&.white {
#piece(@text, @base);
}
}
.is2d .knight {
#piece(@f, @s) {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill="none" fill-rule="evenodd" stroke="@{s}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 10c10.5 1 16.5 8 16 29H15c0-9 10-6.5 8-21" fill="@{f}"/><path d="M24 18c.38 2.91-5.55 7.37-8 9-3 2-2.82 4.34-5 4-1.042-.94 1.41-3.04 0-3-1 0 .19 1.23-1 2-1 0-4.003 1-4-4 0-2 6-12 6-12s1.89-1.9 2-3.5c-.73-.994-.5-2-.5-3 1-1 3 2.5 3 2.5h2s.78-1.992 2.5-3c1 0 1 3 1 3" fill="@{f}"/><path d="M9.5 25.5a.5.5 0 1 1-1 0 .5.5 0 1 1 1 0m5.433-9.75a.5 1.5 30 1 1-.866-.5.5 1.5 30 1 1 .866.5" fill="@{f}" stroke="@{s}"/><path d="m24.55 10.4-.45 1.45.5.15c3.15 1 5.65 2.49 7.9 6.75S35.75 29.06 35.25 39l-.05.5h2.25l.05-.5c.5-10.06-.88-16.85-3.25-21.34s-5.79-6.64-9.19-7.16z" fill="@{s}" stroke="none"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.black {
#piece(@base, @text);
}
&.white {
#piece(@text, @base);
}
}
.is2d .rook {
#piece(@f, @s) {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill-rule="evenodd" fill="@{f}" stroke="@{s}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9 39h27v-3H9zm3.5-7 1.5-2.5h17l1.5 2.5zm-.5 4v-4h21v4z" stroke-linecap="butt"/><path d="M14 29.5v-13h17v13z" stroke-linecap="butt" stroke-linejoin="miter"/><path d="M14 16.5 11 14h23l-3 2.5zM11 14V9h4v2h5V9h5v2h5V9h4v5z" stroke-linecap="butt"/><path d="M12 35.5h21m-20-4h19m-18-2h17m-17-13h17M11 14h23" fill="none" stroke="@{s}" stroke-width="1" stroke-linejoin="miter"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.black {
#piece(@base, @text);
}
&.white {
#piece(@text, @base);
}
}
.is2d .king {
#piece(@f, @s) {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill="@{f}" fill-rule="evenodd" stroke="@{s}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22.5 11.63V6" stroke-linejoin="miter"/><path d="M22.5 25s4.5-7.5 3-10.5c0 0-1-2.5-3-2.5s-3 2.5-3 2.5c-1.5 3 3 10.5 3 10.5" fill="@{f}" stroke-linecap="butt" stroke-linejoin="miter"/><path d="M11.5 37c5.5 3.5 15.5 3.5 21 0v-7s9-4.5 6-10.5c-4-6.5-13.5-3.5-16 4V27v-3.5c-3.5-7.5-13-10.5-16-4-3 6 5 10 5 10z" fill="@{f}"/><path d="M20 8h5" stroke-linejoin="miter"/><path d="M32 29.5s8.5-4 6.03-9.65C34.15 14 25 18 22.5 24.5l.01 2.1-.01-2.1C20 18 9.906 14 6.997 19.85c-2.497 5.65 4.853 9 4.853 9" stroke="@{s}"/><path d="M11.5 30c5.5-3 15.5-3 21 0m-21 3.5c5.5-3 15.5-3 21 0m-21 3.5c5.5-3 15.5-3 21 0" stroke="@{s}"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.black {
#piece(@base, @text);
}
&.white {
#piece(@text, @base);
}
}
.is2d .queen {
&.black {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill-rule="evenodd" fill="@{base}" stroke="@{text}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><g stroke="@{text}"><circle fill="@{text}" cx="6" cy="12" r="2.75"/><circle fill="@{text}" cx="14" cy="9" r="2.75"/><circle fill="@{text}" cx="22.5" cy="8" r="2.75"/><circle fill="@{text}" cx="31" cy="9" r="2.75"/><circle fill="@{text}" cx="39" cy="12" r="2.75"/></g><path fill="@{text}" d="M9 26c8.5-1.5 21-1.5 27 0l2.5-12.5L31 25l-.3-14.1-5.2 13.6-3-14.5-3 14.5-5.2-13.6L14 25 6.5 13.5z" stroke-linecap="butt"/><path d="M9 26c0 2 1.5 2 2.5 4 1 1.5 1 1 .5 3.5-1.5 1-1.5 2.5-1.5 2.5-1.5 1.5.5 2.5.5 2.5 6.5 1 16.5 1 23 0 0 0 1.5-1 0-2.5 0 0 .5-1.5-1-2.5-.5-2.5-.5-2 .5-3.5 1-2 2.5-2 2.5-4-8.5-1.5-18.5-1.5-27 0z" stroke-linecap="butt"/><path d="M11 38.5a35 35 1 0 0 23 0" fill="none" stroke-linecap="butt"/><path d="M11 29a35 35 1 0 1 23 0m-21.5 2.5h20m-21 3a35 35 1 0 0 22 0m-23 3a35 35 1 0 0 24 0" fill="none" stroke="@{text}"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
&.white {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45"><g fill="@{text}" fill-rule="evenodd" stroke="@{base}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 12a2 2 0 1 1-4 0 2 2 0 1 1 4 0m16.5-4.5a2 2 0 1 1-4 0 2 2 0 1 1 4 0M41 12a2 2 0 1 1-4 0 2 2 0 1 1 4 0M16 8.5a2 2 0 1 1-4 0 2 2 0 1 1 4 0M33 9a2 2 0 1 1-4 0 2 2 0 1 1 4 0"/><path d="M9 26c8.5-1.5 21-1.5 27 0l2-12-7 11V11l-5.5 13.5-3-15-3 15-5.5-14V25L7 14z" stroke-linecap="butt"/><path d="M9 26c0 2 1.5 2 2.5 4 1 1.5 1 1 .5 3.5-1.5 1-1.5 2.5-1.5 2.5-1.5 1.5.5 2.5.5 2.5 6.5 1 16.5 1 23 0 0 0 1.5-1 0-2.5 0 0 .5-1.5-1-2.5-.5-2.5-.5-2 .5-3.5 1-2 2.5-2 2.5-4-8.5-1.5-18.5-1.5-27 0z" stroke-linecap="butt"/><path d="M11.5 30c3.5-1 18.5-1 22 0M12 33.5c6-1 15-1 21 0" fill="none"/></g></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
}
}
.orientation-white .files coord:nth-child(2n+1),
.orientation-white .ranks coord:nth-child(2n),
.orientation-black .files coord:nth-child(2n),
.orientation-black .ranks coord:nth-child(2n+1) {
color: @base;
}
.orientation-white .files coord:nth-child(2n),
.orientation-white .ranks coord:nth-child(2n+1),
.orientation-black .files coord:nth-child(2n+1),
.orientation-black .ranks coord:nth-child(2n) {
color: @crust;
}
square.move-dest {
background: radial-gradient(
fade(@accent, 50%) 19%,
rgba(0, 0, 0, 0) 20%
);
}
square.selected {
background: fade(@accent, 50%);
}
square.last-move {
background: fade(@accent, 40%);
}
.rclock .time {
background: @mantle;
color: @text;
}
.rclock.running .time {
background: #384722; /* putting it back to default so that the time on the clock is readable */
}
.rclock .bar {
background: @accent;
}
/* Game Cards */
.game__meta,
.round__app__table {
background: @crust;
}
rm6 {
background: @mantle;
}
rm6 .buttons,
rm6 i5z {
background: @base;
}
/* Messages */
.msg-app__convo__head,
.msg-app__side__search,
.msg-app__convo__reply {
background: @crust;
}
.msg-app__side {
background: @mantle;
}
.msg-app__side__search input,
.msg-app__convo__post__text {
background: @base;
}
.msg-app__side__contact__name {
color: @text;
}
.msg-app__side__contact__msg,
.msg-app__side__contact__date time {
color: @subtext0;
}
/* User dropdown */
#powerTip,
#miniGame,
#miniBoard {
background: @crust;
}
.btn-rack__btn,
.btn-rack form,
#friend_box .friend_box_title,
.button.button-metal,
.button.button-empty:not(.disabled):hover,
.button.button-empty.button-green:not(.disabled):hover,
.button.button-empty.button-red:not(.disabled):hover {
background: @base;
}
/* User Page */
.user-show__header,
.user-show__social,
.user-show .angles,
.cmn-toggle:hover:not(:disabled) + label::after,
.cmn-toggle + label::after,
.crosstable povs:hover,
.crosstable__users,
.crosstable__score,
.game-row:nth-child(odd),
.number-menu--tabs .nm-item.active {
background: @crust;
}
.number-menu--tabs .nm-item.active,
.user-show .number-menu .to-games.active,
.user-show #games.number-menu {
background: @mantle !important;
}
/* Stats */
.perf-stat .counter tr.full td:last-child {
background: @crust;
}
.sub-ratings a.active {
background: @mantle;
}
.sub-ratings a[href]:hover {
background: @crust;
}
/* Analysis page */
.analyse__clock,
#analyse-cm .title,
.explorer__config .choices button,
.mselect__label,
.cmn-toggle:hover:not(:disabled) + label::after,
.cmn-toggle + label::after,
.crosstable povs:hover,
.crosstable__users,
.crosstable__score,
.mselect__list,
.analyse__tools .comp-off__hint,
.ceval,
.explorer-box tr:nth-child(even),
.board-editor__tools .metadata,
.mchat__content,
.mchat__tab-active,
.crosstable fill {
background: @crust !important;
}
.analyse__tools,
.copyable,
.pv_box,
#ceval-settings {
background: @mantle;
}
.ceval .settings-gear.active {
background-color: @accent;
}
#ceval-settings {
border-top-color: @accent;
}
.mchat__tab:hover {
background: fade(@accent, 50%);
}
/* Openings */
.opening__config,
.opening__next {
background: @crust;
}
.opening__next {
outline-color: @base;
}
.opening__next:hover {
outline-color: @accent;
}
.opening__next__popularity span {
background: @accent;
}
.opening__next__title {
color: @accent;
}
/* Puzzles */
.tview2-column > index {
background: @base;
color: @subtext0 !important;
}
.puzzle__feedback {
background: @base;
}
.puzzle__tools,
.puzzle__side__metas,
.puzzle__side__user,
.puzzle__side__config,
.puzzle__side__theme {
background: @mantle;
}
input,
textarea,
select {
background: @crust;
}
.cmn-toggle:checked + label {
background-color: @green;
}
.cmn-toggle:checked + label::before {
color: @green;
}
/* Teams */
.slist tbody tr:nth-child(even),
.team-show__desc,
.team-show__forum__post:nth-child(odd) {
background: @crust;
}
/* Settings */
.account .radio input:checked + label,
.account table.allows tr:nth-child(odd) td {
background: @crust;
}
.radio label {
background: @base;
}
.flash-warning {
background: @peach;
}
.form-control:invalid {
border-color: @red;
}
}
}
/* deno-fmt-ignore */
@catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
};