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