@speakeasy-api/moonshine 1.14.1 → 1.15.0-alpha.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.
Files changed (45) hide show
  1. package/README.md +160 -4
  2. package/dist/components/Command/index.d.ts +1 -1
  3. package/dist/components/Icon/names.d.ts +1 -1
  4. package/dist/components/ThemeSwitcher/index.d.ts +5 -0
  5. package/dist/context/ConfigContext.d.ts +6 -6
  6. package/dist/context/theme.d.ts +1 -0
  7. package/dist/{createCustomLucideIcon-DKS8eoHe.mjs → createCustomLucideIcon-BMkvafcT.mjs} +3 -3
  8. package/dist/{createCustomLucideIcon-DKS8eoHe.mjs.map → createCustomLucideIcon-BMkvafcT.mjs.map} +1 -1
  9. package/dist/{gems-Ddw6EFUx.mjs → gems-BNqSEdVE.mjs} +2 -2
  10. package/dist/{gems-Ddw6EFUx.mjs.map → gems-BNqSEdVE.mjs.map} +1 -1
  11. package/dist/{go-Cw9UjnAy.mjs → go-B4Xwk9oB.mjs} +2 -2
  12. package/dist/{go-Cw9UjnAy.mjs.map → go-B4Xwk9oB.mjs.map} +1 -1
  13. package/dist/hooks/useIsMounted.d.ts +1 -0
  14. package/dist/hooks/useTheme.d.ts +2 -2
  15. package/dist/{index-CmscIs7_.mjs → index-CO54DPUh.mjs} +9308 -9276
  16. package/dist/index-CO54DPUh.mjs.map +1 -0
  17. package/dist/index.d.ts +3 -9
  18. package/dist/{lucide-icons-BcEn3U68.mjs → lucide-icons-BDw0imyx.mjs} +1537 -1535
  19. package/dist/{lucide-icons-BcEn3U68.mjs.map → lucide-icons-BDw0imyx.mjs.map} +1 -1
  20. package/dist/{maven-DP5-ZBpy.mjs → maven-TfTSKSne.mjs} +2 -2
  21. package/dist/{maven-DP5-ZBpy.mjs.map → maven-TfTSKSne.mjs.map} +1 -1
  22. package/dist/moonshine.es.js +91 -90
  23. package/dist/{npm-CY-6xVA2.mjs → npm-fLT4u-jC.mjs} +2 -2
  24. package/dist/{npm-CY-6xVA2.mjs.map → npm-fLT4u-jC.mjs.map} +1 -1
  25. package/dist/{nuget-UZX2BADf.mjs → nuget-Cqv6IGD6.mjs} +2 -2
  26. package/dist/{nuget-UZX2BADf.mjs.map → nuget-Cqv6IGD6.mjs.map} +1 -1
  27. package/dist/{packagist-BJR88RwL.mjs → packagist-DQVpl9ZR.mjs} +2 -2
  28. package/dist/{packagist-BJR88RwL.mjs.map → packagist-DQVpl9ZR.mjs.map} +1 -1
  29. package/dist/{pypi-DfN4v_v7.mjs → pypi-D_vfoHGi.mjs} +2 -2
  30. package/dist/{pypi-DfN4v_v7.mjs.map → pypi-D_vfoHGi.mjs.map} +1 -1
  31. package/dist/speakeasy-logo-024q-rQ2.mjs +5 -0
  32. package/dist/speakeasy-logo-024q-rQ2.mjs.map +1 -0
  33. package/dist/style.css +1 -1
  34. package/package.json +13 -3
  35. package/src/base.css +940 -0
  36. package/src/global.css +67 -0
  37. package/src/utilities.css +1114 -0
  38. package/types/utilities.d.ts +429 -0
  39. package/dist/components/Breadcrumb/index.d.ts +0 -16
  40. package/dist/components/__beta__/OperationGrouper/index.d.ts +0 -18
  41. package/dist/components/__beta__/SelectionBox/index.d.ts +0 -9
  42. package/dist/components/__beta__/Timeline/index.d.ts +0 -21
  43. package/dist/index-CmscIs7_.mjs.map +0 -1
  44. package/dist/speakeasy-logo-ByBTXLWb.mjs +0 -5
  45. package/dist/speakeasy-logo-ByBTXLWb.mjs.map +0 -1
@@ -0,0 +1,1114 @@
1
+ /*
2
+ * Utilities CSS - Exposed Tailwind Utilities
3
+ * These are the utilities that are exposed as Tailwind classes.
4
+ * They reference the primitives defined in base.css
5
+ */
6
+
7
+ /*
8
+ TODO: rename to text-*
9
+ TODO: replace these with the ones for the new brand
10
+ TODO: Delete all typography classes https://linear.app/speakeasy/issue/DES-325/replace-all-references-to-typography-classes
11
+ */
12
+ @utility typography-heading-xl {
13
+ font-size: 2.063rem;
14
+ font-weight: 300;
15
+ line-height: 1.375;
16
+ letter-spacing: 0.0015em;
17
+ font-family: var(--font-diatype);
18
+ }
19
+ @utility typography-heading-lg {
20
+ font-size: 1.813rem;
21
+ font-weight: 300;
22
+ line-height: 1.5;
23
+ letter-spacing: 0.0015em;
24
+ font-family: var(--font-diatype);
25
+ }
26
+ @utility typography-heading-md {
27
+ font-size: 1.625rem;
28
+ font-weight: 300;
29
+ line-height: 1.6;
30
+ letter-spacing: 0.0015em;
31
+ font-family: var(--font-diatype);
32
+ }
33
+ @utility typography-heading-sm {
34
+ font-size: 1.438rem;
35
+ font-weight: 300;
36
+ line-height: 1.6;
37
+ letter-spacing: 0.0015em;
38
+ font-family: var(--font-diatype);
39
+ }
40
+ @utility typography-heading-xs {
41
+ font-size: 1.25rem;
42
+ font-weight: 300;
43
+ line-height: 1.6;
44
+ letter-spacing: 0.0015em;
45
+ font-family: var(--font-diatype);
46
+ }
47
+ @utility typography-heading-xxs {
48
+ font-size: 1.125rem;
49
+ font-weight: 300;
50
+ line-height: 1.778;
51
+ letter-spacing: 0.0015em;
52
+ font-family: var(--font-diatype);
53
+ }
54
+ @utility typography-body-lg {
55
+ font-size: 1.125rem;
56
+ font-weight: 400;
57
+ line-height: 1.75;
58
+ letter-spacing: 0.0025em;
59
+ font-family: var(--font-diatype);
60
+ }
61
+ @utility typography-body-md {
62
+ font-size: 1rem;
63
+ font-weight: 400;
64
+ line-height: 1.75;
65
+ letter-spacing: 0.0025em;
66
+ font-family: var(--font-diatype);
67
+ }
68
+ @utility typography-body-sm {
69
+ font-size: 0.875rem;
70
+ font-weight: 400;
71
+ line-height: 1.75;
72
+ letter-spacing: 0.0025em;
73
+ font-family: var(--font-diatype);
74
+ }
75
+ @utility typography-body-xs {
76
+ font-size: 0.75rem;
77
+ font-weight: 400;
78
+ line-height: 1.75;
79
+ letter-spacing: 0.0025em;
80
+ font-family: var(--font-diatype);
81
+ }
82
+
83
+ @utility container {
84
+ padding-inline: 1rem;
85
+ margin-inline: auto;
86
+
87
+ @variant sm {
88
+ padding-inline: 0.5rem;
89
+ }
90
+
91
+ @variant md {
92
+ padding-inline: 1rem;
93
+ }
94
+
95
+ @variant lg {
96
+ padding-inline: 1.5rem;
97
+ }
98
+
99
+ @variant xl {
100
+ padding-inline: 2rem;
101
+ }
102
+
103
+ @variant 2xl {
104
+ padding-inline: 2.5rem;
105
+ }
106
+ }
107
+
108
+ @utility bg-mask {
109
+ background-image: linear-gradient(
110
+ to bottom,
111
+ var(--background) 0%,
112
+ var(--color-transparent) 5%,
113
+ var(--color-transparent) 95%,
114
+ var(--background) 100%
115
+ );
116
+ }
117
+
118
+ /* Display Typography */
119
+
120
+ /* This token name is not final */
121
+ @utility text-display-2xl {
122
+ font-size: 11.375rem; /* 182px */
123
+ font-weight: 100;
124
+ line-height: 1;
125
+ letter-spacing: -0.04em;
126
+ font-family: var(--font-tobias);
127
+ color: var(--text-display);
128
+ }
129
+
130
+ @utility text-display-xl {
131
+ font-size: 5.625rem;
132
+ font-weight: 100;
133
+ line-height: 1.1;
134
+ letter-spacing: -0.04em;
135
+ font-family: var(--font-tobias);
136
+ color: var(--text-display);
137
+ }
138
+
139
+ @utility text-display-lg {
140
+ font-size: 4.188rem;
141
+ font-weight: 100;
142
+ line-height: 1.2;
143
+ letter-spacing: -0.04em;
144
+ font-family: var(--font-tobias);
145
+ color: var(--text-display);
146
+ }
147
+
148
+ @utility text-display-md {
149
+ font-size: 3.188rem;
150
+ font-weight: 100;
151
+ line-height: 1.3;
152
+ letter-spacing: -0.04em;
153
+ font-family: var(--font-tobias);
154
+ color: var(--text-display);
155
+ }
156
+
157
+ @utility text-display-sm {
158
+ font-size: 2.375rem;
159
+ font-weight: 100;
160
+ line-height: 1.375;
161
+ letter-spacing: -0.04em;
162
+ font-family: var(--font-tobias);
163
+ color: var(--text-display);
164
+ }
165
+
166
+ @utility text-display-xs {
167
+ font-size: 1.75rem;
168
+ font-weight: 100;
169
+ line-height: 1.4;
170
+ letter-spacing: -0.04em;
171
+ font-family: var(--font-tobias);
172
+ color: var(--text-display);
173
+ }
174
+
175
+ /* Heading */
176
+ @utility text-heading-xl {
177
+ font-size: 2.063rem;
178
+ font-weight: 300;
179
+ line-height: 1.375;
180
+ letter-spacing: 0.0015em;
181
+ font-family: var(--font-diatype);
182
+ color: var(--text-heading-xl);
183
+ }
184
+ @utility text-heading-lg {
185
+ font-size: 1.813rem;
186
+ font-weight: 300;
187
+ line-height: 1.5;
188
+ letter-spacing: 0.0015em;
189
+ font-family: var(--font-diatype);
190
+ color: var(--text-heading-lg);
191
+ }
192
+ @utility text-heading-md {
193
+ font-size: 1.625rem;
194
+ font-weight: 300;
195
+ line-height: 1.6;
196
+ letter-spacing: 0.0015em;
197
+ font-family: var(--font-diatype);
198
+ color: var(--text-heading-md);
199
+ }
200
+ @utility text-heading-sm {
201
+ font-size: 1.438rem;
202
+ font-weight: 300;
203
+ line-height: 1.6;
204
+ letter-spacing: 0.0015em;
205
+ font-family: var(--font-diatype);
206
+ color: var(--text-heading-sm);
207
+ }
208
+ @utility text-heading-xs {
209
+ font-size: 1.25rem;
210
+ font-weight: 300;
211
+ line-height: 1.6;
212
+ letter-spacing: 0.0015em;
213
+ font-family: var(--font-diatype);
214
+ color: var(--text-heading-xs);
215
+ }
216
+
217
+ /* Body */
218
+ @utility text-body-lg {
219
+ font-size: 1.125rem;
220
+ font-weight: 400;
221
+ line-height: 1.75;
222
+ letter-spacing: 0.0025em;
223
+ font-family: var(--font-diatype);
224
+ color: var(--text-default);
225
+ }
226
+ @utility text-body-md {
227
+ font-size: 1rem;
228
+ font-weight: 400;
229
+ line-height: 1.75;
230
+ letter-spacing: 0.0025em;
231
+ font-family: var(--font-diatype);
232
+ color: var(--text-default);
233
+ }
234
+ @utility text-body-sm {
235
+ font-size: 0.875rem;
236
+ font-weight: 400;
237
+ line-height: 1.75;
238
+ letter-spacing: 0.0025em;
239
+ font-family: var(--font-diatype);
240
+ color: var(--text-default);
241
+ }
242
+ @utility text-body-xs {
243
+ font-size: 0.75rem;
244
+ font-weight: 400;
245
+ line-height: 1.75;
246
+ letter-spacing: 0.0025em;
247
+ font-family: var(--font-diatype);
248
+ color: var(--text-default);
249
+ }
250
+
251
+ /* Code */
252
+ @utility text-codeline-md {
253
+ font-size: 1rem;
254
+ font-weight: 300;
255
+ line-height: 1.75;
256
+ letter-spacing: 0.0025em;
257
+ font-family: var(--font-diatype-mono);
258
+ color: var(--text-default);
259
+ }
260
+ @utility text-codeline-sm {
261
+ font-size: 0.875rem;
262
+ font-weight: 300;
263
+ line-height: 1.75;
264
+ letter-spacing: 0.0025em;
265
+ font-family: var(--font-diatype-mono);
266
+ color: var(--text-default);
267
+ }
268
+ @utility text-codeline-xs {
269
+ font-size: 0.75rem;
270
+ font-weight: 300;
271
+ line-height: 1.7;
272
+ letter-spacing: 0.0025em;
273
+ font-family: var(--font-diatype-mono);
274
+ color: var(--text-default);
275
+ }
276
+
277
+ /* Buttons */
278
+ @utility text-button-md {
279
+ font-size: 1rem;
280
+ font-weight: 400;
281
+ line-height: 1.75;
282
+ letter-spacing: 0.0025em;
283
+ font-family: var(--font-diatype);
284
+ color: var(--text-default);
285
+ }
286
+ @utility text-button-sm {
287
+ font-size: 0.875rem;
288
+ font-weight: 400;
289
+ line-height: 1.75;
290
+ letter-spacing: 0.0025em;
291
+ font-family: var(--font-diatype);
292
+ color: var(--text-default);
293
+ }
294
+ @utility text-button-xs {
295
+ font-size: 0.75rem;
296
+ font-weight: 400;
297
+ line-height: 1.75;
298
+ letter-spacing: 0.0025em;
299
+ font-family: var(--font-diatype);
300
+ color: var(--text-default);
301
+ }
302
+
303
+ /* Text colors */
304
+
305
+ /* Body */
306
+ @utility text-highlight {
307
+ color: var(--text-highlight);
308
+ }
309
+
310
+ @utility text-default {
311
+ color: var(--text-default);
312
+ }
313
+
314
+ @utility text-muted {
315
+ color: var(--text-muted)!important;
316
+ }
317
+
318
+ @utility text-placeholder {
319
+ color: var(--text-placeholder);
320
+ }
321
+
322
+ @utility text-disabled {
323
+ color: var(--text-disabled);
324
+ }
325
+
326
+ /* Fixed dark text */
327
+ @utility text-highlight-fixed-dark {
328
+ color: var(--text-highlight-fixed-dark);
329
+ }
330
+
331
+ @utility text-default-fixed-dark {
332
+ color: var(--text-default-fixed-dark);
333
+ }
334
+
335
+ @utility text-muted-fixed-dark {
336
+ color: var(--text-muted-fixed-dark);
337
+ }
338
+
339
+ /* Fixed light text */
340
+ @utility text-highlight-fixed-light {
341
+ color: var(--text-highlight-fixed-light);
342
+ }
343
+
344
+ @utility text-default-fixed-light {
345
+ color: var(--text-default-fixed-light);
346
+ }
347
+
348
+ @utility text-muted-fixed-light {
349
+ color: var(--text-muted-fixed-light);
350
+ }
351
+
352
+ /* Inverse text */
353
+ @utility text-highlight-inverse {
354
+ color: var(--text-highlight-inverse);
355
+ }
356
+
357
+ @utility text-default-inverse {
358
+ color: var(--text-default-inverse);
359
+ }
360
+
361
+ @utility text-muted-inverse {
362
+ color: var(--text-muted-inverse);
363
+ }
364
+
365
+
366
+ /* Link colors */
367
+ @utility text-link-primary {
368
+ color: var(--text-link-primary);
369
+ }
370
+
371
+ @utility text-link-secondary {
372
+ color: var(--text-link-secondary);
373
+ }
374
+
375
+ @utility text-link-visited {
376
+ color: var(--text-link-visited);
377
+ }
378
+
379
+ /* Destructive */
380
+ @utility text-default-destructive {
381
+ color: var(--text-default-destructive);
382
+ }
383
+
384
+ @utility text-link-destructive {
385
+ color: var(--text-link-destructive);
386
+ }
387
+
388
+ /* Information */
389
+ @utility text-default-information {
390
+ color: var(--text-default-information);
391
+ }
392
+
393
+ @utility text-link-information {
394
+ color: var(--text-link-information);
395
+ }
396
+
397
+ /* Success */
398
+ @utility text-default-success {
399
+ color: var(--text-default-success);
400
+ }
401
+
402
+ @utility text-link-success {
403
+ color: var(--text-link-success);
404
+ }
405
+
406
+ /* Warning */
407
+ @utility text-default-warning {
408
+ color: var(--text-default-warning);
409
+ }
410
+
411
+ @utility text-link-warning {
412
+ color: var(--text-link-warning);
413
+ }
414
+
415
+
416
+ @utility bg-gradient-primary {
417
+ background: var(--gradient-brand-primary);
418
+ }
419
+
420
+ @utility border-gradient-primary {
421
+ border-image: var(--gradient-brand-primary) 1;
422
+ }
423
+
424
+ @utility bg-surface-primary {
425
+ background-color: var(--color-base-white);
426
+
427
+ @variant dark {
428
+ background-color: var(--color-base-black);
429
+ }
430
+ }
431
+
432
+ @utility bg-surface-secondary {
433
+ background-color: var(--color-neutral-100);
434
+ }
435
+
436
+ @utility bg-warning {
437
+ background-color: var(--bg-warning);
438
+ }
439
+
440
+ @utility text-warning {
441
+ color: var(--text-warning) !important;
442
+ }
443
+
444
+ @utility border-warning {
445
+ border-color: var(--border-warning);
446
+ border-width: 1px;
447
+ border-style: solid;
448
+ }
449
+
450
+
451
+ /* Link underline utilities */
452
+ @utility underline-link-primary {
453
+ color: var(--underline-link-primary);
454
+ text-decoration: underline;
455
+ text-underline-offset: 0.125rem;
456
+ }
457
+
458
+ @utility underline-link-secondary {
459
+ color: var(--underline-link-secondary);
460
+ text-decoration: underline;
461
+ text-underline-offset: 0.125rem;
462
+ }
463
+
464
+ @utility underline-link-visited {
465
+ color: var(--underline-link-visited);
466
+ text-decoration: underline;
467
+ text-underline-offset: 0.125rem;
468
+ }
469
+
470
+ /* ======================================
471
+ * BORDERS
472
+ * ======================================= */
473
+
474
+ /* Border utilities for neutral colors */
475
+ @utility border-neutral-active {
476
+ border-color: var(--border-neutral-active);
477
+ }
478
+
479
+ @utility border-neutral-hover {
480
+ border-color: var(--border-neutral-hover);
481
+ }
482
+
483
+ @utility border-neutral-default {
484
+ border-color: var(--border-neutral-default);
485
+ }
486
+
487
+ @utility border-neutral-disabled {
488
+ border-color: var(--border-neutral-disabled);
489
+ opacity: 0.4;
490
+ }
491
+
492
+ @utility border-neutral-softest {
493
+ border-color: var(--border-neutral-softest);
494
+ }
495
+
496
+ @utility border-neutral-inset {
497
+ border-color: var(--border-neutral-inset);
498
+ }
499
+
500
+ @utility border-neutral-alpha {
501
+ border-color: var(--border-neutral-alpha);
502
+ }
503
+
504
+ /* Destructive border utilities */
505
+ @utility border-destructive-highlight {
506
+ border-color: var(--border-destructive-highlight);
507
+ }
508
+
509
+ @utility border-destructive-default {
510
+ border-color: var(--border-destructive-default);
511
+ }
512
+
513
+ @utility border-destructive-muted {
514
+ border-color: var(--border-destructive-muted);
515
+ }
516
+
517
+ @utility border-destructive-softest {
518
+ border-color: var(--border-destructive-softest);
519
+ }
520
+
521
+ /* Information Border utilities */
522
+ @utility border-information-highlight {
523
+ border-color: var(--border-information-highlight);
524
+ }
525
+
526
+ @utility border-information-default {
527
+ border-color: var(--border-information-default);
528
+ }
529
+
530
+ @utility border-information-muted {
531
+ border-color: var(--border-information-muted);
532
+ }
533
+
534
+ @utility border-information-softest {
535
+ border-color: var(--border-information-softest);
536
+ }
537
+
538
+ /* Success Border utilities */
539
+ @utility border-success-highlight {
540
+ border-color: var(--border-success-highlight);
541
+ }
542
+
543
+ @utility border-success-default {
544
+ border-color: var(--border-success-default);
545
+ }
546
+
547
+ @utility border-success-muted {
548
+ border-color: var(--border-success-muted);
549
+ }
550
+
551
+ @utility border-success-softest {
552
+ border-color: var(--border-success-softest);
553
+ }
554
+
555
+ /* Warning Border utilities */
556
+ @utility border-warning-highlight {
557
+ border-color: var(--border-warning-highlight);
558
+ }
559
+
560
+ @utility border-warning-default {
561
+ border-color: var(--border-warning-default);
562
+ }
563
+
564
+ @utility border-warning-muted {
565
+ border-color: var(--border-warning-muted);
566
+ }
567
+
568
+ @utility border-warning-softest {
569
+ border-color: var(--border-warning-softest);
570
+ }
571
+
572
+ /* Focus Border utilities */
573
+ @utility border-focus {
574
+ border-color: var(--border-focus);
575
+ }
576
+
577
+ /* =============================
578
+ * FILLS
579
+ * ============================*/
580
+
581
+ /* Neutrals */
582
+ @utility fill-neutral-highlight {
583
+ fill: var(--fill-neutral-highlight);
584
+ }
585
+
586
+ @utility fill-neutral-active {
587
+ fill: var(--fill-neutral-active);
588
+ }
589
+
590
+ @utility fill-neutral-default {
591
+ fill: var(--fill-neutral-default);
592
+ }
593
+
594
+ @utility fill-neutral-muted {
595
+ fill: var(--fill-neutral-muted);
596
+ }
597
+
598
+ /* Fixed dark fill */
599
+ @utility fill-neutral-highlight-fixed-dark {
600
+ fill: var(--fill-neutral-highlight-fixed-dark);
601
+ }
602
+
603
+ @utility fill-neutral-default-fixed-dark {
604
+ fill: var(--fill-neutral-default-fixed-dark);
605
+ }
606
+
607
+ @utility fill-neutral-muted-fixed-dark {
608
+ fill: var(--fill-neutral-muted-fixed-dark);
609
+ }
610
+
611
+ /* Fixed light fill */
612
+ @utility fill-neutral-highlight-fixed-light {
613
+ fill: var(--fill-neutral-highlight-fixed-light);
614
+ }
615
+
616
+ @utility fill-neutral-default-fixed-light {
617
+ fill: var(--fill-neutral-default-fixed-light);
618
+ }
619
+
620
+ @utility fill-neutral-muted-fixed-light {
621
+ fill: var(--fill-neutral-muted-fixed-light);
622
+ }
623
+
624
+ /* Inverse fill */
625
+ @utility fill-neutral-highlight-inverse {
626
+ fill: var(--fill-neutral-highlight-inverse);
627
+ }
628
+
629
+ @utility fill-neutral-default-inverse {
630
+ fill: var(--fill-neutral-default-inverse);
631
+ }
632
+
633
+ @utility fill-neutral-muted-inverse {
634
+ fill: var(--fill-neutral-muted-inverse);
635
+ }
636
+
637
+ /* Link Fill */
638
+ @utility fill-link-primary {
639
+ fill: var(--fill-link-primary);
640
+ }
641
+
642
+ @utility fill-link-secondary {
643
+ fill: var(--fill-link-secondary);
644
+ }
645
+
646
+ @utility fill-link-visited {
647
+ fill: var(--fill-link-visited);
648
+ }
649
+
650
+ /* Destructive Fill */
651
+ @utility fill-destructive-highlight {
652
+ fill: var(--fill-destructive-highlight);
653
+ }
654
+
655
+ @utility fill-destructive-default {
656
+ fill: var(--fill-destructive-default);
657
+ }
658
+
659
+ @utility fill-destructive-muted {
660
+ fill: var(--fill-destructive-muted);
661
+ }
662
+
663
+ /* Information Fill */
664
+ @utility fill-information-highlight {
665
+ fill: var(--fill-information-highlight);
666
+ }
667
+
668
+ @utility fill-information-default {
669
+ fill: var(--fill-information-default);
670
+ }
671
+
672
+ @utility fill-information-muted {
673
+ fill: var(--fill-information-muted);
674
+ }
675
+
676
+ /* Success Fill */
677
+ @utility fill-success-highlight {
678
+ fill: var(--fill-success-highlight);
679
+ }
680
+
681
+ @utility fill-success-default {
682
+ fill: var(--fill-success-default);
683
+ }
684
+
685
+ @utility fill-success-muted {
686
+ fill: var(--fill-success-muted);
687
+ }
688
+
689
+ /* Warninig Fill */
690
+ @utility fill-warning-highlight {
691
+ fill: var(--fill-warning-highlight);
692
+ }
693
+
694
+ @utility fill-warning-default {
695
+ fill: var(--fill-warning-default);
696
+ }
697
+
698
+ @utility fill-warning-muted {
699
+ fill: var(--fill-warning-muted);
700
+ }
701
+
702
+ /* =============================
703
+ * Strokes
704
+ * ============================*/
705
+
706
+ /* Neutrals */
707
+ @utility stroke-neutral-highlight {
708
+ stroke: var(--stroke-neutral-highlight);
709
+ }
710
+
711
+ @utility stroke-neutral-active {
712
+ stroke: var(--stroke-neutral-active);
713
+ }
714
+
715
+ @utility stroke-neutral-default {
716
+ stroke: var(--stroke-neutral-default);
717
+ }
718
+
719
+ @utility stroke-neutral-muted {
720
+ stroke: var(--stroke-neutral-muted);
721
+ }
722
+
723
+ /* Fixed dark stroke */
724
+ @utility stroke-neutral-highlight-fixed-dark {
725
+ stroke: var(--stroke-neutral-highlight-fixed-dark);
726
+ }
727
+
728
+ @utility stroke-neutral-default-fixed-dark {
729
+ stroke: var(--stroke-neutral-default-fixed-dark);
730
+ }
731
+
732
+ @utility stroke-neutral-muted-fixed-dark {
733
+ stroke: var(--stroke-neutral-muted-fixed-dark);
734
+ }
735
+
736
+ /* Fixed light stroke */
737
+ @utility stroke-neutral-highlight-fixed-light {
738
+ stroke: var(--stroke-neutral-highlight-fixed-light);
739
+ }
740
+
741
+ @utility stroke-neutral-default-fixed-light {
742
+ stroke: var(--stroke-neutral-default-fixed-light);
743
+ }
744
+
745
+ @utility stroke-neutral-muted-fixed-light {
746
+ stroke: var(--stroke-neutral-muted-fixed-light);
747
+ }
748
+
749
+ /* Inverse stroke */
750
+ @utility stroke-neutral-highlight-inverse {
751
+ stroke: var(--stroke-neutral-highlight-inverse);
752
+ }
753
+
754
+ @utility stroke-neutral-default-inverse {
755
+ stroke: var(--stroke-neutral-default-inverse);
756
+ }
757
+
758
+ @utility stroke-neutral-muted-inverse {
759
+ stroke: var(--stroke-neutral-muted-inverse);
760
+ }
761
+
762
+ /* Link stroke */
763
+ @utility stroke-link-primary {
764
+ stroke: var(--stroke-link-primary);
765
+ }
766
+
767
+ @utility stroke-link-secondary {
768
+ stroke: var(--stroke-link-secondary);
769
+ }
770
+
771
+ @utility stroke-link-visited {
772
+ stroke: var(--stroke-link-visited);
773
+ }
774
+
775
+ /* Destructive stroke */
776
+ @utility stroke-destructive-highlight {
777
+ stroke: var(--stroke-destructive-highlight);
778
+ }
779
+
780
+ @utility stroke-destructive-default {
781
+ stroke: var(--stroke-destructive-default);
782
+ }
783
+
784
+ @utility stroke-destructive-muted {
785
+ stroke: var(--stroke-destructive-muted);
786
+ }
787
+
788
+ /* Information stroke */
789
+ @utility stroke-information-highlight {
790
+ stroke: var(--stroke-information-highlight);
791
+ }
792
+
793
+ @utility stroke-information-default {
794
+ stroke: var(--stroke-information-default);
795
+ }
796
+
797
+ @utility stroke-information-muted {
798
+ stroke: var(--stroke-information-muted);
799
+ }
800
+
801
+ /* Success stroke */
802
+ @utility stroke-success-highlight {
803
+ stroke: var(--stroke-success-highlight);
804
+ }
805
+
806
+ @utility stroke-success-default {
807
+ stroke: var(--stroke-success-default);
808
+ }
809
+
810
+ @utility stroke-success-muted {
811
+ stroke: var(--stroke-success-muted);
812
+ }
813
+
814
+ /* Warninig stroke */
815
+ @utility stroke-warning-highlight {
816
+ stroke: var(--stroke-warning-highlight);
817
+ }
818
+
819
+ @utility stroke-warning-default {
820
+ stroke: var(--stroke-warning-default);
821
+ }
822
+
823
+ @utility stroke-warning-muted {
824
+ stroke: var(--stroke-warning-muted);
825
+ }
826
+
827
+ /* ============================================
828
+ * BACKGROUNDS
829
+ * ============================================ */
830
+ @utility bg-surface-primary-default {
831
+ background-color: var(--bg-surface-primary-default);
832
+ }
833
+
834
+ @utility bg-surface-primary-inverse {
835
+ background-color: var(--bg-surface-primary-inverse);
836
+ }
837
+
838
+ @utility bg-surface-secondary-default {
839
+ background-color: var(--bg-surface-secondary-default);
840
+ }
841
+
842
+ @utility bg-surface-secondary-inverse {
843
+ background-color: var(--bg-surface-secondary-inverse);
844
+ }
845
+
846
+ @utility bg-surface-tertiary-default {
847
+ background-color: var(--bg-surface-tertiary-default);
848
+ }
849
+
850
+ @utility bg-surface-tertiary-inverse {
851
+ background-color: var(--bg-surface-tertiary-inverse);
852
+ }
853
+
854
+ /* State */
855
+ @utility bg-highlight {
856
+ background-color: var(--bg-highlight);
857
+ }
858
+
859
+ @utility bg-active {
860
+ background-color: var(--bg-active);
861
+ }
862
+
863
+ @utility bg-default {
864
+ background-color: var(--bg-default);
865
+ }
866
+
867
+ @utility bg-muted {
868
+ background-color: var(--bg-muted);
869
+ }
870
+
871
+ @utility bg-inset {
872
+ background-color: var(--bg-inset);
873
+ }
874
+
875
+ /* Light background in dark mode */
876
+ @utility bg-surface-primary-fixed-light {
877
+ background-color: var(--bg-surface-primary-fixed-light);
878
+ }
879
+
880
+ @utility bg-surface-secondary-fixed-light {
881
+ background-color: var(--bg-surface-secondary-fixed-light);
882
+ }
883
+
884
+ @utility bg-surface-tertiary-fixed-light {
885
+ background-color: var(--bg-surface-tertiary-fixed-light);
886
+ }
887
+
888
+ /* Dark background in light mode */
889
+ @utility bg-surface-primary-fixed-dark {
890
+ background-color: var(--bg-surface-primary-fixed-dark);
891
+ }
892
+
893
+ @utility bg-surface-secondary-fixed-dark {
894
+ background-color: var(--bg-surface-secondary-fixed-dark);
895
+ }
896
+
897
+ @utility bg-surface-tertiary-fixed-dark {
898
+ background-color: var(--bg-surface-tertiary-fixed-dark);
899
+ }
900
+
901
+ /* Destructive */
902
+ @utility bg-destructive-highlight {
903
+ background-color: var(--bg-destructive-highlight);
904
+ }
905
+
906
+ @utility bg-destructive-default {
907
+ background-color: var(--bg-destructive-default);
908
+ }
909
+
910
+ @utility bg-destructive-muted {
911
+ background-color: var(--bg-destructive-muted);
912
+ }
913
+
914
+ @utility bg-destructive-softest {
915
+ background-color: var(--bg-destructive-softest);
916
+ }
917
+
918
+ /* Information */
919
+ @utility bg-information-highlight {
920
+ background-color: var(--bg-information-highlight);
921
+ }
922
+
923
+ @utility bg-information-default {
924
+ background-color: var(--bg-information-default);
925
+ }
926
+
927
+ @utility bg-information-muted {
928
+ background-color: var(--bg-information-muted);
929
+ }
930
+
931
+ @utility bg-information-softest {
932
+ background-color: var(--bg-information-softest);
933
+ }
934
+
935
+ /* Success */
936
+ @utility bg-success-highlight {
937
+ background-color: var(--bg-success-highlight);
938
+ }
939
+
940
+ @utility bg-success-default {
941
+ background-color: var(--bg-success-default);
942
+ }
943
+
944
+ @utility bg-success-muted {
945
+ background-color: var(--bg-success-muted);
946
+ }
947
+
948
+ @utility bg-success-softest {
949
+ background-color: var(--bg-success-softest);
950
+ }
951
+
952
+ /* Warning */
953
+ @utility bg-warning-highlight {
954
+ background-color: var(--bg-warning-highlight);
955
+ }
956
+
957
+ @utility bg-warning-default {
958
+ background-color: var(--bg-warning-default);
959
+ }
960
+
961
+ @utility bg-warning-muted {
962
+ background-color: var(--bg-warning-muted);
963
+ }
964
+
965
+ @utility bg-warning-softest {
966
+ background-color: var(--bg-warning-softest);
967
+ }
968
+
969
+
970
+ @layer utilities {
971
+ .devicon-devicon-plain {
972
+ max-width: 2em;
973
+ }
974
+
975
+ /* if you want to change the original color */
976
+ .devicon-devicon-plain path {
977
+ fill: var(--primary);
978
+ }
979
+
980
+ @keyframes slide-fade-in {
981
+ from {
982
+ opacity: 0;
983
+ transform: translateX(100%);
984
+ }
985
+ to {
986
+ opacity: 1;
987
+ transform: translateX(0);
988
+ }
989
+ }
990
+
991
+ @keyframes slide-fade-out {
992
+ from {
993
+ opacity: 1;
994
+ transform: translateX(0);
995
+ }
996
+ to {
997
+ opacity: 0;
998
+ transform: translateX(-100%);
999
+ }
1000
+ }
1001
+
1002
+ @keyframes spin {
1003
+ from {
1004
+ transform: rotate(0deg);
1005
+ }
1006
+ to {
1007
+ transform: rotate(360deg);
1008
+ }
1009
+ }
1010
+ }
1011
+
1012
+ /*
1013
+ Expose theme variables as utilities
1014
+ Note: We're being selective about what we expose to avoid people using raw color values
1015
+ */
1016
+ @theme inline {
1017
+ /* --color-*: initial; */
1018
+
1019
+ /* Link colors */
1020
+ --color-link: var(--text-link-primary);
1021
+
1022
+ /* Shadcn theme */
1023
+ --radius-sm: calc(var(--radius) - 4px);
1024
+ --radius-md: calc(var(--radius) - 2px);
1025
+ --radius-lg: var(--radius);
1026
+ --radius-xl: calc(var(--radius) + 4px);
1027
+
1028
+ --color-background: var(--background);
1029
+ --color-background-pure: var(--background-pure);
1030
+ --color-foreground: var(--foreground);
1031
+ --color-card: var(--card);
1032
+ --color-card-foreground: var(--card-foreground);
1033
+ --color-popover: var(--popover);
1034
+ --color-popover-foreground: var(--popover-foreground);
1035
+ --color-primary: var(--primary);
1036
+ --color-primary-foreground: var(--primary-foreground);
1037
+ --color-secondary: var(--secondary);
1038
+ --color-secondary-foreground: var(--secondary-foreground);
1039
+ --color-muted: var(--muted);
1040
+ --color-muted-foreground: var(--muted-foreground);
1041
+ --color-accent: var(--accent);
1042
+ --color-accent-foreground: var(--accent-foreground);
1043
+ --color-destructive: var(--destructive);
1044
+ --color-border: var(--border);
1045
+ --color-input: var(--input);
1046
+ --color-ring: var(--ring);
1047
+
1048
+ --color-chart-1: var(--chart-1);
1049
+ --color-chart-2: var(--chart-2);
1050
+ --color-chart-3: var(--chart-3);
1051
+ --color-chart-4: var(--chart-4);
1052
+ --color-chart-5: var(--chart-5);
1053
+
1054
+ --color-sidebar: var(--sidebar);
1055
+ --color-sidebar-foreground: var(--sidebar-foreground);
1056
+ --color-sidebar-primary: var(--sidebar-primary);
1057
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
1058
+ --color-sidebar-accent: var(--sidebar-accent);
1059
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
1060
+ --color-sidebar-border: var(--sidebar-border);
1061
+ --color-sidebar-ring: var(--sidebar-ring);
1062
+
1063
+ /* Alert Colors */
1064
+ --color-success: var(--success);
1065
+ --color-success-foreground: var(--success-foreground);
1066
+ --color-info: var(--info);
1067
+ --color-info-foreground: var(--info-foreground);
1068
+ --color-warning: var(--warning);
1069
+ --color-warning-foreground: var(--warning-foreground);
1070
+ --color-destructive: var(--destructive);
1071
+ --color-destructive-foreground: var(--destructive-foreground);
1072
+ --color-feature: var(--feature);
1073
+ --color-feature-foreground: var(--feature-foreground);
1074
+
1075
+ /* Text Colors */
1076
+ --color-body: var(--text-body);
1077
+ --color-body-muted: var(--text-body-muted);
1078
+
1079
+ /* Animation */
1080
+ --keyframes-wiggle: {
1081
+ 0%,
1082
+ 100% {
1083
+ transform: rotate(-1.5deg);
1084
+ }
1085
+ 50% {
1086
+ transform: rotate(1.5deg);
1087
+ }
1088
+ };
1089
+ --animate-wiggle: wiggle 1s ease-in-out infinite;
1090
+
1091
+ /* Transition Timing Functions */
1092
+ --ease-in-out-quad: var(--ease-in-out-quad);
1093
+ --ease-in-out-cubic: var(--ease-in-out-cubic);
1094
+ --ease-in-out-quart: var(--ease-in-out-quart);
1095
+ --ease-in-out-quint: var(--ease-in-out-quint);
1096
+ --ease-in-out-expo: var(--ease-in-out-expo);
1097
+ --ease-in-out-circ: var(--ease-in-out-circ);
1098
+
1099
+ --ease-in-quad: var(--ease-in-quad);
1100
+ --ease-in-cubic: var(--ease-in-cubic);
1101
+ --ease-in-quart: var(--ease-in-quart);
1102
+ --ease-in-quint: var(--ease-in-quint);
1103
+ --ease-in-expo: var(--ease-in-expo);
1104
+ --ease-in-circ: var(--ease-in-circ);
1105
+
1106
+ --ease-out-quad: var(--ease-out-quad);
1107
+ --ease-out-cubic: var(--ease-out-cubic);
1108
+ --ease-out-quart: var(--ease-out-quart);
1109
+ --ease-out-quint: var(--ease-out-quint);
1110
+ --ease-out-expo: var(--ease-out-expo);
1111
+ --ease-out-circ: var(--ease-out-circ);
1112
+ }
1113
+
1114
+