@qdesignsystems/theme-myra 0.1.2

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.
package/dist/index.mjs ADDED
@@ -0,0 +1,1073 @@
1
+ // ../themes/src/utils/hex-to-hsl.ts
2
+ function hexToHsl(hex) {
3
+ const normalized = hex.replace(/^#/, "");
4
+ let r, g, b, a = null;
5
+ if (normalized.length === 3) {
6
+ r = parseInt(normalized[0] + normalized[0], 16) / 255;
7
+ g = parseInt(normalized[1] + normalized[1], 16) / 255;
8
+ b = parseInt(normalized[2] + normalized[2], 16) / 255;
9
+ } else if (normalized.length === 6) {
10
+ r = parseInt(normalized.slice(0, 2), 16) / 255;
11
+ g = parseInt(normalized.slice(2, 4), 16) / 255;
12
+ b = parseInt(normalized.slice(4, 6), 16) / 255;
13
+ } else if (normalized.length === 8) {
14
+ r = parseInt(normalized.slice(0, 2), 16) / 255;
15
+ g = parseInt(normalized.slice(2, 4), 16) / 255;
16
+ b = parseInt(normalized.slice(4, 6), 16) / 255;
17
+ a = parseInt(normalized.slice(6, 8), 16) / 255;
18
+ } else {
19
+ return "0 0% 0%";
20
+ }
21
+ const max = Math.max(r, g, b);
22
+ const min = Math.min(r, g, b);
23
+ let h = 0;
24
+ let s = 0;
25
+ const l = (max + min) / 2;
26
+ if (max !== min) {
27
+ const d = max - min;
28
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
29
+ switch (max) {
30
+ case r:
31
+ h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
32
+ break;
33
+ case g:
34
+ h = ((b - r) / d + 2) / 6;
35
+ break;
36
+ default:
37
+ h = ((r - g) / d + 4) / 6;
38
+ }
39
+ }
40
+ const hRound = Math.round(h * 360);
41
+ const sRound = Math.round(s * 100);
42
+ const lRound = Math.round(l * 100);
43
+ const base = `${hRound} ${sRound}% ${lRound}%`;
44
+ if (a !== null && a < 1) {
45
+ return `${base} / ${Math.round(a * 100) / 100}`;
46
+ }
47
+ return base;
48
+ }
49
+
50
+ // ../themes/src/themes/myra.ts
51
+ var INFO_HEX = "#0284C7";
52
+ var SUCCESS_HEX = "#16A34A";
53
+ var WARNING_HEX = "#D97706";
54
+ var myraTheme = {
55
+ name: "MYRA",
56
+ mode: "light",
57
+ colors: {
58
+ background: hexToHsl("#F6F5F3"),
59
+ "background-dark": hexToHsl("#1D1D1B"),
60
+ foreground: hexToHsl("#000000"),
61
+ "foreground-dark": hexToHsl("#FAFAFA"),
62
+ card: hexToHsl("#FFFFFF"),
63
+ "card-dark": hexToHsl("#1F1F1F"),
64
+ "card-foreground": hexToHsl("#0A0A0A"),
65
+ "card-foreground-dark": hexToHsl("#FAFAFA"),
66
+ popover: hexToHsl("#FAFAFA"),
67
+ "popover-dark": hexToHsl("#171717"),
68
+ "popover-foreground": hexToHsl("#000000"),
69
+ "popover-foreground-dark": hexToHsl("#FAFAFA"),
70
+ primary: hexToHsl("#007FEF"),
71
+ "primary-dark": hexToHsl("#007FEF"),
72
+ "primary-foreground": hexToHsl("#FAFAFA"),
73
+ "primary-foreground-dark": hexToHsl("#FAFAFA"),
74
+ secondary: hexToHsl("#F6F5F3"),
75
+ "secondary-dark": hexToHsl("#1D1D1B"),
76
+ "secondary-foreground": hexToHsl("#171717"),
77
+ "secondary-foreground-dark": hexToHsl("#FAFAFA"),
78
+ muted: hexToHsl("#EBEBEB"),
79
+ "muted-dark": hexToHsl("#262626"),
80
+ "muted-foreground": hexToHsl("#828282"),
81
+ "muted-foreground-dark": hexToHsl("#A1A1A1"),
82
+ accent: hexToHsl("#EDEDED"),
83
+ "accent-dark": hexToHsl("#262626"),
84
+ "accent-foreground": hexToHsl("#007FEF"),
85
+ "accent-foreground-dark": hexToHsl("#FAFAFA"),
86
+ destructive: hexToHsl("#E7000B"),
87
+ "destructive-dark": hexToHsl("#EC4B4B"),
88
+ info: hexToHsl(INFO_HEX),
89
+ "info-dark": hexToHsl(INFO_HEX),
90
+ success: hexToHsl(SUCCESS_HEX),
91
+ "success-dark": hexToHsl(SUCCESS_HEX),
92
+ warning: hexToHsl(WARNING_HEX),
93
+ "warning-dark": hexToHsl(WARNING_HEX),
94
+ border: hexToHsl("#E0E0E0"),
95
+ "border-dark": hexToHsl("#3F404D"),
96
+ input: hexToHsl("#DBDBDB"),
97
+ "input-dark": hexToHsl("#FFFFFF"),
98
+ ring: hexToHsl("#FFA913"),
99
+ "ring-dark": hexToHsl("#737373"),
100
+ "chart-1": hexToHsl("#007FEF"),
101
+ "chart-1-dark": hexToHsl("#007FEF"),
102
+ "chart-2": hexToHsl("#63DC01"),
103
+ "chart-2-dark": hexToHsl("#64DC01"),
104
+ "chart-3": hexToHsl("#49CEFE"),
105
+ "chart-3-dark": hexToHsl("#49CEFE"),
106
+ "chart-4": hexToHsl("#FB45FF"),
107
+ "chart-4-dark": hexToHsl("#FB45FF"),
108
+ "chart-5": hexToHsl("#FFAD2F"),
109
+ "chart-5-dark": hexToHsl("#FFAD2F"),
110
+ "sidebar-background": hexToHsl("#FAFAFA"),
111
+ "sidebar-background-dark": hexToHsl("#171717"),
112
+ "sidebar-foreground": hexToHsl("#0A0A0A"),
113
+ "sidebar-foreground-dark": hexToHsl("#FAFAFA"),
114
+ "sidebar-primary": hexToHsl("#171717"),
115
+ "sidebar-primary-dark": hexToHsl("#1447E6"),
116
+ "sidebar-primary-foreground": hexToHsl("#FAFAFA"),
117
+ "sidebar-primary-foreground-dark": hexToHsl("#1447E6"),
118
+ "sidebar-accent": hexToHsl("#F5F5F5"),
119
+ "sidebar-accent-dark": hexToHsl("#262626"),
120
+ "sidebar-accent-foreground": hexToHsl("#007FEF"),
121
+ "sidebar-accent-foreground-dark": hexToHsl("#F5F5F5"),
122
+ "sidebar-border": hexToHsl("#E5E5E5"),
123
+ "sidebar-border-dark": hexToHsl("#FFFFFF"),
124
+ "sidebar-ring": hexToHsl("#FFA913"),
125
+ "sidebar-ring-dark": hexToHsl("#FFA913"),
126
+ brand: hexToHsl("#E58F3B"),
127
+ "brand-dark": hexToHsl("#E8E5E2")
128
+ },
129
+ opacity: {
130
+ primary: {
131
+ 10: "#007FEF19",
132
+ 20: "#007FEF33",
133
+ 30: "#007FEF4C",
134
+ 40: "#007FEF66",
135
+ 50: "#007FEF7F",
136
+ 60: "#007FEF99"
137
+ },
138
+ secondary: {
139
+ 10: "#F4F4F519",
140
+ 20: "#F4F4F533",
141
+ 30: "#F4F4F54C",
142
+ 40: "#F4F4F566",
143
+ 50: "#F4F4F57F",
144
+ 60: "#F4F4F599"
145
+ },
146
+ accent: {
147
+ 10: "#F4F4F519",
148
+ 20: "#F4F4F533",
149
+ 30: "#F4F4F54C",
150
+ 40: "#F4F4F566",
151
+ 50: "#F4F4F57F",
152
+ 60: "#F4F4F599"
153
+ },
154
+ success: {
155
+ 10: "#16A34A19",
156
+ 20: "#16A34A33",
157
+ 30: "#16A34A4C",
158
+ 40: "#16A34A66",
159
+ 50: "#16A34A7F",
160
+ 60: "#16A34A99"
161
+ },
162
+ info: {
163
+ 10: "#0284C719",
164
+ 20: "#0284C733",
165
+ 30: "#0284C74C",
166
+ 40: "#0284C766",
167
+ 50: "#0284C77F",
168
+ 60: "#0284C799"
169
+ },
170
+ warning: {
171
+ 10: "#E3921919",
172
+ 20: "#D9770633",
173
+ 30: "#D977064C",
174
+ 40: "#D9770666",
175
+ 50: "#D977067F",
176
+ 60: "#D9770699"
177
+ },
178
+ destructive: {
179
+ 10: "#E0343419",
180
+ 20: "#E0343433",
181
+ 30: "#E034344C",
182
+ 40: "#E0343466",
183
+ 50: "#E034347F",
184
+ 60: "#DC262699"
185
+ },
186
+ neutral: {
187
+ 10: "#47485719",
188
+ 20: "#47485733",
189
+ 30: "#4748574C",
190
+ 40: "#47485766",
191
+ 50: "#4748577F",
192
+ 60: "#47485799"
193
+ },
194
+ "primary-dark": {
195
+ 10: "#1EB8CE19",
196
+ 20: "#1EB8CE33",
197
+ 30: "#1EB8CE4C",
198
+ 40: "#1EB8CE66",
199
+ 50: "#1EB8CE7F",
200
+ 60: "#1EB8CE99"
201
+ }
202
+ },
203
+ fontFamily: {
204
+ "font-sans": "Switzer Variable",
205
+ "font-serif": "Switzer Variable",
206
+ "font-mono": "Roboto Mono"
207
+ },
208
+ borderRadius: {
209
+ none: "0",
210
+ xs: "8px",
211
+ sm: "12px",
212
+ md: "16px",
213
+ lg: "24px",
214
+ xl: "33px",
215
+ rounded: "9999px"
216
+ },
217
+ custom: {
218
+ transparent: "#FFFFFF00",
219
+ "backdrop-overlay": "#3C3A4099",
220
+ shadow: "#00000019",
221
+ "background-input-30": "rgba(246, 245, 243, 0.3)",
222
+ "input-dark": "#FFFFFF00",
223
+ "alpha-50": "#FFFFFF7F",
224
+ glass: "#FFFFFF3D"
225
+ },
226
+ typography: {
227
+ h1: { fontSize: "2.25rem", lineHeight: "2.5rem", fontWeight: "700" },
228
+ h2: { fontSize: "1.875rem", lineHeight: "2.25rem", fontWeight: "600" },
229
+ h3: { fontSize: "1.5rem", lineHeight: "2rem", fontWeight: "600" },
230
+ h4: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "600" },
231
+ paragraph: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
232
+ blockquote: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
233
+ list: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
234
+ "inline-code": { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
235
+ lead: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "400" },
236
+ large: { fontSize: "1.125rem", lineHeight: "1.75rem", fontWeight: "400" },
237
+ small: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
238
+ muted: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" }
239
+ },
240
+ shadowVars: {
241
+ "shadow-2xs-offset-x": "0",
242
+ "shadow-2xs-offset-y": "1",
243
+ "shadow-2xs-blur-radius": "8",
244
+ "shadow-2xs-spread-radius": "0",
245
+ "shadow-2xs-color": "#00000002",
246
+ "shadow-xs-offset-x": "0",
247
+ "shadow-xs-offset-y": "1",
248
+ "shadow-xs-blur-radius": "14",
249
+ "shadow-xs-spread-radius": "0",
250
+ "shadow-xs-color": "#00000002",
251
+ "shadow-sm-1-offset-x": "0",
252
+ "shadow-sm-1-offset-y": "1",
253
+ "shadow-sm-1-blur-radius": "3",
254
+ "shadow-sm-1-spread-radius": "0",
255
+ "shadow-sm-1-color": "#00000002",
256
+ "shadow-sm-2-offset-x": "0",
257
+ "shadow-sm-2-offset-y": "1",
258
+ "shadow-sm-2-blur-radius": "2",
259
+ "shadow-sm-2-spread-radius": "-1",
260
+ "shadow-sm-2-color": "#00000002",
261
+ "shadow-md-1-offset-x": "0",
262
+ "shadow-md-1-offset-y": "1",
263
+ "shadow-md-1-blur-radius": "3",
264
+ "shadow-md-1-spread-radius": "0",
265
+ "shadow-md-1-color": "#00000002",
266
+ "shadow-md-2-offset-x": "0",
267
+ "shadow-md-2-offset-y": "2",
268
+ "shadow-md-2-blur-radius": "4",
269
+ "shadow-md-2-spread-radius": "-1",
270
+ "shadow-md-2-color": "#00000002",
271
+ "shadow-lg-1-offset-x": "0",
272
+ "shadow-lg-1-offset-y": "1",
273
+ "shadow-lg-1-blur-radius": "3",
274
+ "shadow-lg-1-spread-radius": "0",
275
+ "shadow-lg-1-color": "#00000002",
276
+ "shadow-lg-2-offset-x": "0",
277
+ "shadow-lg-2-offset-y": "4",
278
+ "shadow-lg-2-blur-radius": "6",
279
+ "shadow-lg-2-spread-radius": "-1",
280
+ "shadow-lg-2-color": "#00000002",
281
+ "shadow-xl-1-offset-x": "0",
282
+ "shadow-xl-1-offset-y": "1",
283
+ "shadow-xl-1-blur-radius": "3",
284
+ "shadow-xl-1-spread-radius": "0",
285
+ "shadow-xl-1-color": "#00000002",
286
+ "shadow-xl-2-offset-x": "0",
287
+ "shadow-xl-2-offset-y": "8",
288
+ "shadow-xl-2-blur-radius": "10",
289
+ "shadow-xl-2-spread-radius": "-1",
290
+ "shadow-xl-2-color": "#00000002",
291
+ "shadow-2xl-offset-x": "0",
292
+ "shadow-2xl-offset-y": "1",
293
+ "shadow-2xl-blur-radius": "24",
294
+ "shadow-2xl-spread-radius": "0",
295
+ "shadow-2xl-color": "#00000007",
296
+ "shadow-sm-offset-x": "0",
297
+ "shadow-sm-offset-y": "0",
298
+ "shadow-sm-blur-radius": "0",
299
+ "shadow-sm-spread-radius": "0",
300
+ "shadow-sm-color": "#FFFFFF",
301
+ "shadow-md-offset-x": "0",
302
+ "shadow-md-offset-y": "0",
303
+ "shadow-md-blur-radius": "0",
304
+ "shadow-md-spread-radius": "0",
305
+ "shadow-md-color": "#FFFFFF",
306
+ "shadow-lg-offset-x": "0",
307
+ "shadow-lg-offset-y": "0",
308
+ "shadow-lg-blur-radius": "0",
309
+ "shadow-lg-spread-radius": "0",
310
+ "shadow-lg-color": "#FFFFFF",
311
+ "shadow-xl-offset-x": "0",
312
+ "shadow-xl-offset-y": "0",
313
+ "shadow-xl-blur-radius": "0",
314
+ "shadow-xl-spread-radius": "0",
315
+ "shadow-xl-color": "#FFFFFF"
316
+ },
317
+ shadowVarsDark: {
318
+ "shadow-2xs-offset-x": "0",
319
+ "shadow-2xs-offset-y": "1",
320
+ "shadow-2xs-blur-radius": "8",
321
+ "shadow-2xs-spread-radius": "0",
322
+ "shadow-2xs-color": "#00000002",
323
+ "shadow-xs-offset-x": "0",
324
+ "shadow-xs-offset-y": "1",
325
+ "shadow-xs-blur-radius": "14",
326
+ "shadow-xs-spread-radius": "0",
327
+ "shadow-xs-color": "#00000002",
328
+ "shadow-sm-1-offset-x": "0",
329
+ "shadow-sm-1-offset-y": "1",
330
+ "shadow-sm-1-blur-radius": "3",
331
+ "shadow-sm-1-spread-radius": "0",
332
+ "shadow-sm-1-color": "#00000002",
333
+ "shadow-sm-2-offset-x": "0",
334
+ "shadow-sm-2-offset-y": "1",
335
+ "shadow-sm-2-blur-radius": "2",
336
+ "shadow-sm-2-spread-radius": "-1",
337
+ "shadow-sm-2-color": "#00000002",
338
+ "shadow-md-1-offset-x": "0",
339
+ "shadow-md-1-offset-y": "1",
340
+ "shadow-md-1-blur-radius": "3",
341
+ "shadow-md-1-spread-radius": "0",
342
+ "shadow-md-1-color": "#00000002",
343
+ "shadow-md-2-offset-x": "0",
344
+ "shadow-md-2-offset-y": "2",
345
+ "shadow-md-2-blur-radius": "4",
346
+ "shadow-md-2-spread-radius": "-1",
347
+ "shadow-md-2-color": "#00000002",
348
+ "shadow-lg-1-offset-x": "0",
349
+ "shadow-lg-1-offset-y": "1",
350
+ "shadow-lg-1-blur-radius": "3",
351
+ "shadow-lg-1-spread-radius": "0",
352
+ "shadow-lg-1-color": "#00000002",
353
+ "shadow-lg-2-offset-x": "0",
354
+ "shadow-lg-2-offset-y": "4",
355
+ "shadow-lg-2-blur-radius": "6",
356
+ "shadow-lg-2-spread-radius": "-1",
357
+ "shadow-lg-2-color": "#00000002",
358
+ "shadow-xl-1-offset-x": "0",
359
+ "shadow-xl-1-offset-y": "1",
360
+ "shadow-xl-1-blur-radius": "3",
361
+ "shadow-xl-1-spread-radius": "0",
362
+ "shadow-xl-1-color": "#00000002",
363
+ "shadow-xl-2-offset-x": "0",
364
+ "shadow-xl-2-offset-y": "8",
365
+ "shadow-xl-2-blur-radius": "10",
366
+ "shadow-xl-2-spread-radius": "-1",
367
+ "shadow-xl-2-color": "#00000002",
368
+ "shadow-2xl-offset-x": "0",
369
+ "shadow-2xl-offset-y": "1",
370
+ "shadow-2xl-blur-radius": "24",
371
+ "shadow-2xl-spread-radius": "0",
372
+ "shadow-2xl-color": "#00000007"
373
+ }
374
+ };
375
+
376
+ // ../themes/src/themes/q.ts
377
+ var INFO_HEX2 = "#0284C7";
378
+ var SUCCESS_HEX2 = "#16A34A";
379
+ var WARNING_HEX2 = "#D97706";
380
+ var qTheme = {
381
+ name: "Q",
382
+ mode: "light",
383
+ colors: {
384
+ background: hexToHsl("#F5F5F7"),
385
+ "background-dark": hexToHsl("#000000"),
386
+ foreground: hexToHsl("#1D1D1F"),
387
+ "foreground-dark": hexToHsl("#F5F5F7"),
388
+ card: hexToHsl("#FFFFFF"),
389
+ "card-dark": hexToHsl("#121214"),
390
+ "card-foreground": hexToHsl("#1D1D1F"),
391
+ "card-foreground-dark": hexToHsl("#F5F5F7"),
392
+ popover: hexToHsl("#EBECF0"),
393
+ "popover-dark": hexToHsl("#1D1D1F"),
394
+ "popover-foreground": hexToHsl("#1F1918"),
395
+ "popover-foreground-dark": hexToHsl("#F5F5F7"),
396
+ primary: hexToHsl("#000000"),
397
+ "primary-dark": hexToHsl("#FFFFFF"),
398
+ "primary-foreground": hexToHsl("#FFFFFF"),
399
+ "primary-foreground-dark": hexToHsl("#000000"),
400
+ secondary: hexToHsl("#EBECF0"),
401
+ "secondary-dark": hexToHsl("#1D1D1F"),
402
+ "secondary-foreground": hexToHsl("#46464B"),
403
+ "secondary-foreground-dark": hexToHsl("#DADADD"),
404
+ muted: hexToHsl("#ECECEC"),
405
+ "muted-dark": hexToHsl("#1D1D1F"),
406
+ "muted-foreground": hexToHsl("#47474C"),
407
+ "muted-foreground-dark": hexToHsl("#5A5A64"),
408
+ accent: hexToHsl("#010FD41E"),
409
+ "accent-dark": hexToHsl("#4867FF3D"),
410
+ "accent-foreground": hexToHsl("#000ED3"),
411
+ "accent-foreground-dark": hexToHsl("#3442FF"),
412
+ destructive: hexToHsl("#DB0000"),
413
+ "destructive-dark": hexToHsl("#DB0000"),
414
+ info: hexToHsl(INFO_HEX2),
415
+ "info-dark": hexToHsl(INFO_HEX2),
416
+ success: hexToHsl(SUCCESS_HEX2),
417
+ "success-dark": hexToHsl(SUCCESS_HEX2),
418
+ warning: hexToHsl(WARNING_HEX2),
419
+ "warning-dark": hexToHsl(WARNING_HEX2),
420
+ border: hexToHsl("#D2D2D7"),
421
+ "border-dark": hexToHsl("#434344"),
422
+ input: hexToHsl("#D2D2D77F"),
423
+ "input-dark": hexToHsl("#4343447F"),
424
+ ring: hexToHsl("#000ED3"),
425
+ "ring-dark": hexToHsl("#3442FF"),
426
+ "chart-1": hexToHsl("#E3131E"),
427
+ "chart-1-dark": hexToHsl("#FF1E28"),
428
+ "chart-2": hexToHsl("#0684EA"),
429
+ "chart-2-dark": hexToHsl("#0095FF"),
430
+ "chart-3": hexToHsl("#CB02EF"),
431
+ "chart-3-dark": hexToHsl("#CB02EF"),
432
+ "chart-4": hexToHsl("#00E344"),
433
+ "chart-4-dark": hexToHsl("#00E344"),
434
+ "chart-5": hexToHsl("#DBE914"),
435
+ "chart-5-dark": hexToHsl("#DBE914"),
436
+ "sidebar-background": hexToHsl("#FFFFFF"),
437
+ "sidebar-background-dark": hexToHsl("#000000"),
438
+ "sidebar-foreground": hexToHsl("#1D1D1F"),
439
+ "sidebar-foreground-dark": hexToHsl("#F5F5F7"),
440
+ "sidebar-primary": hexToHsl("#FFFFFF"),
441
+ "sidebar-primary-dark": hexToHsl("#000000"),
442
+ "sidebar-primary-foreground": hexToHsl("#1D1D1F"),
443
+ "sidebar-primary-foreground-dark": hexToHsl("#F5F5F7"),
444
+ "sidebar-accent": hexToHsl("#010FD41E"),
445
+ "sidebar-accent-dark": hexToHsl("#3542FF1E"),
446
+ "sidebar-accent-foreground": hexToHsl("#1D1D1F"),
447
+ "sidebar-accent-foreground-dark": hexToHsl("#1D1D1F"),
448
+ "sidebar-border": hexToHsl("#D2D2D7"),
449
+ "sidebar-border-dark": hexToHsl("#4343444C"),
450
+ "sidebar-ring": hexToHsl("#D2D2D7"),
451
+ "sidebar-ring-dark": hexToHsl("#1D1D1F"),
452
+ brand: hexToHsl("#000ED3"),
453
+ "brand-dark": hexToHsl("#3442FF")
454
+ },
455
+ opacity: {
456
+ primary: {
457
+ 10: "#00000019",
458
+ 20: "#00000033",
459
+ 30: "#0000004C",
460
+ 40: "#00000066",
461
+ 50: "#0000007F",
462
+ 60: "#00000099"
463
+ },
464
+ secondary: {
465
+ 10: "#F4F4F519",
466
+ 20: "#F4F4F533",
467
+ 30: "#F4F4F54C",
468
+ 40: "#F4F4F566",
469
+ 50: "#F4F4F57F",
470
+ 60: "#F4F4F599"
471
+ },
472
+ accent: {
473
+ 10: "#F4F4F519",
474
+ 20: "#F4F4F533",
475
+ 30: "#F4F4F54C",
476
+ 40: "#F4F4F566",
477
+ 50: "#F4F4F57F",
478
+ 60: "#F4F4F599"
479
+ },
480
+ success: {
481
+ 10: "#16A34A19",
482
+ 20: "#16A34A33",
483
+ 30: "#16A34A4C",
484
+ 40: "#16A34A66",
485
+ 50: "#16A34A7F",
486
+ 60: "#16A34A99"
487
+ },
488
+ info: {
489
+ 10: "#0284C719",
490
+ 20: "#0284C733",
491
+ 30: "#0284C74C",
492
+ 40: "#0284C766",
493
+ 50: "#0284C77F",
494
+ 60: "#0284C799"
495
+ },
496
+ warning: {
497
+ 10: "#E3921919",
498
+ 20: "#D9770633",
499
+ 30: "#D977064C",
500
+ 40: "#D9770666",
501
+ 50: "#D977067F",
502
+ 60: "#D9770699"
503
+ },
504
+ destructive: {
505
+ 10: "#E0343419",
506
+ 20: "#E0343433",
507
+ 30: "#E034344C",
508
+ 40: "#E0343466",
509
+ 50: "#E034347F",
510
+ 60: "#DC262699"
511
+ },
512
+ neutral: {
513
+ 10: "#47485719",
514
+ 20: "#47485733",
515
+ 30: "#4748574C",
516
+ 40: "#47485766",
517
+ 50: "#4748577F",
518
+ 60: "#47485799"
519
+ },
520
+ "primary-dark": {
521
+ 10: "#71727419",
522
+ 20: "#72737433",
523
+ 30: "#7273744C",
524
+ 40: "#72737466",
525
+ 50: "#7273747F",
526
+ 60: "#72737499"
527
+ }
528
+ },
529
+ fontFamily: {
530
+ "font-sans": "Suisse BP Int'l",
531
+ "font-serif": "Suisse BP Int'l",
532
+ "font-mono": "Suisse BP Int'l"
533
+ },
534
+ borderRadius: {
535
+ none: "0",
536
+ xs: "8px",
537
+ sm: "14px",
538
+ md: "18px",
539
+ lg: "24px",
540
+ xl: "33px",
541
+ rounded: "9999px"
542
+ },
543
+ custom: {
544
+ transparent: "#FFFFFF00",
545
+ "backdrop-overlay": "#3C3A4099",
546
+ shadow: "#00000019",
547
+ "background-input-30": "var(--background)",
548
+ "input-dark": "#FFFFFF00",
549
+ "alpha-50": "#FFFFFF7F",
550
+ glass: "#FFFFFF3D"
551
+ },
552
+ typography: {
553
+ h1: { fontSize: "2.25rem", lineHeight: "2.5rem", fontWeight: "700" },
554
+ h2: { fontSize: "1.875rem", lineHeight: "2.25rem", fontWeight: "600" },
555
+ h3: { fontSize: "1.5rem", lineHeight: "2rem", fontWeight: "600" },
556
+ h4: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "600" },
557
+ paragraph: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
558
+ blockquote: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
559
+ list: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
560
+ "inline-code": { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
561
+ lead: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "400" },
562
+ large: { fontSize: "1.125rem", lineHeight: "1.75rem", fontWeight: "400" },
563
+ small: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
564
+ muted: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" }
565
+ },
566
+ shadowVars: {
567
+ "shadow-2xs-offset-x": "0",
568
+ "shadow-2xs-offset-y": "1",
569
+ "shadow-2xs-blur-radius": "3",
570
+ "shadow-2xs-spread-radius": "0",
571
+ "shadow-2xs-color": "#00000002",
572
+ "shadow-xs-offset-x": "0",
573
+ "shadow-xs-offset-y": "1",
574
+ "shadow-xs-blur-radius": "3",
575
+ "shadow-xs-spread-radius": "0",
576
+ "shadow-xs-color": "#00000002",
577
+ "shadow-sm-1-offset-x": "0",
578
+ "shadow-sm-1-offset-y": "1",
579
+ "shadow-sm-1-blur-radius": "3",
580
+ "shadow-sm-1-spread-radius": "0",
581
+ "shadow-sm-1-color": "#00000002",
582
+ "shadow-sm-2-offset-x": "0",
583
+ "shadow-sm-2-offset-y": "1",
584
+ "shadow-sm-2-blur-radius": "2",
585
+ "shadow-sm-2-spread-radius": "-1",
586
+ "shadow-sm-2-color": "#00000002",
587
+ "shadow-md-1-offset-x": "0",
588
+ "shadow-md-1-offset-y": "1",
589
+ "shadow-md-1-blur-radius": "3",
590
+ "shadow-md-1-spread-radius": "0",
591
+ "shadow-md-1-color": "#00000002",
592
+ "shadow-md-2-offset-x": "0",
593
+ "shadow-md-2-offset-y": "2",
594
+ "shadow-md-2-blur-radius": "4",
595
+ "shadow-md-2-spread-radius": "-1",
596
+ "shadow-md-2-color": "#00000002",
597
+ "shadow-lg-1-offset-x": "0",
598
+ "shadow-lg-1-offset-y": "1",
599
+ "shadow-lg-1-blur-radius": "3",
600
+ "shadow-lg-1-spread-radius": "0",
601
+ "shadow-lg-1-color": "#00000002",
602
+ "shadow-lg-2-offset-x": "0",
603
+ "shadow-lg-2-offset-y": "4",
604
+ "shadow-lg-2-blur-radius": "6",
605
+ "shadow-lg-2-spread-radius": "-1",
606
+ "shadow-lg-2-color": "#00000002",
607
+ "shadow-xl-1-offset-x": "0",
608
+ "shadow-xl-1-offset-y": "1",
609
+ "shadow-xl-1-blur-radius": "3",
610
+ "shadow-xl-1-spread-radius": "0",
611
+ "shadow-xl-1-color": "#00000002",
612
+ "shadow-xl-2-offset-x": "0",
613
+ "shadow-xl-2-offset-y": "8",
614
+ "shadow-xl-2-blur-radius": "10",
615
+ "shadow-xl-2-spread-radius": "-1",
616
+ "shadow-xl-2-color": "#00000002",
617
+ "shadow-2xl-offset-x": "0",
618
+ "shadow-2xl-offset-y": "1",
619
+ "shadow-2xl-blur-radius": "3",
620
+ "shadow-2xl-spread-radius": "0",
621
+ "shadow-2xl-color": "#00000007",
622
+ "shadow-sm-offset-x": "0",
623
+ "shadow-sm-offset-y": "0",
624
+ "shadow-sm-blur-radius": "0",
625
+ "shadow-sm-spread-radius": "0",
626
+ "shadow-sm-color": "#FFFFFF",
627
+ "shadow-md-offset-x": "0",
628
+ "shadow-md-offset-y": "0",
629
+ "shadow-md-blur-radius": "0",
630
+ "shadow-md-spread-radius": "0",
631
+ "shadow-md-color": "#FFFFFF",
632
+ "shadow-lg-offset-x": "0",
633
+ "shadow-lg-offset-y": "0",
634
+ "shadow-lg-blur-radius": "0",
635
+ "shadow-lg-spread-radius": "0",
636
+ "shadow-lg-color": "#FFFFFF",
637
+ "shadow-xl-offset-x": "0",
638
+ "shadow-xl-offset-y": "0",
639
+ "shadow-xl-blur-radius": "0",
640
+ "shadow-xl-spread-radius": "0",
641
+ "shadow-xl-color": "#FFFFFF"
642
+ },
643
+ shadowVarsDark: {
644
+ "shadow-2xs-offset-x": "0",
645
+ "shadow-2xs-offset-y": "1",
646
+ "shadow-2xs-blur-radius": "3",
647
+ "shadow-2xs-spread-radius": "0",
648
+ "shadow-2xs-color": "#00000002",
649
+ "shadow-xs-offset-x": "0",
650
+ "shadow-xs-offset-y": "1",
651
+ "shadow-xs-blur-radius": "3",
652
+ "shadow-xs-spread-radius": "0",
653
+ "shadow-xs-color": "#00000002",
654
+ "shadow-sm-1-offset-x": "0",
655
+ "shadow-sm-1-offset-y": "1",
656
+ "shadow-sm-1-blur-radius": "3",
657
+ "shadow-sm-1-spread-radius": "0",
658
+ "shadow-sm-1-color": "#00000002",
659
+ "shadow-sm-2-offset-x": "0",
660
+ "shadow-sm-2-offset-y": "1",
661
+ "shadow-sm-2-blur-radius": "2",
662
+ "shadow-sm-2-spread-radius": "-1",
663
+ "shadow-sm-2-color": "#00000002",
664
+ "shadow-md-1-offset-x": "0",
665
+ "shadow-md-1-offset-y": "1",
666
+ "shadow-md-1-blur-radius": "3",
667
+ "shadow-md-1-spread-radius": "0",
668
+ "shadow-md-1-color": "#00000002",
669
+ "shadow-md-2-offset-x": "0",
670
+ "shadow-md-2-offset-y": "2",
671
+ "shadow-md-2-blur-radius": "4",
672
+ "shadow-md-2-spread-radius": "-1",
673
+ "shadow-md-2-color": "#00000002",
674
+ "shadow-lg-1-offset-x": "0",
675
+ "shadow-lg-1-offset-y": "1",
676
+ "shadow-lg-1-blur-radius": "3",
677
+ "shadow-lg-1-spread-radius": "0",
678
+ "shadow-lg-1-color": "#00000002",
679
+ "shadow-lg-2-offset-x": "0",
680
+ "shadow-lg-2-offset-y": "4",
681
+ "shadow-lg-2-blur-radius": "6",
682
+ "shadow-lg-2-spread-radius": "-1",
683
+ "shadow-lg-2-color": "#00000002",
684
+ "shadow-xl-1-offset-x": "0",
685
+ "shadow-xl-1-offset-y": "1",
686
+ "shadow-xl-1-blur-radius": "3",
687
+ "shadow-xl-1-spread-radius": "0",
688
+ "shadow-xl-1-color": "#00000002",
689
+ "shadow-xl-2-offset-x": "0",
690
+ "shadow-xl-2-offset-y": "8",
691
+ "shadow-xl-2-blur-radius": "10",
692
+ "shadow-xl-2-spread-radius": "-1",
693
+ "shadow-xl-2-color": "#00000002",
694
+ "shadow-2xl-offset-x": "0",
695
+ "shadow-2xl-offset-y": "1",
696
+ "shadow-2xl-blur-radius": "3",
697
+ "shadow-2xl-spread-radius": "0",
698
+ "shadow-2xl-color": "#00000007"
699
+ }
700
+ };
701
+
702
+ // ../themes/src/generator.ts
703
+ function composeShadowVars(vars) {
704
+ const get = (key, fallback) => vars[key] ?? fallback;
705
+ const layer = (prefix, fallbackY, fallbackBlur, fallbackSpread, fallbackColor) => {
706
+ const x = get(`${prefix}-offset-x`, "0");
707
+ const y = get(`${prefix}-offset-y`, fallbackY);
708
+ const blur = get(`${prefix}-blur-radius`, fallbackBlur);
709
+ const spread = get(`${prefix}-spread-radius`, fallbackSpread);
710
+ const color = get(`${prefix}-color`, fallbackColor);
711
+ return `${x}px ${y}px ${blur}px ${spread}px ${color}`;
712
+ };
713
+ const single = (prefix, fallbackY, fallbackBlur, fallbackSpread, fallbackColor) => ` --shadow-tw-${prefix.replace("shadow-", "")}: ${layer(prefix, fallbackY, fallbackBlur, fallbackSpread, fallbackColor)};`;
714
+ const dual = (name, p1, p2, fb1, fb2) => ` --shadow-tw-${name}: ${layer(p1, ...fb1)}, ${layer(p2, ...fb2)};`;
715
+ return [
716
+ single("shadow-2xs", "1", "2", "0", "rgb(0 0 0 / 0.05)"),
717
+ single("shadow-xs", "1", "3", "0", "rgb(0 0 0 / 0.05)"),
718
+ dual(
719
+ "sm",
720
+ "shadow-sm-1",
721
+ "shadow-sm-2",
722
+ ["1", "3", "0", "rgb(0 0 0 / 0.05)"],
723
+ ["1", "2", "-1", "rgb(0 0 0 / 0.05)"]
724
+ ),
725
+ dual(
726
+ "md",
727
+ "shadow-md-1",
728
+ "shadow-md-2",
729
+ ["1", "3", "0", "rgb(0 0 0 / 0.1)"],
730
+ ["2", "4", "-1", "rgb(0 0 0 / 0.1)"]
731
+ ),
732
+ dual(
733
+ "lg",
734
+ "shadow-lg-1",
735
+ "shadow-lg-2",
736
+ ["1", "3", "0", "rgb(0 0 0 / 0.1)"],
737
+ ["4", "6", "-1", "rgb(0 0 0 / 0.1)"]
738
+ ),
739
+ dual(
740
+ "xl",
741
+ "shadow-xl-1",
742
+ "shadow-xl-2",
743
+ ["1", "3", "0", "rgb(0 0 0 / 0.1)"],
744
+ ["8", "10", "-1", "rgb(0 0 0 / 0.1)"]
745
+ ),
746
+ single("shadow-2xl", "1", "24", "0", "rgb(0 0 0 / 0.25)")
747
+ ];
748
+ }
749
+ function generateThemeCSS(theme) {
750
+ const lightVariables = [];
751
+ const darkVariables = [];
752
+ Object.entries(theme.colors).forEach(([key, value]) => {
753
+ if (key.endsWith("-dark")) {
754
+ const baseKey = key.replace("-dark", "");
755
+ darkVariables.push(` --${baseKey}: ${value};`);
756
+ } else if (!key.includes("-dark")) {
757
+ lightVariables.push(` --${key}: ${value};`);
758
+ }
759
+ });
760
+ Object.entries(theme.opacity).forEach(([colorName, scale]) => {
761
+ Object.entries(scale).forEach(([opacity, value]) => {
762
+ const cssKey = `--${colorName}-opacity-${opacity}`;
763
+ lightVariables.push(` ${cssKey}: ${value};`);
764
+ darkVariables.push(` ${cssKey}: ${value};`);
765
+ });
766
+ });
767
+ Object.entries(theme.borderRadius).forEach(([key, value]) => {
768
+ const cssKey = `--radius-${key}`;
769
+ lightVariables.push(` ${cssKey}: ${value};`);
770
+ darkVariables.push(` ${cssKey}: ${value};`);
771
+ });
772
+ Object.entries(theme.fontFamily).forEach(([key, value]) => {
773
+ const cssKey = `--${key}`;
774
+ lightVariables.push(` ${cssKey}: ${value};`);
775
+ darkVariables.push(` ${cssKey}: ${value};`);
776
+ });
777
+ Object.entries(theme.custom).forEach(([key, value]) => {
778
+ const cssKey = `--${key}`;
779
+ lightVariables.push(` ${cssKey}: ${value};`);
780
+ darkVariables.push(` ${cssKey}: ${value};`);
781
+ });
782
+ lightVariables.push(` --radius: ${theme.borderRadius.lg};`);
783
+ darkVariables.push(` --radius: ${theme.borderRadius.lg};`);
784
+ if (theme.shadowVars) {
785
+ Object.entries(theme.shadowVars).forEach(([key, value]) => {
786
+ lightVariables.push(` --${key}: ${value};`);
787
+ });
788
+ lightVariables.push(...composeShadowVars(theme.shadowVars));
789
+ }
790
+ if (theme.shadowVarsDark) {
791
+ Object.entries(theme.shadowVarsDark).forEach(([key, value]) => {
792
+ darkVariables.push(` --${key}: ${value};`);
793
+ });
794
+ darkVariables.push(...composeShadowVars(theme.shadowVarsDark));
795
+ }
796
+ return `:root {
797
+ ${lightVariables.join("\n")}
798
+ }
799
+
800
+ .dark {
801
+ ${darkVariables.join("\n")}
802
+ }`;
803
+ }
804
+
805
+ // src/theme.ts
806
+ var INFO_HEX_HSL = "199 89% 48%";
807
+ var SUCCESS_HEX_HSL = "142 76% 36%";
808
+ var WARNING_HEX_HSL = "38 92% 50%";
809
+ var myraTheme2 = {
810
+ name: "MYRA",
811
+ mode: "light",
812
+ colors: {
813
+ background: "40 18% 96%",
814
+ "background-dark": "60 1% 11%",
815
+ foreground: "0 0% 0%",
816
+ "foreground-dark": "0 0% 98%",
817
+ card: "0 0% 100%",
818
+ "card-dark": "0 0% 12%",
819
+ "card-foreground": "0 0% 4%",
820
+ "card-foreground-dark": "0 0% 98%",
821
+ popover: "0 0% 98%",
822
+ "popover-dark": "0 0% 9%",
823
+ "popover-foreground": "0 0% 0%",
824
+ "popover-foreground-dark": "0 0% 98%",
825
+ primary: "210 100% 47%",
826
+ "primary-dark": "210 100% 47%",
827
+ "primary-foreground": "0 0% 98%",
828
+ "primary-foreground-dark": "0 0% 98%",
829
+ secondary: "40 18% 96%",
830
+ "secondary-dark": "60 1% 11%",
831
+ "secondary-foreground": "0 0% 9%",
832
+ "secondary-foreground-dark": "0 0% 98%",
833
+ muted: "0 0% 92%",
834
+ "muted-dark": "0 0% 15%",
835
+ "muted-foreground": "0 0% 51%",
836
+ "muted-foreground-dark": "0 0% 63%",
837
+ accent: "0 0% 93%",
838
+ "accent-dark": "0 0% 15%",
839
+ "accent-foreground": "210 100% 47%",
840
+ "accent-foreground-dark": "0 0% 98%",
841
+ destructive: "358 100% 45%",
842
+ "destructive-dark": "0 75% 60%",
843
+ info: INFO_HEX_HSL,
844
+ "info-dark": INFO_HEX_HSL,
845
+ success: SUCCESS_HEX_HSL,
846
+ "success-dark": SUCCESS_HEX_HSL,
847
+ warning: WARNING_HEX_HSL,
848
+ "warning-dark": WARNING_HEX_HSL,
849
+ border: "0 0% 88%",
850
+ "border-dark": "231 12% 27%",
851
+ input: "0 0% 86%",
852
+ "input-dark": "0 0% 100%",
853
+ ring: "38 100% 54%",
854
+ "ring-dark": "0 0% 45%",
855
+ "chart-1": "210 100% 47%",
856
+ "chart-1-dark": "210 100% 47%",
857
+ "chart-2": "96 98% 44%",
858
+ "chart-2-dark": "96 98% 44%",
859
+ "chart-3": "196 99% 65%",
860
+ "chart-3-dark": "196 99% 65%",
861
+ "chart-4": "298 100% 63%",
862
+ "chart-4-dark": "298 100% 63%",
863
+ "chart-5": "38 100% 59%",
864
+ "chart-5-dark": "38 100% 59%",
865
+ sidebar: "0 0% 98%",
866
+ "sidebar-dark": "0 0% 9%",
867
+ "sidebar-foreground": "0 0% 4%",
868
+ "sidebar-foreground-dark": "0 0% 98%",
869
+ "sidebar-primary": "0 0% 9%",
870
+ "sidebar-primary-dark": "226 79% 49%",
871
+ "sidebar-primary-foreground": "0 0% 98%",
872
+ "sidebar-primary-foreground-dark": "226 79% 49%",
873
+ "sidebar-accent": "0 0% 96%",
874
+ "sidebar-accent-dark": "0 0% 15%",
875
+ "sidebar-accent-foreground": "210 100% 47%",
876
+ "sidebar-accent-foreground-dark": "0 0% 96%",
877
+ "sidebar-border": "0 0% 90%",
878
+ "sidebar-border-dark": "0 0% 100%",
879
+ "sidebar-ring": "38 100% 54%",
880
+ "sidebar-ring-dark": "38 100% 54%",
881
+ brand: "29 73% 56%",
882
+ "brand-dark": "30 14% 89%"
883
+ },
884
+ opacity: {
885
+ primary: { 10: "#007FEF19", 20: "#007FEF33", 30: "#007FEF4C", 40: "#007FEF66", 50: "#007FEF7F", 60: "#007FEF99" },
886
+ secondary: { 10: "#F4F4F519", 20: "#F4F4F533", 30: "#F4F4F54C", 40: "#F4F4F566", 50: "#F4F4F57F", 60: "#F4F4F599" },
887
+ accent: { 10: "#F4F4F519", 20: "#F4F4F533", 30: "#F4F4F54C", 40: "#F4F4F566", 50: "#F4F4F57F", 60: "#F4F4F599" },
888
+ success: { 10: "#16A34A19", 20: "#16A34A33", 30: "#16A34A4C", 40: "#16A34A66", 50: "#16A34A7F", 60: "#16A34A99" },
889
+ info: { 10: "#0284C719", 20: "#0284C733", 30: "#0284C74C", 40: "#0284C766", 50: "#0284C77F", 60: "#0284C799" },
890
+ warning: { 10: "#E3921919", 20: "#D9770633", 30: "#D977064C", 40: "#D9770666", 50: "#D977067F", 60: "#D9770699" },
891
+ destructive: { 10: "#E0343419", 20: "#E0343433", 30: "#E034344C", 40: "#E0343466", 50: "#E034347F", 60: "#DC262699" },
892
+ neutral: { 10: "#47485719", 20: "#47485733", 30: "#4748574C", 40: "#47485766", 50: "#4748577F", 60: "#47485799" },
893
+ "primary-dark": { 10: "#1EB8CE19", 20: "#1EB8CE33", 30: "#1EB8CE4C", 40: "#1EB8CE66", 50: "#1EB8CE7F", 60: "#1EB8CE99" }
894
+ },
895
+ fontFamily: {
896
+ "font-sans": "Switzer Variable",
897
+ "font-serif": "Switzer Variable",
898
+ "font-mono": "Roboto Mono"
899
+ },
900
+ borderRadius: {
901
+ none: "0",
902
+ xs: "8px",
903
+ sm: "12px",
904
+ md: "16px",
905
+ lg: "24px",
906
+ xl: "33px",
907
+ rounded: "9999px"
908
+ },
909
+ custom: {
910
+ transparent: "#FFFFFF00",
911
+ "backdrop-overlay": "#3C3A4099",
912
+ shadow: "#00000019",
913
+ "background-input-30": "rgba(246, 245, 243, 0.3)",
914
+ "input-dark": "#FFFFFF00",
915
+ "alpha-50": "#FFFFFF7F",
916
+ glass: "#FFFFFF3D"
917
+ },
918
+ typography: {
919
+ h1: { fontSize: "2.25rem", lineHeight: "2.5rem", fontWeight: "700" },
920
+ h2: { fontSize: "1.875rem", lineHeight: "2.25rem", fontWeight: "600" },
921
+ h3: { fontSize: "1.5rem", lineHeight: "2rem", fontWeight: "600" },
922
+ h4: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "600" },
923
+ paragraph: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
924
+ blockquote: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
925
+ list: { fontSize: "1rem", lineHeight: "1.5rem", fontWeight: "400" },
926
+ "inline-code": { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
927
+ lead: { fontSize: "1.25rem", lineHeight: "1.75rem", fontWeight: "400" },
928
+ large: { fontSize: "1.125rem", lineHeight: "1.75rem", fontWeight: "400" },
929
+ small: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" },
930
+ muted: { fontSize: "0.875rem", lineHeight: "1.25rem", fontWeight: "400" }
931
+ },
932
+ shadowVars: {
933
+ "shadow-2xs-offset-x": "0",
934
+ "shadow-2xs-offset-y": "1",
935
+ "shadow-2xs-blur-radius": "8",
936
+ "shadow-2xs-spread-radius": "0",
937
+ "shadow-2xs-color": "#00000002",
938
+ "shadow-xs-offset-x": "0",
939
+ "shadow-xs-offset-y": "1",
940
+ "shadow-xs-blur-radius": "14",
941
+ "shadow-xs-spread-radius": "0",
942
+ "shadow-xs-color": "#00000002",
943
+ "shadow-sm-1-offset-x": "0",
944
+ "shadow-sm-1-offset-y": "1",
945
+ "shadow-sm-1-blur-radius": "3",
946
+ "shadow-sm-1-spread-radius": "0",
947
+ "shadow-sm-1-color": "#00000002",
948
+ "shadow-sm-2-offset-x": "0",
949
+ "shadow-sm-2-offset-y": "1",
950
+ "shadow-sm-2-blur-radius": "2",
951
+ "shadow-sm-2-spread-radius": "-1",
952
+ "shadow-sm-2-color": "#00000002",
953
+ "shadow-md-1-offset-x": "0",
954
+ "shadow-md-1-offset-y": "1",
955
+ "shadow-md-1-blur-radius": "3",
956
+ "shadow-md-1-spread-radius": "0",
957
+ "shadow-md-1-color": "#00000002",
958
+ "shadow-md-2-offset-x": "0",
959
+ "shadow-md-2-offset-y": "2",
960
+ "shadow-md-2-blur-radius": "4",
961
+ "shadow-md-2-spread-radius": "-1",
962
+ "shadow-md-2-color": "#00000002",
963
+ "shadow-lg-1-offset-x": "0",
964
+ "shadow-lg-1-offset-y": "1",
965
+ "shadow-lg-1-blur-radius": "3",
966
+ "shadow-lg-1-spread-radius": "0",
967
+ "shadow-lg-1-color": "#00000002",
968
+ "shadow-lg-2-offset-x": "0",
969
+ "shadow-lg-2-offset-y": "4",
970
+ "shadow-lg-2-blur-radius": "6",
971
+ "shadow-lg-2-spread-radius": "-1",
972
+ "shadow-lg-2-color": "#00000002",
973
+ "shadow-xl-1-offset-x": "0",
974
+ "shadow-xl-1-offset-y": "1",
975
+ "shadow-xl-1-blur-radius": "3",
976
+ "shadow-xl-1-spread-radius": "0",
977
+ "shadow-xl-1-color": "#00000002",
978
+ "shadow-xl-2-offset-x": "0",
979
+ "shadow-xl-2-offset-y": "8",
980
+ "shadow-xl-2-blur-radius": "10",
981
+ "shadow-xl-2-spread-radius": "-1",
982
+ "shadow-xl-2-color": "#00000002",
983
+ "shadow-2xl-offset-x": "0",
984
+ "shadow-2xl-offset-y": "1",
985
+ "shadow-2xl-blur-radius": "24",
986
+ "shadow-2xl-spread-radius": "0",
987
+ "shadow-2xl-color": "#00000007",
988
+ "shadow-sm-offset-x": "0",
989
+ "shadow-sm-offset-y": "0",
990
+ "shadow-sm-blur-radius": "0",
991
+ "shadow-sm-spread-radius": "0",
992
+ "shadow-sm-color": "#FFFFFF",
993
+ "shadow-md-offset-x": "0",
994
+ "shadow-md-offset-y": "0",
995
+ "shadow-md-blur-radius": "0",
996
+ "shadow-md-spread-radius": "0",
997
+ "shadow-md-color": "#FFFFFF",
998
+ "shadow-lg-offset-x": "0",
999
+ "shadow-lg-offset-y": "0",
1000
+ "shadow-lg-blur-radius": "0",
1001
+ "shadow-lg-spread-radius": "0",
1002
+ "shadow-lg-color": "#FFFFFF",
1003
+ "shadow-xl-offset-x": "0",
1004
+ "shadow-xl-offset-y": "0",
1005
+ "shadow-xl-blur-radius": "0",
1006
+ "shadow-xl-spread-radius": "0",
1007
+ "shadow-xl-color": "#FFFFFF"
1008
+ },
1009
+ shadowVarsDark: {
1010
+ "shadow-2xs-offset-x": "0",
1011
+ "shadow-2xs-offset-y": "1",
1012
+ "shadow-2xs-blur-radius": "8",
1013
+ "shadow-2xs-spread-radius": "0",
1014
+ "shadow-2xs-color": "#00000002",
1015
+ "shadow-xs-offset-x": "0",
1016
+ "shadow-xs-offset-y": "1",
1017
+ "shadow-xs-blur-radius": "14",
1018
+ "shadow-xs-spread-radius": "0",
1019
+ "shadow-xs-color": "#00000002",
1020
+ "shadow-sm-1-offset-x": "0",
1021
+ "shadow-sm-1-offset-y": "1",
1022
+ "shadow-sm-1-blur-radius": "3",
1023
+ "shadow-sm-1-spread-radius": "0",
1024
+ "shadow-sm-1-color": "#00000002",
1025
+ "shadow-sm-2-offset-x": "0",
1026
+ "shadow-sm-2-offset-y": "1",
1027
+ "shadow-sm-2-blur-radius": "2",
1028
+ "shadow-sm-2-spread-radius": "-1",
1029
+ "shadow-sm-2-color": "#00000002",
1030
+ "shadow-md-1-offset-x": "0",
1031
+ "shadow-md-1-offset-y": "1",
1032
+ "shadow-md-1-blur-radius": "3",
1033
+ "shadow-md-1-spread-radius": "0",
1034
+ "shadow-md-1-color": "#00000002",
1035
+ "shadow-md-2-offset-x": "0",
1036
+ "shadow-md-2-offset-y": "2",
1037
+ "shadow-md-2-blur-radius": "4",
1038
+ "shadow-md-2-spread-radius": "-1",
1039
+ "shadow-md-2-color": "#00000002",
1040
+ "shadow-lg-1-offset-x": "0",
1041
+ "shadow-lg-1-offset-y": "1",
1042
+ "shadow-lg-1-blur-radius": "3",
1043
+ "shadow-lg-1-spread-radius": "0",
1044
+ "shadow-lg-1-color": "#00000002",
1045
+ "shadow-lg-2-offset-x": "0",
1046
+ "shadow-lg-2-offset-y": "4",
1047
+ "shadow-lg-2-blur-radius": "6",
1048
+ "shadow-lg-2-spread-radius": "-1",
1049
+ "shadow-lg-2-color": "#00000002",
1050
+ "shadow-xl-1-offset-x": "0",
1051
+ "shadow-xl-1-offset-y": "1",
1052
+ "shadow-xl-1-blur-radius": "3",
1053
+ "shadow-xl-1-spread-radius": "0",
1054
+ "shadow-xl-1-color": "#00000002",
1055
+ "shadow-xl-2-offset-x": "0",
1056
+ "shadow-xl-2-offset-y": "8",
1057
+ "shadow-xl-2-blur-radius": "10",
1058
+ "shadow-xl-2-spread-radius": "-1",
1059
+ "shadow-xl-2-color": "#00000002",
1060
+ "shadow-2xl-offset-x": "0",
1061
+ "shadow-2xl-offset-y": "1",
1062
+ "shadow-2xl-blur-radius": "24",
1063
+ "shadow-2xl-spread-radius": "0",
1064
+ "shadow-2xl-color": "#00000007"
1065
+ }
1066
+ };
1067
+
1068
+ // src/index.ts
1069
+ var themeCSS = generateThemeCSS(myraTheme2);
1070
+ export {
1071
+ myraTheme2 as myraTheme,
1072
+ themeCSS
1073
+ };