@slashsuite/themes 0.4.1 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,397 @@
1
+ {
2
+ "id": "thriftloop",
3
+ "scope": "thriftloop",
4
+ "scheme": "light",
5
+ "statusBar": "dark-content",
6
+ "base": {
7
+ "backgroundColor": "#f8f1d8",
8
+ "color": "#352d13",
9
+ "fontFamily": "DM Sans",
10
+ "headingFontFamily": "DM Serif Display"
11
+ },
12
+ "selection": {
13
+ "backgroundColor": "#c2410c",
14
+ "color": "#ffffff"
15
+ },
16
+ "utilities": {
17
+ "bg-gray-50": {
18
+ "backgroundColor": "#f8f1d8"
19
+ },
20
+ "bg-white": {
21
+ "backgroundColor": "#fffaea"
22
+ },
23
+ "bg-white/80": {
24
+ "backgroundColor": "rgba(255, 250, 234, 0.85)"
25
+ },
26
+ "bg-slate-50": {
27
+ "backgroundColor": "#f5eac7"
28
+ },
29
+ "bg-slate-50/50": {
30
+ "backgroundColor": "#f5eac7"
31
+ },
32
+ "bg-slate-50/60": {
33
+ "backgroundColor": "#f5eac7"
34
+ },
35
+ "bg-slate-50/70": {
36
+ "backgroundColor": "#f5eac7"
37
+ },
38
+ "bg-slate-100": {
39
+ "backgroundColor": "#eedca0"
40
+ },
41
+ "bg-slate-200": {
42
+ "backgroundColor": "#ead59a"
43
+ },
44
+ "bg-slate-900": {
45
+ "backgroundColor": "#352d13"
46
+ },
47
+ "bg-black/90": {
48
+ "backgroundColor": "rgba(53, 45, 19, 0.94)"
49
+ },
50
+ "text-white": {
51
+ "color": "#f8f1d8"
52
+ },
53
+ "text-white/70": {
54
+ "color": "rgba(248, 241, 216, 0.72)"
55
+ },
56
+ "bg-white/100": {
57
+ "backgroundColor": "#ffffff"
58
+ },
59
+ "bg-white/95": {
60
+ "backgroundColor": "#fffaea"
61
+ },
62
+ "text-slate-900": {
63
+ "color": "#352d13"
64
+ },
65
+ "text-slate-800": {
66
+ "color": "#352d13"
67
+ },
68
+ "text-slate-700": {
69
+ "color": "#635527"
70
+ },
71
+ "text-slate-600": {
72
+ "color": "#635527"
73
+ },
74
+ "text-slate-500": {
75
+ "color": "#6d5f33"
76
+ },
77
+ "text-slate-400": {
78
+ "color": "#6d5f33"
79
+ },
80
+ "text-slate-300": {
81
+ "color": "#6d5f33"
82
+ },
83
+ "border-slate-50": {
84
+ "borderColor": "#f5eac7"
85
+ },
86
+ "border-slate-100": {
87
+ "borderColor": "#eedca0"
88
+ },
89
+ "border-slate-200": {
90
+ "borderColor": "#eedca0"
91
+ },
92
+ "border-slate-200/70": {
93
+ "borderColor": "#eedca0"
94
+ },
95
+ "border-slate-300": {
96
+ "borderColor": "#756738"
97
+ },
98
+ "border-slate-900": {
99
+ "borderColor": "#352d13"
100
+ },
101
+ "text-emerald-600": {
102
+ "color": "#047857"
103
+ },
104
+ "bg-emerald-500": {
105
+ "backgroundColor": "#047857"
106
+ },
107
+ "bg-slate-300": {
108
+ "backgroundColor": "#eedca0"
109
+ },
110
+ "bg-violet-600": {
111
+ "backgroundColor": "#c2410c"
112
+ },
113
+ "text-violet-50": {
114
+ "color": "#ffffff"
115
+ },
116
+ "border-violet-600": {
117
+ "borderColor": "#c2410c"
118
+ },
119
+ "outline-violet-600": {
120
+ "outlineColor": "#c2410c"
121
+ },
122
+ "accent-violet-600": {
123
+ "accentColor": "#c2410c"
124
+ },
125
+ "bg-red-600": {
126
+ "backgroundColor": "#b31960"
127
+ },
128
+ "text-red-50": {
129
+ "color": "#ffffff"
130
+ },
131
+ "border-red-600": {
132
+ "borderColor": "#b31960"
133
+ },
134
+ "text-emerald-50": {
135
+ "color": "#ffffff"
136
+ },
137
+ "border-emerald-600": {
138
+ "borderColor": "#047857"
139
+ },
140
+ "bg-orange-600": {
141
+ "backgroundColor": "#8c5a2b"
142
+ },
143
+ "bg-cyan-600": {
144
+ "backgroundColor": "#0e7490"
145
+ },
146
+ "bg-emerald-600": {
147
+ "backgroundColor": "#047857"
148
+ },
149
+ "bg-sky-600": {
150
+ "backgroundColor": "#1e6a8f"
151
+ },
152
+ "bg-pink-600": {
153
+ "backgroundColor": "#a8325e"
154
+ },
155
+ "bg-amber-600": {
156
+ "backgroundColor": "#7a6a1a"
157
+ },
158
+ "bg-emerald-50": {
159
+ "backgroundColor": "#ecfdf5"
160
+ },
161
+ "bg-emerald-50/60": {
162
+ "backgroundColor": "#ecfdf5"
163
+ },
164
+ "bg-amber-50": {
165
+ "backgroundColor": "#fffbeb"
166
+ },
167
+ "bg-amber-50/60": {
168
+ "backgroundColor": "#fffbeb"
169
+ },
170
+ "bg-blue-50": {
171
+ "backgroundColor": "#f0fdfa"
172
+ },
173
+ "bg-violet-50": {
174
+ "backgroundColor": "#fdf0e0"
175
+ },
176
+ "bg-sky-50": {
177
+ "backgroundColor": "#eff6fa"
178
+ },
179
+ "bg-red-50": {
180
+ "backgroundColor": "#fef2f2"
181
+ },
182
+ "text-emerald-700": {
183
+ "color": "#047857"
184
+ },
185
+ "text-emerald-800": {
186
+ "color": "#047857"
187
+ },
188
+ "text-amber-700": {
189
+ "color": "#ad4d00"
190
+ },
191
+ "text-amber-800": {
192
+ "color": "#ad4d00"
193
+ },
194
+ "text-amber-900": {
195
+ "color": "#ad4d00"
196
+ },
197
+ "text-blue-600": {
198
+ "color": "#0f766e"
199
+ },
200
+ "text-blue-700": {
201
+ "color": "#0f766e"
202
+ },
203
+ "text-blue-800": {
204
+ "color": "#0f766e"
205
+ },
206
+ "text-blue-900": {
207
+ "color": "#0f766e"
208
+ },
209
+ "text-violet-600": {
210
+ "color": "#be3d04"
211
+ },
212
+ "text-violet-700": {
213
+ "color": "#8f2f0a"
214
+ },
215
+ "text-sky-700": {
216
+ "color": "#1e6a8f"
217
+ },
218
+ "text-neutral-500": {
219
+ "color": "#928458"
220
+ },
221
+ "text-purple-700": {
222
+ "color": "#7e3fb0"
223
+ },
224
+ "text-indigo-600": {
225
+ "color": "#1b6096"
226
+ },
227
+ "text-orange-600": {
228
+ "color": "#d2391a"
229
+ },
230
+ "text-teal-600": {
231
+ "color": "#1b8177"
232
+ },
233
+ "text-pink-600": {
234
+ "color": "#c4096e"
235
+ },
236
+ "text-lime-600": {
237
+ "color": "#438700"
238
+ },
239
+ "text-fuchsia-600": {
240
+ "color": "#7633b9"
241
+ },
242
+ "text-rose-600": {
243
+ "color": "#910922"
244
+ },
245
+ "text-yellow-600": {
246
+ "color": "#946231"
247
+ },
248
+ "text-red-700": {
249
+ "color": "#b31960"
250
+ },
251
+ "text-red-800": {
252
+ "color": "#b31960"
253
+ },
254
+ "text-red-900": {
255
+ "color": "#b31960"
256
+ },
257
+ "border-emerald-200": {
258
+ "borderColor": "rgba(4, 120, 87, 0.3)"
259
+ },
260
+ "border-amber-200": {
261
+ "borderColor": "rgba(180, 83, 9, 0.3)"
262
+ },
263
+ "border-amber-600": {
264
+ "borderColor": "#b45309"
265
+ },
266
+ "border-red-200": {
267
+ "borderColor": "rgba(179, 25, 96, 0.7)"
268
+ },
269
+ "border-blue-200": {
270
+ "borderColor": "rgba(15, 118, 110, 0.3)"
271
+ },
272
+ "link": {
273
+ "color": "#be3d04",
274
+ "fontWeight": "500"
275
+ },
276
+ "bg-indigo-400/25": {
277
+ "backgroundColor": "rgba(255, 220, 199, 0.4)"
278
+ },
279
+ "bg-teal-400/25": {
280
+ "backgroundColor": "rgba(195, 255, 245, 0.5)"
281
+ },
282
+ "bg-rose-400/25": {
283
+ "backgroundColor": "rgba(255, 223, 244, 0.45)"
284
+ },
285
+ "bg-orange-100": {
286
+ "backgroundColor": "#e8dac4"
287
+ },
288
+ "bg-violet-100": {
289
+ "backgroundColor": "#f3d5be"
290
+ },
291
+ "bg-sky-100": {
292
+ "backgroundColor": "#d2ddd8"
293
+ },
294
+ "bg-emerald-100": {
295
+ "backgroundColor": "#cde0cd"
296
+ },
297
+ "bg-amber-100": {
298
+ "backgroundColor": "#e4ddc0"
299
+ },
300
+ "bg-blue-100": {
301
+ "backgroundColor": "#cfe0d1"
302
+ },
303
+ "border-orange-300": {
304
+ "borderColor": "#724d24"
305
+ },
306
+ "border-violet-300": {
307
+ "borderColor": "#983b0e"
308
+ },
309
+ "border-sky-300": {
310
+ "borderColor": "#25586a"
311
+ },
312
+ "border-emerald-300": {
313
+ "borderColor": "#136243"
314
+ },
315
+ "border-amber-300": {
316
+ "borderColor": "#655818"
317
+ },
318
+ "border-blue-300": {
319
+ "borderColor": "#1a6053"
320
+ },
321
+ "bg-zinc-50": {
322
+ "backgroundColor": "#fffaea"
323
+ }
324
+ },
325
+ "states": {
326
+ "pressed": {
327
+ "bg-white/10": {
328
+ "backgroundColor": "rgba(248, 241, 216, 0.12)"
329
+ },
330
+ "bg-violet-700": {
331
+ "backgroundColor": "#8f2f0a"
332
+ },
333
+ "text-violet-700": {
334
+ "color": "#8f2f0a"
335
+ },
336
+ "bg-violet-50": {
337
+ "backgroundColor": "#fdf0e0"
338
+ },
339
+ "border-violet-400": {
340
+ "borderColor": "#c2410c"
341
+ },
342
+ "bg-red-700": {
343
+ "backgroundColor": "#941950"
344
+ },
345
+ "bg-red-50": {
346
+ "backgroundColor": "#fef2f2"
347
+ },
348
+ "bg-emerald-700": {
349
+ "backgroundColor": "#065f46"
350
+ },
351
+ "bg-emerald-50": {
352
+ "backgroundColor": "#ecfdf5"
353
+ },
354
+ "bg-slate-50": {
355
+ "backgroundColor": "#f5eac7"
356
+ },
357
+ "bg-slate-100": {
358
+ "backgroundColor": "#eedca0"
359
+ },
360
+ "link": {
361
+ "color": "#8f2f0a"
362
+ }
363
+ },
364
+ "focused": {
365
+ "outline-white": {
366
+ "outlineColor": "#f8f1d8"
367
+ },
368
+ "outline-violet-600": {
369
+ "outlineColor": "#c2410c"
370
+ }
371
+ },
372
+ "placeholderTextColor": {
373
+ "text-slate-400": {
374
+ "placeholderTextColor": "#77693d"
375
+ }
376
+ },
377
+ "scrim": {
378
+ "bg-slate-900/35": {
379
+ "backgroundColor": "rgba(53, 45, 19, 0.35)"
380
+ }
381
+ },
382
+ "disabled": {},
383
+ "invalid": {
384
+ "border-red-200": {
385
+ "borderColor": "rgba(179, 25, 96, 0.7)"
386
+ }
387
+ },
388
+ "target": {
389
+ "outline-violet-600": {
390
+ "outlineColor": "#c2410c"
391
+ }
392
+ }
393
+ },
394
+ "within": {},
395
+ "headings": {},
396
+ "compounds": []
397
+ }
package/thrifty-paper.css CHANGED
@@ -57,6 +57,14 @@
57
57
  --hc-cat-8: #946231; /* text-yellow-600 */
58
58
  }
59
59
 
60
+ /* Selected text: the primary fill under its own label, the pair the contrast contract already holds
61
+ to AA, so a highlight reads in the theme's accent rather than the browser's blue. */
62
+ .thrifty-paper ::selection,
63
+ .thrifty-paper::selection {
64
+ background-color: #c2410c;
65
+ color: #ffffff;
66
+ }
67
+
60
68
  /* The page canvas: AppShell paints it; white cards lift off the cream. */
61
69
  .thrifty-paper .bg-gray-50 {
62
70
  background-color: #fdfbf7; /* canvas */
@@ -109,11 +117,15 @@
109
117
  outline-color: #fdfbf7; /* canvas: the accent is 2.4:1 on the scrim */
110
118
  }
111
119
 
112
- /* The media matte (Image framed): the white mat a QR code is scanned off. It stays white in every
120
+ /* The media matte (Image `mat="white"`): the white mat a QR code is scanned off. It stays white in every
113
121
  theme, dark ones included, as the scrim above stays black. */
114
122
  .thrifty-paper .bg-white\/100 {
115
123
  background-color: #ffffff;
116
124
  }
125
+ /* The app header's ground: card. */
126
+ .thrifty-paper .bg-white\/95 {
127
+ background-color: #ffffff;
128
+ }
117
129
 
118
130
  /* Text */
119
131
  .thrifty-paper .text-slate-900,
@@ -265,13 +277,11 @@
265
277
 
266
278
  /* Coloured callouts / chips: the soft fills, the full-strength text. */
267
279
  .thrifty-paper .bg-emerald-50,
268
- .thrifty-paper .bg-emerald-50\/60,
269
- .thrifty-paper .bg-emerald-100 {
280
+ .thrifty-paper .bg-emerald-50\/60 {
270
281
  background-color: #ecfdf5; /* positive-soft */
271
282
  }
272
283
  .thrifty-paper .bg-amber-50,
273
- .thrifty-paper .bg-amber-50\/60,
274
- .thrifty-paper .bg-amber-100 {
284
+ .thrifty-paper .bg-amber-50\/60 {
275
285
  background-color: #fffbeb; /* warn-soft */
276
286
  }
277
287
  .thrifty-paper .bg-blue-50 {
@@ -350,12 +360,10 @@
350
360
  .thrifty-paper .text-red-900 {
351
361
  color: #7a1220; /* danger */
352
362
  }
353
- .thrifty-paper .border-emerald-200,
354
- .thrifty-paper .border-emerald-300 {
363
+ .thrifty-paper .border-emerald-200 {
355
364
  border-color: rgba(4, 120, 87, 0.3); /* positive */
356
365
  }
357
- .thrifty-paper .border-amber-200,
358
- .thrifty-paper .border-amber-300 {
366
+ .thrifty-paper .border-amber-200 {
359
367
  border-color: rgba(180, 83, 9, 0.3); /* warn */
360
368
  }
361
369
  .thrifty-paper .border-amber-600 {
@@ -363,6 +371,8 @@
363
371
  }
364
372
  .thrifty-paper .border-red-200,
365
373
  .thrifty-paper .aria-invalid\:border-red-200[aria-invalid="true"],
374
+ .thrifty-paper .user-invalid\:border-red-200:user-invalid,
375
+ .thrifty-paper .has-user-invalid\:border-red-200:has(:user-invalid),
366
376
  .thrifty-paper .has-aria-invalid\:border-red-200:has([aria-invalid="true"]) {
367
377
  border-color: rgba(
368
378
  122,
@@ -371,8 +381,7 @@
371
381
  0.7
372
382
  ); /* danger/70: an invalid field's edge, and an `aria-invalid` control's edge, 5.06:1 on white and 4.77:1 on subtle (danger/30 was 1.67:1) */
373
383
  }
374
- .thrifty-paper .border-blue-200,
375
- .thrifty-paper .border-blue-300 {
384
+ .thrifty-paper .border-blue-200 {
376
385
  border-color: rgba(15, 118, 110, 0.3); /* note */
377
386
  }
378
387
 
@@ -401,3 +410,52 @@
401
410
  .thrifty-paper .bg-rose-400\/25 {
402
411
  background-color: rgba(244, 194, 207, 0.26); /* blush */
403
412
  }
413
+
414
+ /* Peer hues (Card hue): a set of peer cards, one hue each, told apart by hue, not status.
415
+ Each hue is this theme's own remap of the family's identity fill (bg-orange-600, bg-violet-600,
416
+ bg-sky-600, bg-emerald-600, bg-amber-600; blue is text-blue-700). The fill is 25% of it over
417
+ the card white (bg-white); the edge is it mixed 30% toward the ink (text-slate-900). sRGB mix.
418
+ A fill is lowered in 5% steps where the card's ink would miss 4.5:1 on it, and says so. The edge
419
+ is decoration (the contrast contract exempts it): the title and the fill carry the card. */
420
+ .thrifty-paper .bg-orange-100 {
421
+ background-color: #eee6df; /* orange: bg-orange-600 #8c5a2b at 15%, lowered from 25% so the ink keeps 4.5:1 */
422
+ }
423
+ .thrifty-paper .bg-violet-100 {
424
+ background-color: #f6e3db; /* violet: bg-violet-600 #c2410c at 15%, lowered from 25% so the ink keeps 4.5:1 */
425
+ }
426
+ .thrifty-paper .bg-sky-100 {
427
+ background-color: #dde9ee; /* sky: bg-sky-600 #1e6a8f at 15%, lowered from 25% so the ink keeps 4.5:1 */
428
+ }
429
+ .thrifty-paper .bg-emerald-100 {
430
+ background-color: #d9ebe6; /* green: bg-emerald-600 #047857 at 15%, lowered from 25% so the ink keeps 4.5:1 */
431
+ }
432
+ .thrifty-paper .bg-amber-100 {
433
+ background-color: #e4e1d1; /* yellow: bg-amber-600 #7a6a1a at 20%, lowered from 25% so the ink keeps 4.5:1 */
434
+ }
435
+ .thrifty-paper .bg-blue-100 {
436
+ background-color: #cfe4e2; /* blue: text-blue-700 #0f766e at 20%, lowered from 25% so the ink keeps 4.5:1 */
437
+ }
438
+ .thrifty-paper .border-orange-300 {
439
+ border-color: #6a4725; /* orange */
440
+ }
441
+ .thrifty-paper .border-violet-300 {
442
+ border-color: #90350f; /* violet */
443
+ }
444
+ .thrifty-paper .border-sky-300 {
445
+ border-color: #1d526b; /* sky */
446
+ }
447
+ .thrifty-paper .border-emerald-300 {
448
+ border-color: #0b5c44; /* green */
449
+ }
450
+ .thrifty-paper .border-amber-300 {
451
+ border-color: #5e5219; /* yellow */
452
+ }
453
+ .thrifty-paper .border-blue-300 {
454
+ border-color: #135a54; /* blue */
455
+ }
456
+
457
+ /* The page mat (the media-mat role): the mat under a screenshot on a page, the theme's own ground.
458
+ The white media matte above stays white for a code. */
459
+ .thrifty-paper .bg-zinc-50 {
460
+ background-color: #ffffff; /* the card white, so it looks as the mat always has */
461
+ }