Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
3474 lines (3245 loc) · 135 KB
/
Copy pathstyles.css
File metadata and controls
3474 lines (3245 loc) · 135 KB
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
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@import "tailwindcss";
@import "@fontsource-variable/inter";
@import "@fontsource-variable/geist";
@import "@fontsource-variable/geist-mono";
/* Phones and tablets have no hover, and Tailwind only applies `hover:` and
`group-hover:` under `@media (hover: hover)`. A control revealed on hover
(`opacity-0 group-hover:opacity-100`) is therefore invisible there. Pair
every such reveal with `touch:` so it stays visible on touch screens; mouse
users see no change. src/components/touch-actions.test.ts enforces it. */
@custom-variant touch {
@media (hover: none), (pointer: coarse) {
@slot;
}
}
/* Inline mentions keep the surrounding font metrics, including in the
textarea mirror. No padding/border/font-weight changes that shift the caret. */
.mention-highlight {
--mention-color: var(--color-ink-secondary);
color: color-mix(in srgb, var(--mention-color) 30%, var(--color-ink));
background: color-mix(in srgb, var(--mention-color) 24%, var(--color-inset));
border-radius: 3px;
text-decoration: underline;
text-decoration-color: var(--mention-color);
text-underline-offset: 3px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.mention-highlight.mention-person {
text-decoration-style: dotted;
}
.mention-highlight.mention-you {
--mention-color: var(--color-accent);
color: var(--color-ink);
background: color-mix(in srgb, var(--mention-color) 40%, var(--color-inset));
text-decoration: none;
font-weight: 600;
padding: 0 0.25em;
border-radius: 4px;
}
::highlight(search-result-text) {
color: var(--color-ink);
background-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
}
.mention-editor-mirror {
/* Match the native textarea's direction independently for each paragraph. */
unicode-bidi: plaintext;
white-space: pre-wrap;
overflow-wrap: break-word;
color: var(--color-ink);
}
.mention-editor textarea {
position: relative;
color: transparent;
caret-color: var(--color-ink);
}
.mention-editor textarea::selection {
color: var(--color-ink);
background: var(--color-raised-hover);
}
/* Safari zooms smaller form text on focus. In a standalone phone window that
can leave the header under the status bar after the keyboard closes. Keep
the native editor at a readable touch size. */
@media (pointer: coarse) {
.mention-editor textarea { font-size: 16px; }
}
@media (forced-colors: active) {
.mention-editor-mirror { display: none; }
.mention-editor textarea { color: CanvasText; caret-color: CanvasText; }
}
/* ─────────────────────────────────────────────────────────────────────────
SKINS
A skin is nothing but a block of custom properties. `@theme` declares the
tokens (and gives them the Midnight values, so the app renders correctly
even before any skin is applied); every block below re-declares the same
tokens under a `[data-skin]` selector.
Two consequences worth knowing:
1. The selector is `[data-skin=…]`, not `:root[data-skin=…]`. That means any
element can open a skin context for its subtree — which is how the skin
picker renders a live miniature of each skin instead of a painted mockup.
2. These blocks sit outside `@layer`, so they win against Tailwind's theme
layer regardless of specificity.
Contrast is a design constraint here, not an afterthought: every text/surface
pair in Atelier and Foundry clears WCAG AA (4.5:1), verified by measuring the
rendered values rather than reading the hex. `scripts/check-skin-contrast.mjs`
re-runs that check.
───────────────────────────────────────────────────────────────────────── */
.table-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 30px;
min-height: 30px;
border-radius: 6px;
color: var(--color-ink-secondary);
cursor: pointer;
}
.table-action:hover, .table-action[aria-pressed="true"] { background: var(--color-raised); color: var(--color-ink); }
.table-action:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
@media (pointer: coarse) { .table-action { min-width: 40px; min-height: 40px; } }
/* inside a 28px file pill under a reply, the table preview is a 24px circle */
.file-chip .table-action { width: 24px; height: 24px; min-width: 24px; min-height: 24px; border-radius: 9999px; }
/* a table card's hover plate fits the card's 24px top band; touch keeps 40px targets in a taller band */
@media (pointer: fine) { .table-plate .table-action { width: 24px; height: 24px; min-width: 24px; min-height: 24px; } }
@theme {
--animate-panel-in: panel-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
--animate-sheet-in: sheet-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
--animate-workspace-in: workspace-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
--animate-pop-in: pop-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
--animate-pop-out: pop-out 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
--animate-caret: caret-blink 1s step-end infinite;
--animate-msg-in: msg-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
--animate-status-pulse: status-pulse 1.6s steps(2, jump-none) infinite;
/* onboarding: a block of copy or a row arriving in a beat; `.stagger`
spaces siblings out. Rare, first-time motion, so it may run past the
300ms UI ceiling. */
--animate-rise: rise 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
--animate-fade-in: fade-in 0.2s ease-out both;
--animate-meet-caret: meet-caret 1s linear infinite;
/* onboarding: a spotlight card or a first-sight hint scaling in from its
anchor. Never from zero; nothing appears from nothing. */
--animate-spot-in: spot-in 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
/* onboarding: a surface reacting once to an event (a routine firing) */
--animate-ripple: ripple 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
/* onboarding: a bolt travelling from a webhook address to the bot */
--animate-bolt: bolt 0.9s cubic-bezier(0.77, 0, 0.175, 1) infinite;
/* Team map: a computer whose bot is acting breathes; its link to the bot carries a slow flow of dashes. */
--animate-computer-glow: computer-glow 2.4s ease-in-out infinite;
--animate-link-flow: link-flow 1.1s linear infinite;
/* Team map: a card's border acknowledging a message sent to it from the map. */
--animate-sent-border: sent-border 1.2s ease-out forwards;
/* Defaults = Midnight. Kept here so the app is never unstyled. */
--color-app: #121212;
--color-panel: #0e0e0e;
--color-raised: #202020;
--color-raised-hover: #2c2c2c;
/* the composer pill. Every skin but Daylight paints it in `raised`; there
it is the page colour with a hairline ring, so it needs a tone (and a
ring, transparent everywhere else) of its own. */
--color-composer: #1f1f1f;
--color-composer-ring: #2a2a2a;
/* popover and right-click menus. Same story as the composer: every skin
but Daylight paints them in `card`, which there is the bot's bubble and
a shade too grey for a menu. */
--color-menu: #1f1f1f;
--color-menu-hover: #f5f5f50f;
--color-menu-active: #f5f5f514;
--color-card: #1f1f1f;
--color-inset: #1b1b1b;
/* a control ON a card. The dark skins take their `raised` value, so this
is a no-op for them; the light skins need a tone of their own, because
there `raised` is pure white and a card is too. */
--color-control: #282828;
--color-hairline: #383838;
/* the 0.5px line where two panes meet: the sidebar and the chat */
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
/* the window's frame: its top bar and the rail of places, around the
app's pane (the sidebar and the chat). The app's own colour a step darker, so it
stays in the skin's family: --frame-shade of black. */
--color-frame: color-mix(in oklab, var(--color-app), black var(--frame-shade));
--color-ink: #f5f5f5;
--color-ink-secondary: #f5f5f5a8;
/* quiet text: timestamps, hints, placeholders, calendar hours. It used to
be `text-ink-secondary/70`, which fades an ink already tuned close to
AA and landed at 2.2–4:1. Each skin sets this to the quietest ink that
still clears 4.5:1 on every text surface, raised-hover included; on the
light skins that leaves little room below the secondary ink, so there
size carries the hierarchy. Measured by pnpm check:contrast. */
--color-ink-tertiary: #f5f5f591;
--color-accent: #1084fe;
--color-accent-border: #459ffe;
/* the ring a keyboard user follows; sits on the accent so focus reads as
"the app is talking to you", not as a browser default */
--color-focus: #459ffe;
--color-accent-text: #7fc0ff;
--color-bubble-user: #5a5a5a;
--color-success: #38d591;
--color-danger: #ff5667;
--color-warning: #ff9800;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
/* Some engines map `ui-monospace` to a proportional face, so concrete names come first. */
--font-mono: "Geist Mono Variable", "SF Mono", SFMono-Regular, ui-monospace, Menlo,
Consolas, "Liberation Mono", monospace;
--shadow-lg: 0 6px 16px -8px rgb(0 0 0 / 0.18), 0 1px 3px rgb(0 0 0 / 0.06);
--shadow-xl: 0 10px 28px -12px rgb(0 0 0 / 0.24), 0 2px 6px -2px rgb(0 0 0 / 0.08);
--shadow-2xl: 0 16px 40px -16px rgb(0 0 0 / 0.3), 0 4px 10px -4px rgb(0 0 0 / 0.1);
/* Add a rounded transition class.
For situations where multiple transition-properties need to be set simultaneously,
please use transition-[...], for example, transition-[color,background,border-radius] */
--transition-property-rounded: border-radius;
}
/* Tokens that no utility generates — declared outside `@theme` so Tailwind
can't tree-shake them away, and so a skin can redefine them freely. */
:root {
--chat-bubble-max: 35rem;
--chat-bubble-pct: 80%;
--chat-card-pct: 88%;
--chat-prose-max: 44rem;
/* .chat-column: fills a narrow pane, then stops at this width and centers, so wider windows only grow the gutters. */
--chat-column-max: 60rem;
/* Menus; a phone rounds them like its sheets. */
--radius-menu: 12px;
}
:root[data-chat-width="wide"] {
--chat-bubble-max: 64rem;
--chat-bubble-pct: 92%;
--chat-card-pct: 94%;
--chat-prose-max: 64rem;
--chat-column-max: 80rem;
}
:root[data-chat-width="full"] {
--chat-bubble-max: 100%;
--chat-bubble-pct: 96%;
--chat-card-pct: 96%;
--chat-prose-max: 100%;
--chat-column-max: 100%;
}
:root {
--code-color-scheme: dark;
/* how far the frame steps from the app's colour toward black: further on
the dark skins, whose colours sit close to black, and a small step on the
light ones (2.5%), where the quiet ink must still clear 4.5:1 on it */
--frame-shade: 30%;
/* ink carried by a filled accent / danger surface (see the rule at the
bottom of this file, which is what makes them take effect) */
--color-accent-ink: #ffffff;
--color-danger-ink: #ffffff;
/* ink carried by the user's own bubble. A hex rather than the ink token so
the contrast check can measure it; every dark skin repeats its ink here. */
--color-bubble-user-ink: #f5f5f5;
--color-success-ink: #072114;
--color-scrollbar: #3d3d3d;
/* second speed line of the mascot — contrasts against the app ground */
--color-maus-line: #f5f5f5;
--shadow-float: 0 0 #0000;
}
/* ── Midnight ──────────────────────────────────────────────────────────────
The upstream palette, pixel-sampled from the real Grok app. Repeated here
(rather than relying on the `@theme` defaults) so that a `[data-skin]`
subtree can switch *back* to it — the picker needs that.
Two upstream contrast gaps are preserved deliberately, because this skin's
job is to be the original: white on the accent fill measures 3.65:1 and
white on the danger fill 3.32:1, both short of AA for the 13–15px labels
they carry. Atelier and Foundry fix this via --color-accent-ink.
───────────────────────────────────────────────────────────────────────── */
[data-skin="midnight"] {
--code-color-scheme: dark;
--color-app: #121212;
--color-panel: #0e0e0e;
--color-raised: #202020;
--color-raised-hover: #2c2c2c;
--color-composer: #1f1f1f;
--color-composer-ring: #2a2a2a;
--color-card: #1f1f1f;
--color-menu: #1f1f1f; /* = card: unchanged */
--color-menu-hover: #f5f5f50f;
--color-menu-active: #f5f5f514;
--color-inset: #1b1b1b;
--color-control: #282828;
--color-hairline: #383838;
--color-ink: #f5f5f5;
--color-ink-secondary: #f5f5f5a8;
--color-ink-tertiary: #f5f5f591;
--color-accent: #1084fe;
--color-accent-border: #459ffe;
--color-accent-text: #7fc0ff;
--color-accent-ink: #ffffff;
--color-bubble-user: #5a5a5a;
--color-bubble-user-ink: #f5f5f5; /* = ink: unchanged */
--color-success: #38d591;
--color-danger: #ff5667;
--color-danger-ink: #ffffff;
--color-success-ink: #072114;
--color-warning: #ff9800;
--color-scrollbar: #3d3d3d;
--color-maus-line: #f5f5f5;
--color-edge: #f5f5f50f;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
/* One radius scale, shared with Daylight. What takes which step: buttons
and pills full; keycaps, chips and menu rows 6; fields, controls and
sidebar rows 8; cards and menus 12; dialogs 16; bubbles and the cards in
the transcript 18; the composer 22 (18 once it wraps); the window's panes 0. */
--radius-xs: 2px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-2xl: 16px;
--radius-3xl: 16px;
--radius-4xl: 18px;
--identity-green: #009957;
--identity-blue: #377FE6;
--identity-red: #D94B52;
--identity-orange: #E78531;
--identity-purple: #8d69ce;
--identity-cyan: #0EA5C6;
--identity-pink: #D84F8B;
--identity-yellow: #D8A729;
--identity-teal: #01A492;
--identity-coral: #E5634E;
--identity-silver: #A8ADB4;
--identity-chrome: #B3BAC4;
}
/* ── Atelier ───────────────────────────────────────────────────────────────
Daylight on paper, and the inverse of Midnight in every axis. Its one
structural idea: surfaces get BRIGHTER as they rise — rail, sidebar,
content — so the ground closest to the work is the lightest, the opposite
of a dark skin where raised means lighter-grey.
Four tones were darkened from the first draft to clear AA; the original
value is named next to each, so the drift stays auditable.
───────────────────────────────────────────────────────────────────────── */
[data-skin="atelier"] {
--code-color-scheme: light;
--frame-shade: 3%;
--color-app: #f5f1eb; /* outermost ground */
--color-panel: #fbf8f2; /* sidebar */
--color-raised: #ffffff; /* content — raised means lighter here */
--color-raised-hover: #f2e9dc; /* warm beige doubles as the hover fill */
--color-composer: #ffffff; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #ffffff;
--color-menu: #ffffff; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #f5f1eb; /* inset surfaces pick the rail tone back up */
--color-control: #ece4d6; /* raised is white here and so is a card, so
a control needs its own tone: 1.26:1 on a
card, and raised-hover still lifts off it */
--color-hairline: #c8bda8; /* #ece7dd was 1.11:1 on the rail → 1.65:1 */
--color-ink: #1a1a18; /* 17.4:1 on white */
--color-ink-secondary: #6b6559; /* #8b8578 was 3.67:1 → 5.78:1 */
--color-ink-tertiary: #6d685c;
/* Two accent tones: the fill carries white, the text stands on white. */
--color-accent: #a05f25; /* #b06a2c darkened → 5.05:1 */
--color-accent-border: #b06a2c; /* the original tone lives on as the border */
--color-accent-text: #96551f; /* for links on a light ground — 5.81:1 */
--color-focus: #96551f; /* the ring rides the accent, not Grok blue */
--color-accent-ink: #ffffff;
--color-bubble-user: #f2e9dc; /* your own messages in the badge beige */
--color-bubble-user-ink: #1a1a18; /* = ink: unchanged */
--color-success: #3f6b47;
--color-danger: #a33a32;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #7a5f31; /* darkened → 4.98:1 */
--color-scrollbar: #c9c0ae;
--color-maus-line: #6b6559;
/* System faces rather than Geist: paper reads as the platform's own. */
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, sans-serif;
--radius-lg: 6px;
--radius-xl: 10px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #007f48;
--identity-blue: #1b6adc;
--identity-red: #d12c34;
--identity-orange: #a95914;
--identity-purple: #8057C8;
--identity-cyan: #0a7891;
--identity-pink: #ca2d72;
--identity-yellow: #896a19;
--identity-teal: #017c6f;
--identity-coral: #cd361e;
--identity-silver: #686f79;
--identity-chrome: #646f80;
}
/* ── Foundry ───────────────────────────────────────────────────────────────
Night shift. The third corner of the grid: Midnight is dark and cool,
Atelier light and warm — this one is dark and warm, which is the register
most of this app's actual use falls into.
Its one structural idea, and the thing that makes it read as metal rather
than as "Atelier with the lights off": the accent is the brightest thing on
screen, not a darker patch of it. Brass at #d99a3e glows against the ground
at 7.9:1 and carries near-black lettering at 7.4:1 — so filled buttons read
as lit, not as painted. That inversion is only possible because
--color-accent-ink exists; with hardcoded white text the accent would have
to stay dark and the skin would lose its point.
Surfaces warm up as they rise (#100e0b → #262019), the way material does as
it comes closer to the lamp. Corners are tighter than Atelier's — 4px and
8px — because sheet metal doesn't round the way paper does.
───────────────────────────────────────────────────────────────────────── */
[data-skin="foundry"] {
--code-color-scheme: dark;
--color-app: #100e0b; /* deepest ground, warm black */
--color-panel: #171410; /* sidebar */
--color-raised: #262019; /* raised means warmer, not just lighter */
--color-raised-hover: #322b21;
--color-composer: #262019; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #1e1a14;
--color-menu: #1e1a14; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #0b0a08; /* inset sinks below the ground */
--color-control: #262019; /* = raised: Foundry is unchanged */
--color-hairline: #3d3529; /* visible on purpose — this UI has edges */
--color-ink: #f4efe4; /* warm off-white, never pure #fff */
--color-ink-secondary: #b0a696; /* 6.7:1 on raised, 5.9:1 on hover */
--color-ink-tertiary: #9c9384;
/* Brass. Bright fill, dark lettering — the inversion described above. */
--color-accent: #d99a3e;
--color-accent-border: #e8b25e;
--color-accent-text: #e0a44c; /* 8.6:1 on the ground, for links */
--color-focus: #e0a44c; /* the ring rides the accent, not Grok blue */
--color-accent-ink: #1c150c; /* 7.4:1 on the brass fill */
--color-bubble-user: #2a2318; /* your own messages, one step out of the card */
--color-bubble-user-ink: #f4efe4; /* = ink: unchanged */
--color-success: #57b078;
--color-danger: #e0685e; /* a lamp, not a paint chip */
--color-danger-ink: #1c0d0b;
--color-success-ink: #1c150c;
--color-warning: #dfa441;
--color-scrollbar: #3d3529;
--color-maus-line: #b0a696;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-lg: 4px;
--radius-xl: 8px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #009957;
--identity-blue: #377FE6;
--identity-red: #D94B52;
--identity-orange: #E78531;
--identity-purple: #8c67cd;
--identity-cyan: #0EA5C6;
--identity-pink: #D84F8B;
--identity-yellow: #D8A729;
--identity-teal: #01A492;
--identity-coral: #E5634E;
--identity-silver: #A8ADB4;
--identity-chrome: #B3BAC4;
}
/* ── Lagoon ────────────────────────────────────────────────────────────────
Cool daylight — the fourth corner, and the one the grid was missing:
Midnight is dark and cool, Atelier light and warm, Foundry dark and warm.
Where Atelier is paper, this is glazed ceramic. The neutrals carry a green-
blue cast rather than a cream one (#eef2f2, not #f5f1eb), so the whole
surface reads cool without a single saturated pixel, and the deep teal
accent belongs to the ground instead of sitting on top of it. Even the ink
is a very dark petrol rather than a neutral black — on a tinted ground a
truly neutral black reads as a foreign object.
Corners are the most generous of the four (8px / 14px): glass and ceramic
round more than paper does, and far more than sheet metal.
───────────────────────────────────────────────────────────────────────── */
[data-skin="lagoon"] {
--code-color-scheme: light;
--frame-shade: 4%;
/* The tint is the point, so it is carried by the surfaces, not by a button:
the ground sits 13 points of green-blue above its red channel, roughly
three times Atelier's cream cast, which is what makes the skin read as
teal at a glance. Raised surfaces stay pure white as the contrast anchor —
tinting those too turns the whole thing to soup. */
--color-app: #dfeceb;
--color-panel: #ecf4f3;
--color-raised: #ffffff;
--color-raised-hover: #cfe4e1;
--color-composer: #ffffff; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #ffffff;
--color-menu: #ffffff; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #d5e8e5;
--color-control: #c3dcd9; /* Lagoon's surfaces climb white → panel →
app → inset → hover in small steps, so a
control has to sit below the lot to clear
every one it can land on: 1.44:1 on a
card, 1.29:1 on the panel, 1.13:1 on an
inset row, 1.09:1 under the hover tone. */
--color-hairline: #aebfbd; /* 1.60:1 — level with the other three */
--color-ink: #14201f; /* dark petrol; a neutral black would read
as a foreign object on a tinted ground */
--color-ink-secondary: #4d5c5b; /* 7.0:1 on white, 5.8:1 on the ground */
--color-ink-tertiary: #566564;
--color-accent: #11736d; /* deep teal, carries white at 5.68:1 */
--color-accent-border: #14807a;
--color-accent-text: #0d5f5a; /* 7.5:1 on a card */
--color-focus: #0d5f5a; /* the ring rides the accent, not Grok blue */
--color-accent-ink: #ffffff;
--color-bubble-user: #cfe4e1;
--color-bubble-user-ink: #14201f; /* = ink: unchanged */
--color-success: #2f6b4f;
--color-danger: #a8382f;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #7a5a2a;
--color-scrollbar: #a6b8b6;
--color-maus-line: #4d5c5b;
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, sans-serif;
--radius-lg: 8px;
--radius-xl: 14px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #007945;
--identity-blue: #1a65d1;
--identity-red: #c82a32;
--identity-orange: #a25513;
--identity-purple: #7c51c6;
--identity-cyan: #0a738b;
--identity-pink: #c12b6d;
--identity-yellow: #836518;
--identity-teal: #01776a;
--identity-coral: #c3341d;
--identity-silver: #646a73;
--identity-chrome: #5f6a7b;
}
/* ── Graphite ─────────────────────────────────────────────────────────────
Neutral charcoal for people who want a dark workspace without Midnight's
near-black contrast or Foundry's warmth. Steel blue stays deliberately
desaturated: it marks actions and focus without making the chrome glow.
───────────────────────────────────────────────────────────────────────── */
[data-skin="graphite"] {
--code-color-scheme: dark;
--color-app: #111214;
--color-panel: #181a1d;
--color-raised: #2a2d32;
--color-raised-hover: #353941;
--color-composer: #2a2d32; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #22252a;
--color-menu: #22252a; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #0d0e10;
--color-control: #2a2d32;
--color-hairline: #3b4048;
--color-ink: #f2f4f7;
--color-ink-secondary: #b3b8c2;
--color-ink-tertiary: #9fa4ad;
--color-accent: #4f75a2;
--color-accent-border: #698fbb;
--color-accent-text: #8fb4df;
--color-focus: #8fb4df;
--color-accent-ink: #ffffff;
--color-bubble-user: #30343a;
--color-bubble-user-ink: #f2f4f7; /* = ink: unchanged */
--color-success: #63b58a;
--color-danger: #dd6b73;
--color-danger-ink: #1e0b0e;
--color-success-ink: #101a14;
--color-warning: #d3a150;
--color-scrollbar: #464b54;
--color-maus-line: #b3b8c2;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-lg: 6px;
--radius-xl: 10px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #009957;
--identity-blue: #377FE6;
--identity-red: #D94B52;
--identity-orange: #E78531;
--identity-purple: #8d69ce;
--identity-cyan: #0EA5C6;
--identity-pink: #D84F8B;
--identity-yellow: #D8A729;
--identity-teal: #01A492;
--identity-coral: #E5634E;
--identity-silver: #A8ADB4;
--identity-chrome: #B3BAC4;
}
/* ── Linen ────────────────────────────────────────────────────────────────
A neutral daylight skin: less cream than Atelier and less blue-green than
Lagoon. Navy is used as ink rather than decoration, keeping the workspace
crisp and familiar instead of colourful.
───────────────────────────────────────────────────────────────────────── */
[data-skin="linen"] {
--code-color-scheme: light;
--frame-shade: 3.5%;
--color-app: #eceff3;
--color-panel: #f5f6f8;
--color-raised: #ffffff;
--color-raised-hover: #e1e6ed;
--color-composer: #ffffff; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #ffffff;
--color-menu: #ffffff; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #e6e9ee;
--color-control: #d3d9e1;
--color-hairline: #b4bbc5;
--color-ink: #1d2229;
--color-ink-secondary: #59616c;
--color-ink-tertiary: #5f6671;
--color-accent: #355f8a;
--color-accent-border: #4978a6;
--color-accent-text: #2c5680;
--color-focus: #2c5680;
--color-accent-ink: #ffffff;
--color-bubble-user: #e1e6ed;
--color-bubble-user-ink: #1d2229; /* = ink: unchanged */
--color-success: #2f704f;
--color-danger: #a83d48;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #765b2b;
--color-scrollbar: #aeb6c0;
--color-maus-line: #59616c;
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, sans-serif;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #007d47;
--identity-blue: #1b68d7;
--identity-red: #ce2c34;
--identity-orange: #a75713;
--identity-purple: #7f55c8;
--identity-cyan: #0a778e;
--identity-pink: #c72c70;
--identity-yellow: #886819;
--identity-teal: #017a6d;
--identity-coral: #c9361e;
--identity-silver: #676d77;
--identity-chrome: #626d7e;
}
/* ── Dusk ─────────────────────────────────────────────────────────────────
A restrained plum-dark alternative. The violet lives in the neutrals as
much as the accent, so the skin feels cohesive rather than neon or themed.
───────────────────────────────────────────────────────────────────────── */
[data-skin="dusk"] {
--code-color-scheme: dark;
--color-app: #121014;
--color-panel: #19161c;
--color-raised: #2b2630;
--color-raised-hover: #37303d;
--color-composer: #2b2630; /* = raised: unchanged */
--color-composer-ring: transparent;
--color-card: #231f27;
--color-menu: #231f27; /* = card: unchanged */
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #0d0b0f;
--color-control: #2b2630;
--color-hairline: #403847;
--color-ink: #f4eff6;
--color-ink-secondary: #b9afbd;
--color-ink-tertiary: #a199a5;
--color-accent: #765683;
--color-accent-border: #9670a3;
--color-accent-text: #c49bd2;
--color-focus: #c49bd2;
--color-accent-ink: #ffffff;
--color-bubble-user: #332b38;
--color-bubble-user-ink: #f4eff6; /* = ink: unchanged */
--color-success: #6fad83;
--color-danger: #db727a;
--color-danger-ink: #210c10;
--color-success-ink: #101812;
--color-warning: #d0a35d;
--color-scrollbar: #4a414f;
--color-maus-line: #b9afbd;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #009957;
--identity-blue: #377FE6;
--identity-red: #D94B52;
--identity-orange: #E78531;
--identity-purple: #8d68ce;
--identity-cyan: #0EA5C6;
--identity-pink: #D84F8B;
--identity-yellow: #D8A729;
--identity-teal: #01A492;
--identity-coral: #E5634E;
--identity-silver: #A8ADB4;
--identity-chrome: #B3BAC4;
}
/* ── Daylight ─────────────────────────────────────────────────────────────
Midnight's twin in light: near-white chrome, a neutral sidebar, white
floating surfaces and translucent ink for text and hairlines, so every
step is the same #1c1c1c ink at a different strength.
Its structural quirk is the user's own bubble: ink on a near-white page,
the one place a light skin carries inverted ink. That is what
--color-bubble-user-ink exists for — see the rule at the bottom of the
file. The surfaces are a short ladder: page #fcfcfc, sidebar and the
window's frame #f5f5f5, selected row #e4e4e4, a bot's message #efefef,
and white for the composer and menus.
Where a measured value misses AA its nearest passing step is used: the
tertiary ink is stronger than its 56%, and the accent, danger, success
and warning fills are their deeper tones, so white and their text clear
4.5:1 (pnpm check:contrast).
───────────────────────────────────────────────────────────────────────── */
[data-skin="daylight"] {
--code-color-scheme: light;
--frame-shade: 6%;
--color-app: #fcfcfc; /* the thread */
--color-panel: #f5f5f5; /* sidebar */
--color-frame: var(--color-panel);
--color-raised: #e4e4e4; /* the sidebar's selected row: 8% ink on the panel */
--color-raised-hover: #d8d8d8;
--color-card: #efefef; /* what a bot says: 6% ink on the page */
--color-inset: #e9e9e9; /* the search field */
--color-control: #e3e3e3; /* a chip on a card */
/* 24% ink: whole, the firm line; at /50, the 12% line between surfaces. */
--color-hairline: #1c1c1c3d;
--color-edge: #1c1c1c1f;
--color-ink: #1c1c1c;
--color-ink-secondary: #1c1c1cad;
--color-ink-tertiary: #1c1c1ca6;
--color-accent: #126fd4;
--color-accent-border: #1680f3;
--color-accent-text: #0b69cc;
--color-focus: #0b6dd3;
--color-accent-ink: #ffffff;
--color-composer: #ffffff;
--color-composer-ring: #1c1c1c1f;
--color-menu: #ffffff;
--color-menu-hover: #1c1c1c0f;
--color-menu-active: #1c1c1c14;
--color-bubble-user: #1c1c1c; /* your own messages, inverted */
--color-bubble-user-ink: #fcfcfc;
--color-success: #007a44;
--color-danger: #cd2834;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #9c5b00;
--color-scrollbar: #c4c4c4;
--color-maus-line: #5f5f5f;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-xs: 2px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-2xl: 16px;
--radius-3xl: 16px;
--radius-4xl: 18px;
--identity-green: #00864c;
--identity-blue: #2271e3;
--identity-red: #d63a42;
--identity-orange: #b35e15;
--identity-purple: #8057C8;
--identity-cyan: #0b7f99;
--identity-pink: #d2357a;
--identity-yellow: #91701b;
--identity-teal: #018375;
--identity-coral: #d83920;
--identity-silver: #6e7580;
--identity-chrome: #697688;
--shadow-float: 0 4px 12px -1px rgb(28 28 28 / 0.08), 0 2px 4px -2px rgb(28 28 28 / 0.06);
}
/* ── Meadow ───────────────────────────────────────────────────────────────
The MausBot brand look: a white page, a sidebar washed in the faintest
green, mint for the selected row and a calm green accent. The brand
green #1f8a52 carries white at only 4.3:1, so the filled accent is one
step deeper; the brand green stays as the accent border.
───────────────────────────────────────────────────────────────────────── */
[data-skin="meadow"] {
--code-color-scheme: light;
--frame-shade: 6%;
--color-app: #ffffff; /* the thread */
--color-panel: #f6f8f6; /* sidebar */
--color-raised: #e9eeea;
--color-raised-hover: #d6efdf; /* the selected row, mint */
--color-card: #f1f5f2; /* what a bot says */
--color-inset: #e7ece8; /* the search field */
--color-control: #dce3de; /* a chip on a card */
--color-hairline: #c9d3cc;
--color-ink: #0f1a13;
--color-ink-secondary: #3e4a42;
--color-ink-tertiary: #4f5c54;
--color-accent: #1a7a48;
--color-accent-border: #1f8a52;
--color-accent-text: #176b3f;
--color-focus: #1a7a48;
--color-accent-ink: #ffffff;
--color-composer: #ffffff;
--color-composer-ring: #e3e9e4;
--color-menu: #ffffff;
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-bubble-user: #e1e9e3; /* your own messages, a step under a bot's card */
--color-bubble-user-ink: #0f1a13;
--color-success: #1a7a48;
--color-danger: #c02b3a;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #8a5a00;
--color-scrollbar: #c3cdc6;
--color-maus-line: #5a675f;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-lg: 10px;
--radius-xl: 16px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #00884e;
--identity-blue: #2573e4;
--identity-red: #d63f47;
--identity-orange: #b65f15;
--identity-purple: #8057C8;
--identity-cyan: #0b819b;
--identity-pink: #d3397d;
--identity-yellow: #93721b;
--identity-teal: #018577;
--identity-coral: #db3a20;
--identity-silver: #707782;
--identity-chrome: #6b778a;
}
/* ── Pop ──────────────────────────────────────────────────────────────────
Cream paper, white cards, ink outlines and hard offset shadows. Light-only,
with an ink bubble for your own messages, so it takes the same @scope
treatment as Daylight. The brand grape #8b5cf6 carries white at
only 4.2:1, so the filled accent is one step deeper; the brand grape stays
as the accent border. Mint, butter and coral are fills for ink text only.
───────────────────────────────────────────────────────────────────────── */
[data-skin="pop"] {
--code-color-scheme: light;
--frame-shade: 6%;
--color-app: #fdf5ea; /* the page */
--color-panel: #f6ebdb; /* sidebar */
--color-raised: #efe3d1;
--color-raised-hover: #e4d4bc; /* the selected row */
--color-card: #ffffff;
--color-inset: #f2e8d7;
--color-control: #ece0cc;
--color-hairline: #1b1613;
--color-ink: #1b1613;
--color-ink-secondary: #3a322d;
--color-ink-tertiary: #5f5650;
--color-accent: #7f52f0;
--color-accent-border: #8b5cf6;
--color-accent-text: #6d28d9;
--color-focus: #7f52f0;
--color-accent-ink: #ffffff;
--color-composer: #ffffff;
--color-composer-ring: #1b1613;
--color-menu: #ffffff;
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-bubble-user: #1b1613; /* your own messages, inverted */
--color-bubble-user-ink: #ffffff;
--color-success: #1f7a4d;
--color-danger: #d93a2b;
--color-danger-ink: #ffffff;
--color-success-ink: #ffffff;
--color-warning: #8a5a00;
--color-scrollbar: #d0bfa6;
--color-maus-line: #6b625b;
--font-sans: "Plus Jakarta Sans", ui-rounded, "SF Pro Rounded", "Geist Variable",
-apple-system, system-ui, "Segoe UI", sans-serif;
--radius-lg: 12px;
--radius-xl: 18px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #00824a;
--identity-blue: #1c6de0;
--identity-red: #d4323a;
--identity-orange: #ae5b14;
--identity-purple: #8057C8;
--identity-cyan: #0a7b94;
--identity-pink: #cf2e75;
--identity-yellow: #8d6c1a;
--identity-teal: #017f72;
--identity-coral: #d1381f;
--identity-silver: #6a727c;
--identity-chrome: #667284;
}
[data-skin="halloween"] {
--code-color-scheme: dark;
--color-app: #110d16;
--color-panel: #17121e;
--color-raised: #262030;
--color-raised-hover: #2e2539;
--color-composer: #1d1725;
--color-composer-ring: #352a40;
--color-card: #201a29;
--color-menu: #1e1827;
--color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);
--color-menu-active: var(--color-raised);
--color-inset: #1b1622;
--color-control: #262030;
--color-hairline: #3b3048;
--color-ink: #f8efe2;
--color-ink-secondary: #c2b3cc;
--color-ink-tertiary: #a898b4;
--color-accent: #ff7f1f;
--color-accent-border: #ff8f3a;
--color-accent-text: #ffa060;
--color-focus: #ff8f3a;
--color-accent-ink: #1d0e02;
--color-bubble-user: #3d2818;
--color-bubble-user-ink: #fff1e2;
--color-success: #7cc48f;
--color-danger: #f0727c;
--color-danger-ink: #240a0e;
--color-success-ink: #0d1a10;
--color-warning: #f2b45a;
--color-scrollbar: #3b3048;
--color-maus-line: #c2b3cc;
--font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,
"Segoe UI", system-ui, sans-serif;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
--radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;
--color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);
--identity-green: #009957;
--identity-blue: #377FE6;
--identity-red: #D94B52;
--identity-orange: #E78531;
--identity-purple: #8c67cd;
--identity-cyan: #0EA5C6;
--identity-pink: #D84F8B;