reactnatively-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,812 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ import { DeepPartial } from 'reactnatively-utils';
4
+
5
+ declare const glassTokens: {
6
+ readonly blur: {
7
+ readonly none: 0;
8
+ readonly hairline: 4;
9
+ readonly subtle: 10;
10
+ readonly light: 20;
11
+ readonly medium: 35;
12
+ readonly heavy: 55;
13
+ readonly intense: 72;
14
+ readonly extreme: 90;
15
+ };
16
+ readonly tint: {
17
+ readonly light: {
18
+ readonly ultraThin: "rgba(255,255,255,0.45)";
19
+ readonly thin: "rgba(255,255,255,0.60)";
20
+ readonly surface: "rgba(255,255,255,0.72)";
21
+ readonly elevated: "rgba(255,255,255,0.82)";
22
+ readonly overlay: "rgba(255,255,255,0.92)";
23
+ readonly frosted: "rgba(240,242,250,0.68)";
24
+ readonly tinted: "rgba(59,130,246,0.12)";
25
+ };
26
+ readonly dark: {
27
+ readonly ultraThin: "rgba(20,20,30,0.45)";
28
+ readonly thin: "rgba(20,20,30,0.58)";
29
+ readonly surface: "rgba(25,25,38,0.72)";
30
+ readonly elevated: "rgba(30,30,48,0.80)";
31
+ readonly overlay: "rgba(15,15,25,0.88)";
32
+ readonly frosted: "rgba(22,24,40,0.70)";
33
+ readonly tinted: "rgba(99,102,241,0.15)";
34
+ };
35
+ };
36
+ readonly elevation: {
37
+ readonly 0: {
38
+ readonly blur: 0;
39
+ readonly tintOpacity: 0.95;
40
+ readonly shadowOpacity: 0;
41
+ readonly shadowRadius: 0;
42
+ readonly shadowY: 0;
43
+ };
44
+ readonly 1: {
45
+ readonly blur: 12;
46
+ readonly tintOpacity: 0.82;
47
+ readonly shadowOpacity: 0.06;
48
+ readonly shadowRadius: 8;
49
+ readonly shadowY: 2;
50
+ };
51
+ readonly 2: {
52
+ readonly blur: 24;
53
+ readonly tintOpacity: 0.72;
54
+ readonly shadowOpacity: 0.12;
55
+ readonly shadowRadius: 16;
56
+ readonly shadowY: 4;
57
+ };
58
+ readonly 3: {
59
+ readonly blur: 40;
60
+ readonly tintOpacity: 0.65;
61
+ readonly shadowOpacity: 0.18;
62
+ readonly shadowRadius: 24;
63
+ readonly shadowY: 8;
64
+ };
65
+ readonly 4: {
66
+ readonly blur: 55;
67
+ readonly tintOpacity: 0.55;
68
+ readonly shadowOpacity: 0.24;
69
+ readonly shadowRadius: 36;
70
+ readonly shadowY: 12;
71
+ };
72
+ readonly 5: {
73
+ readonly blur: 72;
74
+ readonly tintOpacity: 0.45;
75
+ readonly shadowOpacity: 0.32;
76
+ readonly shadowRadius: 48;
77
+ readonly shadowY: 20;
78
+ };
79
+ };
80
+ readonly highlight: {
81
+ readonly none: "transparent";
82
+ readonly subtle: "rgba(255,255,255,0.20)";
83
+ readonly medium: "rgba(255,255,255,0.38)";
84
+ readonly strong: "rgba(255,255,255,0.55)";
85
+ readonly intense: "rgba(255,255,255,0.72)";
86
+ };
87
+ readonly highlightGradientEnd: "transparent";
88
+ readonly border: {
89
+ readonly light: {
90
+ readonly subtle: "rgba(255,255,255,0.20)";
91
+ readonly medium: "rgba(255,255,255,0.32)";
92
+ readonly strong: "rgba(255,255,255,0.50)";
93
+ };
94
+ readonly dark: {
95
+ readonly subtle: "rgba(255,255,255,0.08)";
96
+ readonly medium: "rgba(255,255,255,0.14)";
97
+ readonly strong: "rgba(255,255,255,0.22)";
98
+ };
99
+ };
100
+ readonly glow: {
101
+ readonly primary: {
102
+ readonly color: "#6366f1";
103
+ readonly radius: 24;
104
+ readonly opacity: 0.35;
105
+ };
106
+ readonly blue: {
107
+ readonly color: "#3b82f6";
108
+ readonly radius: 24;
109
+ readonly opacity: 0.35;
110
+ };
111
+ readonly cyan: {
112
+ readonly color: "#06b6d4";
113
+ readonly radius: 20;
114
+ readonly opacity: 0.4;
115
+ };
116
+ readonly rose: {
117
+ readonly color: "#f43f5e";
118
+ readonly radius: 20;
119
+ readonly opacity: 0.35;
120
+ };
121
+ readonly success: {
122
+ readonly color: "#10b981";
123
+ readonly radius: 20;
124
+ readonly opacity: 0.3;
125
+ };
126
+ readonly warning: {
127
+ readonly color: "#f59e0b";
128
+ readonly radius: 20;
129
+ readonly opacity: 0.3;
130
+ };
131
+ };
132
+ readonly vibrancy: {
133
+ readonly none: {
134
+ readonly saturation: 1;
135
+ readonly brightness: 1;
136
+ };
137
+ readonly subtle: {
138
+ readonly saturation: 1.1;
139
+ readonly brightness: 1.02;
140
+ };
141
+ readonly medium: {
142
+ readonly saturation: 1.2;
143
+ readonly brightness: 1.04;
144
+ };
145
+ readonly vivid: {
146
+ readonly saturation: 1.4;
147
+ readonly brightness: 1.06;
148
+ };
149
+ };
150
+ };
151
+ type GlassTokens = typeof glassTokens;
152
+ type GlassElevation = 0 | 1 | 2 | 3 | 4 | 5;
153
+ type GlassTintVariant = keyof typeof glassTokens.tint.light;
154
+ type GlassBlurLevel = keyof typeof glassTokens.blur;
155
+ type GlassHighlight = keyof typeof glassTokens.highlight;
156
+
157
+ declare const spacing: {
158
+ readonly 0: 0;
159
+ readonly px: 1;
160
+ readonly 0.5: 2;
161
+ readonly 1: 4;
162
+ readonly 1.5: 6;
163
+ readonly 2: 8;
164
+ readonly 2.5: 10;
165
+ readonly 3: 12;
166
+ readonly 3.5: 14;
167
+ readonly 4: 16;
168
+ readonly 5: 20;
169
+ readonly 6: 24;
170
+ readonly 7: 28;
171
+ readonly 8: 32;
172
+ readonly 9: 36;
173
+ readonly 10: 40;
174
+ readonly 11: 44;
175
+ readonly 12: 48;
176
+ readonly 14: 56;
177
+ readonly 16: 64;
178
+ readonly 20: 80;
179
+ readonly 24: 96;
180
+ readonly 28: 112;
181
+ readonly 32: 128;
182
+ readonly 36: 144;
183
+ readonly 40: 160;
184
+ readonly 48: 192;
185
+ readonly 56: 224;
186
+ readonly 64: 256;
187
+ };
188
+ type SpacingScale = typeof spacing;
189
+ type SpacingKey = keyof SpacingScale;
190
+ type SpacingValue = SpacingScale[SpacingKey];
191
+
192
+ declare const radii: {
193
+ readonly none: 0;
194
+ readonly xs: 4;
195
+ readonly sm: 6;
196
+ readonly md: 8;
197
+ readonly lg: 12;
198
+ readonly xl: 16;
199
+ readonly '2xl': 20;
200
+ readonly '3xl': 24;
201
+ readonly '4xl': 32;
202
+ readonly full: 9999;
203
+ };
204
+ type RadiiScale = typeof radii;
205
+ type RadiiKey = keyof RadiiScale;
206
+
207
+ declare const fontFamily: {
208
+ readonly sans: "System";
209
+ readonly mono: "Courier";
210
+ };
211
+ declare const fontSize: {
212
+ readonly '2xs': 10;
213
+ readonly xs: 12;
214
+ readonly sm: 13;
215
+ readonly base: 15;
216
+ readonly md: 15;
217
+ readonly lg: 17;
218
+ readonly xl: 19;
219
+ readonly '2xl': 22;
220
+ readonly '3xl': 26;
221
+ readonly '4xl': 32;
222
+ readonly '5xl': 40;
223
+ readonly '6xl': 52;
224
+ readonly '7xl': 64;
225
+ };
226
+ declare const lineHeight: {
227
+ readonly none: 1;
228
+ readonly tight: 1.2;
229
+ readonly snug: 1.35;
230
+ readonly normal: 1.5;
231
+ readonly relaxed: 1.625;
232
+ readonly loose: 2;
233
+ };
234
+ declare const fontWeight: {
235
+ thin: "100";
236
+ extralight: "200";
237
+ light: "300";
238
+ normal: "400";
239
+ medium: "500";
240
+ semibold: "600";
241
+ bold: "700";
242
+ extrabold: "800";
243
+ black: "900";
244
+ };
245
+ declare const letterSpacing: {
246
+ readonly tighter: -0.8;
247
+ readonly tight: -0.4;
248
+ readonly normal: 0;
249
+ readonly wide: 0.4;
250
+ readonly wider: 0.8;
251
+ readonly widest: 1.6;
252
+ };
253
+ declare const typography: {
254
+ readonly fontFamily: {
255
+ readonly sans: "System";
256
+ readonly mono: "Courier";
257
+ };
258
+ readonly fontSize: {
259
+ readonly '2xs': 10;
260
+ readonly xs: 12;
261
+ readonly sm: 13;
262
+ readonly base: 15;
263
+ readonly md: 15;
264
+ readonly lg: 17;
265
+ readonly xl: 19;
266
+ readonly '2xl': 22;
267
+ readonly '3xl': 26;
268
+ readonly '4xl': 32;
269
+ readonly '5xl': 40;
270
+ readonly '6xl': 52;
271
+ readonly '7xl': 64;
272
+ };
273
+ readonly lineHeight: {
274
+ readonly none: 1;
275
+ readonly tight: 1.2;
276
+ readonly snug: 1.35;
277
+ readonly normal: 1.5;
278
+ readonly relaxed: 1.625;
279
+ readonly loose: 2;
280
+ };
281
+ readonly fontWeight: {
282
+ thin: "100";
283
+ extralight: "200";
284
+ light: "300";
285
+ normal: "400";
286
+ medium: "500";
287
+ semibold: "600";
288
+ bold: "700";
289
+ extrabold: "800";
290
+ black: "900";
291
+ };
292
+ readonly letterSpacing: {
293
+ readonly tighter: -0.8;
294
+ readonly tight: -0.4;
295
+ readonly normal: 0;
296
+ readonly wide: 0.4;
297
+ readonly wider: 0.8;
298
+ readonly widest: 1.6;
299
+ };
300
+ };
301
+ type Typography = typeof typography;
302
+
303
+ declare const shadows: {
304
+ readonly none: {
305
+ readonly ios: {
306
+ readonly shadowColor: "transparent";
307
+ readonly shadowOffset: {
308
+ readonly width: 0;
309
+ readonly height: 0;
310
+ };
311
+ readonly shadowOpacity: 0;
312
+ readonly shadowRadius: 0;
313
+ };
314
+ readonly android: {
315
+ readonly elevation: 0;
316
+ };
317
+ };
318
+ readonly xs: {
319
+ readonly ios: {
320
+ readonly shadowColor: "#000";
321
+ readonly shadowOffset: {
322
+ readonly width: 0;
323
+ readonly height: 1;
324
+ };
325
+ readonly shadowOpacity: 0.05;
326
+ readonly shadowRadius: 2;
327
+ };
328
+ readonly android: {
329
+ readonly elevation: 1;
330
+ };
331
+ };
332
+ readonly sm: {
333
+ readonly ios: {
334
+ readonly shadowColor: "#000";
335
+ readonly shadowOffset: {
336
+ readonly width: 0;
337
+ readonly height: 2;
338
+ };
339
+ readonly shadowOpacity: 0.08;
340
+ readonly shadowRadius: 4;
341
+ };
342
+ readonly android: {
343
+ readonly elevation: 2;
344
+ };
345
+ };
346
+ readonly md: {
347
+ readonly ios: {
348
+ readonly shadowColor: "#000";
349
+ readonly shadowOffset: {
350
+ readonly width: 0;
351
+ readonly height: 4;
352
+ };
353
+ readonly shadowOpacity: 0.12;
354
+ readonly shadowRadius: 8;
355
+ };
356
+ readonly android: {
357
+ readonly elevation: 4;
358
+ };
359
+ };
360
+ readonly lg: {
361
+ readonly ios: {
362
+ readonly shadowColor: "#000";
363
+ readonly shadowOffset: {
364
+ readonly width: 0;
365
+ readonly height: 8;
366
+ };
367
+ readonly shadowOpacity: 0.15;
368
+ readonly shadowRadius: 16;
369
+ };
370
+ readonly android: {
371
+ readonly elevation: 8;
372
+ };
373
+ };
374
+ readonly xl: {
375
+ readonly ios: {
376
+ readonly shadowColor: "#000";
377
+ readonly shadowOffset: {
378
+ readonly width: 0;
379
+ readonly height: 12;
380
+ };
381
+ readonly shadowOpacity: 0.18;
382
+ readonly shadowRadius: 24;
383
+ };
384
+ readonly android: {
385
+ readonly elevation: 12;
386
+ };
387
+ };
388
+ readonly '2xl': {
389
+ readonly ios: {
390
+ readonly shadowColor: "#000";
391
+ readonly shadowOffset: {
392
+ readonly width: 0;
393
+ readonly height: 20;
394
+ };
395
+ readonly shadowOpacity: 0.22;
396
+ readonly shadowRadius: 40;
397
+ };
398
+ readonly android: {
399
+ readonly elevation: 20;
400
+ };
401
+ };
402
+ readonly glassGlow: {
403
+ readonly ios: {
404
+ readonly shadowColor: "#6366f1";
405
+ readonly shadowOffset: {
406
+ readonly width: 0;
407
+ readonly height: 8;
408
+ };
409
+ readonly shadowOpacity: 0.4;
410
+ readonly shadowRadius: 24;
411
+ };
412
+ readonly android: {
413
+ readonly elevation: 12;
414
+ };
415
+ };
416
+ };
417
+ type Shadows = typeof shadows;
418
+ type ShadowKey = keyof Shadows;
419
+
420
+ declare const duration: {
421
+ readonly instant: 50;
422
+ readonly fast: 120;
423
+ readonly normal: 220;
424
+ readonly slow: 380;
425
+ readonly verySlow: 550;
426
+ readonly blurIn: 280;
427
+ readonly blurOut: 180;
428
+ readonly enter: 300;
429
+ readonly exit: 200;
430
+ };
431
+ declare const easing: {
432
+ readonly standard: readonly [0.4, 0, 0.2, 1];
433
+ readonly decelerate: readonly [0, 0, 0.2, 1];
434
+ readonly accelerate: readonly [0.4, 0, 1, 1];
435
+ readonly sharp: readonly [0.4, 0, 0.6, 1];
436
+ };
437
+ declare const springs: {
438
+ readonly snappy: {
439
+ readonly damping: 22;
440
+ readonly stiffness: 420;
441
+ readonly mass: 0.8;
442
+ readonly overshootClamping: false;
443
+ };
444
+ readonly liquid: {
445
+ readonly damping: 15;
446
+ readonly stiffness: 280;
447
+ readonly mass: 1;
448
+ readonly overshootClamping: false;
449
+ };
450
+ readonly reveal: {
451
+ readonly damping: 30;
452
+ readonly stiffness: 200;
453
+ readonly mass: 1.2;
454
+ readonly overshootClamping: false;
455
+ };
456
+ readonly bounce: {
457
+ readonly damping: 8;
458
+ readonly stiffness: 340;
459
+ readonly mass: 0.7;
460
+ readonly overshootClamping: false;
461
+ };
462
+ readonly precise: {
463
+ readonly damping: 40;
464
+ readonly stiffness: 300;
465
+ readonly mass: 1;
466
+ readonly overshootClamping: true;
467
+ };
468
+ };
469
+ declare const reducedMotion: {
470
+ readonly duration: {
471
+ readonly instant: 0;
472
+ readonly fast: 0;
473
+ readonly normal: 50;
474
+ readonly slow: 80;
475
+ readonly verySlow: 100;
476
+ readonly blurIn: 80;
477
+ readonly blurOut: 60;
478
+ readonly enter: 80;
479
+ readonly exit: 60;
480
+ };
481
+ readonly springs: {
482
+ readonly snappy: {
483
+ readonly damping: 40;
484
+ readonly stiffness: 400;
485
+ readonly mass: 1;
486
+ };
487
+ readonly liquid: {
488
+ readonly damping: 40;
489
+ readonly stiffness: 400;
490
+ readonly mass: 1;
491
+ };
492
+ readonly reveal: {
493
+ readonly damping: 40;
494
+ readonly stiffness: 400;
495
+ readonly mass: 1;
496
+ };
497
+ readonly bounce: {
498
+ readonly damping: 40;
499
+ readonly stiffness: 400;
500
+ readonly mass: 1;
501
+ };
502
+ readonly precise: {
503
+ readonly damping: 40;
504
+ readonly stiffness: 400;
505
+ readonly mass: 1;
506
+ };
507
+ };
508
+ };
509
+ declare const motion: {
510
+ readonly duration: {
511
+ readonly instant: 50;
512
+ readonly fast: 120;
513
+ readonly normal: 220;
514
+ readonly slow: 380;
515
+ readonly verySlow: 550;
516
+ readonly blurIn: 280;
517
+ readonly blurOut: 180;
518
+ readonly enter: 300;
519
+ readonly exit: 200;
520
+ };
521
+ readonly easing: {
522
+ readonly standard: readonly [0.4, 0, 0.2, 1];
523
+ readonly decelerate: readonly [0, 0, 0.2, 1];
524
+ readonly accelerate: readonly [0.4, 0, 1, 1];
525
+ readonly sharp: readonly [0.4, 0, 0.6, 1];
526
+ };
527
+ readonly springs: {
528
+ readonly snappy: {
529
+ readonly damping: 22;
530
+ readonly stiffness: 420;
531
+ readonly mass: 0.8;
532
+ readonly overshootClamping: false;
533
+ };
534
+ readonly liquid: {
535
+ readonly damping: 15;
536
+ readonly stiffness: 280;
537
+ readonly mass: 1;
538
+ readonly overshootClamping: false;
539
+ };
540
+ readonly reveal: {
541
+ readonly damping: 30;
542
+ readonly stiffness: 200;
543
+ readonly mass: 1.2;
544
+ readonly overshootClamping: false;
545
+ };
546
+ readonly bounce: {
547
+ readonly damping: 8;
548
+ readonly stiffness: 340;
549
+ readonly mass: 0.7;
550
+ readonly overshootClamping: false;
551
+ };
552
+ readonly precise: {
553
+ readonly damping: 40;
554
+ readonly stiffness: 300;
555
+ readonly mass: 1;
556
+ readonly overshootClamping: true;
557
+ };
558
+ };
559
+ readonly reducedMotion: {
560
+ readonly duration: {
561
+ readonly instant: 0;
562
+ readonly fast: 0;
563
+ readonly normal: 50;
564
+ readonly slow: 80;
565
+ readonly verySlow: 100;
566
+ readonly blurIn: 80;
567
+ readonly blurOut: 60;
568
+ readonly enter: 80;
569
+ readonly exit: 60;
570
+ };
571
+ readonly springs: {
572
+ readonly snappy: {
573
+ readonly damping: 40;
574
+ readonly stiffness: 400;
575
+ readonly mass: 1;
576
+ };
577
+ readonly liquid: {
578
+ readonly damping: 40;
579
+ readonly stiffness: 400;
580
+ readonly mass: 1;
581
+ };
582
+ readonly reveal: {
583
+ readonly damping: 40;
584
+ readonly stiffness: 400;
585
+ readonly mass: 1;
586
+ };
587
+ readonly bounce: {
588
+ readonly damping: 40;
589
+ readonly stiffness: 400;
590
+ readonly mass: 1;
591
+ };
592
+ readonly precise: {
593
+ readonly damping: 40;
594
+ readonly stiffness: 400;
595
+ readonly mass: 1;
596
+ };
597
+ };
598
+ };
599
+ };
600
+ type Motion = typeof motion;
601
+ type SpringConfig = (typeof springs)[keyof typeof springs];
602
+
603
+ interface ThemeColors {
604
+ primary: string;
605
+ primaryHover: string;
606
+ primaryFocused: string;
607
+ primarySubtle: string;
608
+ primaryMuted: string;
609
+ secondary: string;
610
+ secondaryHover: string;
611
+ secondarySubtle: string;
612
+ success: string;
613
+ successSubtle: string;
614
+ successText: string;
615
+ warning: string;
616
+ warningSubtle: string;
617
+ warningText: string;
618
+ error: string;
619
+ errorHover: string;
620
+ errorSubtle: string;
621
+ errorText: string;
622
+ info: string;
623
+ infoSubtle: string;
624
+ infoText: string;
625
+ background: string;
626
+ backgroundDeep: string;
627
+ surface: string;
628
+ surfaceRaised: string;
629
+ surfaceOverlay: string;
630
+ text: string;
631
+ textSecondary: string;
632
+ textMuted: string;
633
+ textDisabled: string;
634
+ textInverted: string;
635
+ border: string;
636
+ borderSubtle: string;
637
+ borderStrong: string;
638
+ neutral: string;
639
+ neutralSubtle: string;
640
+ }
641
+ interface BaseTheme {
642
+ colors: ThemeColors;
643
+ glass: typeof glassTokens;
644
+ spacing: typeof spacing;
645
+ radii: typeof radii;
646
+ typography: typeof typography;
647
+ shadows: typeof shadows;
648
+ motion: typeof motion;
649
+ }
650
+ declare const baseTheme: BaseTheme;
651
+ type ThemeColorKey = keyof ThemeColors;
652
+
653
+ type ColorSchemePreference = 'light' | 'dark' | 'system';
654
+ type ResolvedColorScheme = 'light' | 'dark';
655
+ interface ThemeContextValue<T extends BaseTheme = BaseTheme> {
656
+ theme: T;
657
+ colorScheme: ResolvedColorScheme;
658
+ colorSchemePreference: ColorSchemePreference;
659
+ setColorScheme: (scheme: ColorSchemePreference) => void;
660
+ isDark: boolean;
661
+ isLight: boolean;
662
+ }
663
+ interface ThemeProviderProps<T extends BaseTheme = BaseTheme> {
664
+ theme?: DeepPartial<T>;
665
+ colorScheme?: ColorSchemePreference;
666
+ children: ReactNode;
667
+ }
668
+ declare function ThemeProvider<T extends BaseTheme = BaseTheme>({ theme: themeOverrides, colorScheme: initialPreference, children, }: ThemeProviderProps<T>): react_jsx_runtime.JSX.Element;
669
+ declare function useTheme<T extends BaseTheme = BaseTheme>(): ThemeContextValue<T>;
670
+ declare function useColorScheme(): ResolvedColorScheme;
671
+ declare function useIsDark(): boolean;
672
+ declare function useToken<K extends keyof BaseTheme>(key: K): BaseTheme[K];
673
+
674
+ declare function createTheme<T extends DeepPartial<BaseTheme>>(overrides: T): BaseTheme & T;
675
+ type InferTheme<TFactory extends (...args: any[]) => any> = ReturnType<TFactory>;
676
+
677
+ declare const palette: {
678
+ readonly blue: {
679
+ readonly 50: "#eff6ff";
680
+ readonly 100: "#dbeafe";
681
+ readonly 200: "#bfdbfe";
682
+ readonly 300: "#93c5fd";
683
+ readonly 400: "#60a5fa";
684
+ readonly 500: "#3b82f6";
685
+ readonly 600: "#2563eb";
686
+ readonly 700: "#1d4ed8";
687
+ readonly 800: "#1e40af";
688
+ readonly 900: "#1e3a8a";
689
+ readonly 950: "#172554";
690
+ };
691
+ readonly indigo: {
692
+ readonly 50: "#eef2ff";
693
+ readonly 100: "#e0e7ff";
694
+ readonly 200: "#c7d2fe";
695
+ readonly 300: "#a5b4fc";
696
+ readonly 400: "#818cf8";
697
+ readonly 500: "#6366f1";
698
+ readonly 600: "#4f46e5";
699
+ readonly 700: "#4338ca";
700
+ readonly 800: "#3730a3";
701
+ readonly 900: "#312e81";
702
+ readonly 950: "#1e1b4b";
703
+ };
704
+ readonly violet: {
705
+ readonly 50: "#f5f3ff";
706
+ readonly 100: "#ede9fe";
707
+ readonly 200: "#ddd6fe";
708
+ readonly 300: "#c4b5fd";
709
+ readonly 400: "#a78bfa";
710
+ readonly 500: "#8b5cf6";
711
+ readonly 600: "#7c3aed";
712
+ readonly 700: "#6d28d9";
713
+ readonly 800: "#5b21b6";
714
+ readonly 900: "#4c1d95";
715
+ readonly 950: "#2e1065";
716
+ };
717
+ readonly cyan: {
718
+ readonly 50: "#ecfeff";
719
+ readonly 100: "#cffafe";
720
+ readonly 200: "#a5f3fc";
721
+ readonly 300: "#67e8f9";
722
+ readonly 400: "#22d3ee";
723
+ readonly 500: "#06b6d4";
724
+ readonly 600: "#0891b2";
725
+ readonly 700: "#0e7490";
726
+ readonly 800: "#155e75";
727
+ readonly 900: "#164e63";
728
+ readonly 950: "#083344";
729
+ };
730
+ readonly emerald: {
731
+ readonly 50: "#ecfdf5";
732
+ readonly 100: "#d1fae5";
733
+ readonly 200: "#a7f3d0";
734
+ readonly 300: "#6ee7b7";
735
+ readonly 400: "#34d399";
736
+ readonly 500: "#10b981";
737
+ readonly 600: "#059669";
738
+ readonly 700: "#047857";
739
+ readonly 800: "#065f46";
740
+ readonly 900: "#064e3b";
741
+ readonly 950: "#022c22";
742
+ };
743
+ readonly amber: {
744
+ readonly 50: "#fffbeb";
745
+ readonly 100: "#fef3c7";
746
+ readonly 200: "#fde68a";
747
+ readonly 300: "#fcd34d";
748
+ readonly 400: "#fbbf24";
749
+ readonly 500: "#f59e0b";
750
+ readonly 600: "#d97706";
751
+ readonly 700: "#b45309";
752
+ readonly 800: "#92400e";
753
+ readonly 900: "#78350f";
754
+ readonly 950: "#451a03";
755
+ };
756
+ readonly rose: {
757
+ readonly 50: "#fff1f2";
758
+ readonly 100: "#ffe4e6";
759
+ readonly 200: "#fecdd3";
760
+ readonly 300: "#fda4af";
761
+ readonly 400: "#fb7185";
762
+ readonly 500: "#f43f5e";
763
+ readonly 600: "#e11d48";
764
+ readonly 700: "#be123c";
765
+ readonly 800: "#9f1239";
766
+ readonly 900: "#881337";
767
+ readonly 950: "#4c0519";
768
+ };
769
+ readonly neutral: {
770
+ readonly 0: "#ffffff";
771
+ readonly 50: "#fafafa";
772
+ readonly 100: "#f5f5f5";
773
+ readonly 200: "#e5e5e5";
774
+ readonly 300: "#d4d4d4";
775
+ readonly 400: "#a3a3a3";
776
+ readonly 500: "#737373";
777
+ readonly 600: "#525252";
778
+ readonly 700: "#404040";
779
+ readonly 800: "#262626";
780
+ readonly 900: "#171717";
781
+ readonly 950: "#0a0a0a";
782
+ readonly 1000: "#000000";
783
+ };
784
+ readonly glass: {
785
+ readonly white5: "rgba(255,255,255,0.05)";
786
+ readonly white8: "rgba(255,255,255,0.08)";
787
+ readonly white10: "rgba(255,255,255,0.10)";
788
+ readonly white15: "rgba(255,255,255,0.15)";
789
+ readonly white20: "rgba(255,255,255,0.20)";
790
+ readonly white25: "rgba(255,255,255,0.25)";
791
+ readonly white30: "rgba(255,255,255,0.30)";
792
+ readonly white40: "rgba(255,255,255,0.40)";
793
+ readonly white50: "rgba(255,255,255,0.50)";
794
+ readonly white60: "rgba(255,255,255,0.60)";
795
+ readonly white72: "rgba(255,255,255,0.72)";
796
+ readonly white85: "rgba(255,255,255,0.85)";
797
+ readonly black5: "rgba(0,0,0,0.05)";
798
+ readonly black8: "rgba(0,0,0,0.08)";
799
+ readonly black10: "rgba(0,0,0,0.10)";
800
+ readonly black15: "rgba(0,0,0,0.15)";
801
+ readonly black20: "rgba(0,0,0,0.20)";
802
+ readonly black30: "rgba(0,0,0,0.30)";
803
+ readonly black40: "rgba(0,0,0,0.40)";
804
+ readonly black50: "rgba(0,0,0,0.50)";
805
+ readonly black60: "rgba(0,0,0,0.60)";
806
+ readonly black72: "rgba(0,0,0,0.72)";
807
+ readonly black85: "rgba(0,0,0,0.85)";
808
+ };
809
+ };
810
+ type Palette = typeof palette;
811
+
812
+ export { type BaseTheme, type ColorSchemePreference, type GlassBlurLevel, type GlassElevation, type GlassHighlight, type GlassTintVariant, type GlassTokens, type InferTheme, type Motion, type Palette, type RadiiKey, type RadiiScale, type ResolvedColorScheme, type ShadowKey, type Shadows, type SpacingKey, type SpacingScale, type SpacingValue, type SpringConfig, type ThemeColorKey, type ThemeColors, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, type Typography, baseTheme, createTheme, duration, easing, fontFamily, fontSize, fontWeight, glassTokens, letterSpacing, lineHeight, motion, palette, radii, reducedMotion, shadows, spacing, springs, typography, useColorScheme, useIsDark, useTheme, useToken };