@asafarim/design-tokens 0.4.4 → 0.4.9

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 (74) hide show
  1. package/CHANGELOG.md +26 -20
  2. package/LICENSE +21 -21
  3. package/README.md +139 -139
  4. package/css/index.css +8 -8
  5. package/css/tokens.base.css +168 -168
  6. package/css/tokens.dark.css +162 -162
  7. package/css/tokens.density.comfortable.css +6 -6
  8. package/css/tokens.density.compact.css +6 -6
  9. package/css/tokens.high-contrast.css +162 -162
  10. package/css/tokens.light.css +162 -162
  11. package/css/tokens.rtl.css +3 -3
  12. package/css/tokens.utilities.css +16 -16
  13. package/package.json +2 -2
  14. package/src/build/index.ts +5 -5
  15. package/src/build/toCssVars.ts +31 -31
  16. package/src/build/toJson.ts +20 -20
  17. package/src/build/validate.ts +90 -90
  18. package/src/core/types.ts +29 -29
  19. package/src/core/utils.ts +42 -42
  20. package/src/index.ts +60 -60
  21. package/src/themes/dark.ts +64 -64
  22. package/src/themes/densityComfortable.ts +11 -11
  23. package/src/themes/densityCompact.ts +11 -11
  24. package/src/themes/highContrast.ts +60 -60
  25. package/src/themes/index.ts +21 -21
  26. package/src/themes/light.ts +64 -64
  27. package/src/tokens/color/accent.ts +20 -20
  28. package/src/tokens/color/brand.ts +41 -41
  29. package/src/tokens/color/dataViz.ts +20 -20
  30. package/src/tokens/color/gradients.ts +13 -13
  31. package/src/tokens/color/index.ts +7 -7
  32. package/src/tokens/color/neutral.ts +32 -32
  33. package/src/tokens/color/overlays.ts +21 -21
  34. package/src/tokens/color/semantic.ts +36 -36
  35. package/src/tokens/effects/blur.ts +7 -7
  36. package/src/tokens/effects/index.ts +4 -4
  37. package/src/tokens/effects/opacity.ts +11 -11
  38. package/src/tokens/effects/shadows.ts +20 -20
  39. package/src/tokens/effects/textures.ts +11 -11
  40. package/src/tokens/iconography/index.ts +2 -2
  41. package/src/tokens/iconography/sizes.ts +9 -9
  42. package/src/tokens/iconography/strokeWidths.ts +7 -7
  43. package/src/tokens/index.ts +21 -21
  44. package/src/tokens/motion/duration.ts +7 -7
  45. package/src/tokens/motion/easing.ts +8 -8
  46. package/src/tokens/motion/index.ts +4 -4
  47. package/src/tokens/motion/reducedMotion.ts +9 -9
  48. package/src/tokens/motion/transitions.ts +16 -16
  49. package/src/tokens/shape/borders.ts +7 -7
  50. package/src/tokens/shape/index.ts +3 -3
  51. package/src/tokens/shape/radii.ts +9 -9
  52. package/src/tokens/shape/strokes.ts +7 -7
  53. package/src/tokens/spacing/density.ts +12 -12
  54. package/src/tokens/spacing/grid.ts +28 -28
  55. package/src/tokens/spacing/index.ts +5 -5
  56. package/src/tokens/spacing/layout.ts +20 -20
  57. package/src/tokens/spacing/rtl.ts +20 -20
  58. package/src/tokens/spacing/scale.ts +15 -15
  59. package/src/tokens/typography/families.ts +14 -14
  60. package/src/tokens/typography/headings.ts +29 -29
  61. package/src/tokens/typography/index.ts +7 -7
  62. package/src/tokens/typography/letterSpacing.ts +7 -7
  63. package/src/tokens/typography/lineHeights.ts +13 -13
  64. package/src/tokens/typography/responsive.ts +21 -21
  65. package/src/tokens/typography/sizes.ts +14 -14
  66. package/src/tokens/typography/weights.ts +13 -13
  67. package/src/tokens/ui/button.ts +25 -25
  68. package/src/tokens/ui/focus.ts +7 -7
  69. package/src/tokens/ui/index.ts +5 -5
  70. package/src/tokens/ui/input.ts +12 -12
  71. package/src/tokens/ui/overlay.ts +6 -6
  72. package/src/tokens/ui/surface.ts +9 -9
  73. package/src/tokens/zindex/index.ts +1 -1
  74. package/src/tokens/zindex/scale.ts +12 -12
@@ -1,168 +1,168 @@
1
- /* ------------------------------------------------------------------ */
2
- /* 20 fonts (100-900) Google Fonts */
3
- /* ------------------------------------------------------------------ */
4
- @import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Figtree:ital,wght@0,300..900;1,300..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend:wght@100..900&family=Manrope:wght@200..800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sora:wght@100..800&family=Space+Grotesk:wght@300..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
5
- @import url("https://fonts.googleapis.com/css2?family=Barriecito&family=Borel&family=DynaPuff:wght@400..700&family=Gabarito:wght@400..900&family=Kranky&family=Macondo&family=Playpen+Sans:wght@100..800&family=Rubik+Spray+Paint&family=Shadows+Into+Light+Two&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap");
6
-
7
- :root {
8
- --asm-font-family-base: "Inter", "Lato", "Open Sans", "Roboto";
9
- --asm-font-family-inter: "Inter", ui-sans-serif, system-ui, -apple-system,
10
- Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
11
- --asm-font-family-primary: "Inter", "Lato", "Open Sans", "Roboto";
12
- --asm-font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
13
- Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
14
- --asm-font-family-poppins: "Poppins", ui-sans-serif, system-ui, sans-serif;
15
- --asm-font-family-open-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif;
16
- --asm-font-family-lato: "Lato", ui-sans-serif, system-ui, sans-serif;
17
- --asm-font-family-rubik: "Rubik", ui-sans-serif, system-ui, sans-serif;
18
- --asm-font-family-nunito: "Nunito", ui-sans-serif, system-ui, sans-serif;
19
- --asm-font-family-work-sans: "Work Sans", ui-sans-serif, system-ui, sans-serif;
20
- --asm-font-family-manrope: "Manrope", ui-sans-serif, system-ui, sans-serif;
21
- --asm-font-family-figtree: "Figtree", ui-sans-serif, system-ui, sans-serif;
22
- --asm-font-family-sora: "Sora", ui-sans-serif, system-ui, sans-serif;
23
- --asm-font-family-outfit: "Outfit", ui-sans-serif, system-ui, sans-serif;
24
- --asm-font-family-lexend: "Lexend", ui-sans-serif, system-ui, sans-serif;
25
- --asm-font-family-public-sans: "Public Sans", ui-sans-serif, system-ui,
26
- sans-serif;
27
- --asm-font-family-dm-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
28
- --asm-font-family-overpass: "Overpass", ui-sans-serif, system-ui, sans-serif;
29
- --asm-font-family-quicksand: "Quicksand", ui-sans-serif, system-ui, sans-serif;
30
- --asm-font-family-karla: "Karla", ui-sans-serif, system-ui, sans-serif;
31
- --asm-font-family-barlow: "Barlow", ui-sans-serif, system-ui, sans-serif;
32
- --asm-font-family-space-grotesk: "Space Grotesk", ui-sans-serif, system-ui,
33
- sans-serif;
34
- --asm-font-family-red-hat: "Red Hat Display", ui-sans-serif, system-ui,
35
- sans-serif;
36
- --asm-font-family-jost: "Jost", ui-sans-serif, system-ui, sans-serif;
37
- --asm-font-family-barriecito: "Barriecito", cursive, sans-serif;
38
- --asm-font-family-borel: "Borel", cursive, sans-serif;
39
- --asm-font-family-dynapuff: "DynaPuff", cursive, sans-serif;
40
- --asm-font-family-gabarito: "Gabarito", sans-serif;
41
- --asm-font-family-kranky: "Kranky", cursive, sans-serif;
42
- --asm-font-family-macondo: "Macondo", cursive, sans-serif;
43
- --asm-font-family-playpen-sans: "Playpen Sans", cursive, sans-serif;
44
- --asm-font-family-rubik-spray: "Rubik Spray Paint", cursive, sans-serif;
45
- --asm-font-family-shadows-light: "Shadows Into Light Two", cursive, sans-serif;
46
- --asm-font-family-zalando: "Zalando Sans", ui-sans-serif, system-ui,
47
- sans-serif;
48
-
49
- --asm-font-weight-100: 100;
50
- --asm-font-weight-200: 200;
51
- --asm-font-weight-300: 300;
52
- --asm-font-weight-400: 400;
53
- --asm-font-weight-500: 500;
54
- --asm-font-weight-600: 600;
55
- --asm-font-weight-700: 700;
56
- --asm-font-weight-800: 800;
57
- --asm-font-weight-900: 900;
58
-
59
- --asm-font-size-xs: 0.75rem;
60
- --asm-font-size-sm: 0.875rem;
61
- --asm-font-size-md: 1rem;
62
- --asm-font-size-lg: 1.125rem;
63
- --asm-font-size-xl: 1.25rem;
64
- --asm-font-size-2xl: 1.5rem;
65
- --asm-font-size-3xl: 1.875rem;
66
- --asm-font-size-4xl: 2.25rem;
67
- --asm-font-size-5xl: 3rem;
68
- --asm-font-size-6xl: 3.75rem;
69
-
70
- --asm-line-height-tight: 1.1;
71
- --asm-line-height-normal: 1.4;
72
- --asm-line-height-relaxed: 1.6;
73
- --asm-line-height-h1: 1.05;
74
- --asm-line-height-h2: 1.1;
75
- --asm-line-height-h3: 1.15;
76
- --asm-line-height-h4: 1.2;
77
- --asm-line-height-h5: 1.25;
78
- --asm-line-height-h6: 1.25;
79
-
80
- --asm-letter-spacing-tight: -0.01em;
81
- --asm-letter-spacing-normal: 0em;
82
- --asm-letter-spacing-wide: 0.02em;
83
-
84
- --asm-space-0: 0px;
85
- --asm-space-1: 4px;
86
- --asm-space-2: 8px;
87
- --asm-space-3: 12px;
88
- --asm-space-4: 16px;
89
- --asm-space-5: 20px;
90
- --asm-space-6: 24px;
91
- --asm-space-8: 32px;
92
- --asm-space-10: 40px;
93
- --asm-space-12: 48px;
94
- --asm-space-16: 64px;
95
-
96
- --asm-space-page-padding-x: clamp(16px, 3vw, 32px);
97
- --asm-space-page-padding-y: clamp(16px, 3vw, 40px);
98
- --asm-space-section-gap: clamp(24px, 4vw, 64px);
99
- --asm-space-component-gap: 16px;
100
-
101
- --asm-grid-columns: 12;
102
- --asm-grid-gutter: 24px;
103
-
104
- --asm-container-xs: 480px;
105
- --asm-container-sm: 640px;
106
- --asm-container-md: 768px;
107
- --asm-container-lg: 1024px;
108
- --asm-container-xl: 1280px;
109
- --asm-container-2xl: 1360px;
110
-
111
- --asm-radius-sm: 6px;
112
- --asm-radius-md: 10px;
113
- --asm-radius-lg: 12px;
114
- --asm-radius-xl: 16px;
115
- --asm-radius-full: 9999px;
116
-
117
- --asm-border-hairline: 1px;
118
- --asm-border-thin: 2px;
119
- --asm-border-thick: 3px;
120
-
121
- --asm-effect-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
122
- --asm-effect-shadow-md: 0 6px 20px rgba(17, 24, 39, 0.1);
123
- --asm-effect-shadow-lg: 0 16px 40px rgba(17, 24, 39, 0.14);
124
- --asm-effect-shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.18);
125
-
126
- --asm-effect-blur-sm: 4px;
127
- --asm-effect-blur-md: 8px;
128
- --asm-effect-blur-lg: 16px;
129
-
130
- --asm-motion-duration-fast: 120ms;
131
- --asm-motion-duration-normal: 200ms;
132
- --asm-motion-duration-slow: 320ms;
133
-
134
- --asm-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
135
- --asm-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1.2);
136
- --asm-motion-easing-entrance: cubic-bezier(0, 0, 0, 1);
137
- --asm-motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
138
-
139
- --asm-transition-fade: opacity var(--asm-motion-duration-normal)
140
- var(--asm-motion-easing-standard);
141
- --asm-transition-slide: transform var(--asm-motion-duration-normal)
142
- var(--asm-motion-easing-standard);
143
- --asm-transition-scale: transform var(--asm-motion-duration-fast)
144
- var(--asm-motion-easing-emphasized);
145
-
146
- --asm-z-base: 0;
147
- --asm-z-dropdown: 100;
148
- --asm-z-sticky: 200;
149
- --asm-z-overlay: 300;
150
- --asm-z-modal: 400;
151
- --asm-z-popover: 450;
152
- --asm-z-tooltip: 500;
153
- --asm-z-toast: 600;
154
-
155
- --asm-icon-size-xs: 12px;
156
- --asm-icon-size-sm: 16px;
157
- --asm-icon-size-md: 20px;
158
- --asm-icon-size-lg: 24px;
159
- --asm-icon-size-xl: 28px;
160
-
161
- --asm-icon-stroke-thin: 1;
162
- --asm-icon-stroke-regular: 1.5;
163
- --asm-icon-stroke-bold: 2;
164
-
165
- --asm-density-factor: 1;
166
- --asm-space-control-padding-y: 8px;
167
- --asm-space-control-padding-x: 12px;
168
- }
1
+ /* ------------------------------------------------------------------ */
2
+ /* 20 fonts (100-900) Google Fonts */
3
+ /* ------------------------------------------------------------------ */
4
+ @import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Figtree:ital,wght@0,300..900;1,300..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend:wght@100..900&family=Manrope:wght@200..800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sora:wght@100..800&family=Space+Grotesk:wght@300..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
5
+ @import url("https://fonts.googleapis.com/css2?family=Barriecito&family=Borel&family=DynaPuff:wght@400..700&family=Gabarito:wght@400..900&family=Kranky&family=Macondo&family=Playpen+Sans:wght@100..800&family=Rubik+Spray+Paint&family=Shadows+Into+Light+Two&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap");
6
+
7
+ :root {
8
+ --asm-font-family-base: "Inter", "Lato", "Open Sans", "Roboto";
9
+ --asm-font-family-inter: "Inter", ui-sans-serif, system-ui, -apple-system,
10
+ Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
11
+ --asm-font-family-primary: "Inter", "Lato", "Open Sans", "Roboto";
12
+ --asm-font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
13
+ Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
14
+ --asm-font-family-poppins: "Poppins", ui-sans-serif, system-ui, sans-serif;
15
+ --asm-font-family-open-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif;
16
+ --asm-font-family-lato: "Lato", ui-sans-serif, system-ui, sans-serif;
17
+ --asm-font-family-rubik: "Rubik", ui-sans-serif, system-ui, sans-serif;
18
+ --asm-font-family-nunito: "Nunito", ui-sans-serif, system-ui, sans-serif;
19
+ --asm-font-family-work-sans: "Work Sans", ui-sans-serif, system-ui, sans-serif;
20
+ --asm-font-family-manrope: "Manrope", ui-sans-serif, system-ui, sans-serif;
21
+ --asm-font-family-figtree: "Figtree", ui-sans-serif, system-ui, sans-serif;
22
+ --asm-font-family-sora: "Sora", ui-sans-serif, system-ui, sans-serif;
23
+ --asm-font-family-outfit: "Outfit", ui-sans-serif, system-ui, sans-serif;
24
+ --asm-font-family-lexend: "Lexend", ui-sans-serif, system-ui, sans-serif;
25
+ --asm-font-family-public-sans: "Public Sans", ui-sans-serif, system-ui,
26
+ sans-serif;
27
+ --asm-font-family-dm-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
28
+ --asm-font-family-overpass: "Overpass", ui-sans-serif, system-ui, sans-serif;
29
+ --asm-font-family-quicksand: "Quicksand", ui-sans-serif, system-ui, sans-serif;
30
+ --asm-font-family-karla: "Karla", ui-sans-serif, system-ui, sans-serif;
31
+ --asm-font-family-barlow: "Barlow", ui-sans-serif, system-ui, sans-serif;
32
+ --asm-font-family-space-grotesk: "Space Grotesk", ui-sans-serif, system-ui,
33
+ sans-serif;
34
+ --asm-font-family-red-hat: "Red Hat Display", ui-sans-serif, system-ui,
35
+ sans-serif;
36
+ --asm-font-family-jost: "Jost", ui-sans-serif, system-ui, sans-serif;
37
+ --asm-font-family-barriecito: "Barriecito", cursive, sans-serif;
38
+ --asm-font-family-borel: "Borel", cursive, sans-serif;
39
+ --asm-font-family-dynapuff: "DynaPuff", cursive, sans-serif;
40
+ --asm-font-family-gabarito: "Gabarito", sans-serif;
41
+ --asm-font-family-kranky: "Kranky", cursive, sans-serif;
42
+ --asm-font-family-macondo: "Macondo", cursive, sans-serif;
43
+ --asm-font-family-playpen-sans: "Playpen Sans", cursive, sans-serif;
44
+ --asm-font-family-rubik-spray: "Rubik Spray Paint", cursive, sans-serif;
45
+ --asm-font-family-shadows-light: "Shadows Into Light Two", cursive, sans-serif;
46
+ --asm-font-family-zalando: "Zalando Sans", ui-sans-serif, system-ui,
47
+ sans-serif;
48
+
49
+ --asm-font-weight-100: 100;
50
+ --asm-font-weight-200: 200;
51
+ --asm-font-weight-300: 300;
52
+ --asm-font-weight-400: 400;
53
+ --asm-font-weight-500: 500;
54
+ --asm-font-weight-600: 600;
55
+ --asm-font-weight-700: 700;
56
+ --asm-font-weight-800: 800;
57
+ --asm-font-weight-900: 900;
58
+
59
+ --asm-font-size-xs: 0.75rem;
60
+ --asm-font-size-sm: 0.875rem;
61
+ --asm-font-size-md: 1rem;
62
+ --asm-font-size-lg: 1.125rem;
63
+ --asm-font-size-xl: 1.25rem;
64
+ --asm-font-size-2xl: 1.5rem;
65
+ --asm-font-size-3xl: 1.875rem;
66
+ --asm-font-size-4xl: 2.25rem;
67
+ --asm-font-size-5xl: 3rem;
68
+ --asm-font-size-6xl: 3.75rem;
69
+
70
+ --asm-line-height-tight: 1.1;
71
+ --asm-line-height-normal: 1.4;
72
+ --asm-line-height-relaxed: 1.6;
73
+ --asm-line-height-h1: 1.05;
74
+ --asm-line-height-h2: 1.1;
75
+ --asm-line-height-h3: 1.15;
76
+ --asm-line-height-h4: 1.2;
77
+ --asm-line-height-h5: 1.25;
78
+ --asm-line-height-h6: 1.25;
79
+
80
+ --asm-letter-spacing-tight: -0.01em;
81
+ --asm-letter-spacing-normal: 0em;
82
+ --asm-letter-spacing-wide: 0.02em;
83
+
84
+ --asm-space-0: 0px;
85
+ --asm-space-1: 4px;
86
+ --asm-space-2: 8px;
87
+ --asm-space-3: 12px;
88
+ --asm-space-4: 16px;
89
+ --asm-space-5: 20px;
90
+ --asm-space-6: 24px;
91
+ --asm-space-8: 32px;
92
+ --asm-space-10: 40px;
93
+ --asm-space-12: 48px;
94
+ --asm-space-16: 64px;
95
+
96
+ --asm-space-page-padding-x: clamp(16px, 3vw, 32px);
97
+ --asm-space-page-padding-y: clamp(16px, 3vw, 40px);
98
+ --asm-space-section-gap: clamp(24px, 4vw, 64px);
99
+ --asm-space-component-gap: 16px;
100
+
101
+ --asm-grid-columns: 12;
102
+ --asm-grid-gutter: 24px;
103
+
104
+ --asm-container-xs: 480px;
105
+ --asm-container-sm: 640px;
106
+ --asm-container-md: 768px;
107
+ --asm-container-lg: 1024px;
108
+ --asm-container-xl: 1280px;
109
+ --asm-container-2xl: 1360px;
110
+
111
+ --asm-radius-sm: 6px;
112
+ --asm-radius-md: 10px;
113
+ --asm-radius-lg: 12px;
114
+ --asm-radius-xl: 16px;
115
+ --asm-radius-full: 9999px;
116
+
117
+ --asm-border-hairline: 1px;
118
+ --asm-border-thin: 2px;
119
+ --asm-border-thick: 3px;
120
+
121
+ --asm-effect-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
122
+ --asm-effect-shadow-md: 0 6px 20px rgba(17, 24, 39, 0.1);
123
+ --asm-effect-shadow-lg: 0 16px 40px rgba(17, 24, 39, 0.14);
124
+ --asm-effect-shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.18);
125
+
126
+ --asm-effect-blur-sm: 4px;
127
+ --asm-effect-blur-md: 8px;
128
+ --asm-effect-blur-lg: 16px;
129
+
130
+ --asm-motion-duration-fast: 120ms;
131
+ --asm-motion-duration-normal: 200ms;
132
+ --asm-motion-duration-slow: 320ms;
133
+
134
+ --asm-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
135
+ --asm-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1.2);
136
+ --asm-motion-easing-entrance: cubic-bezier(0, 0, 0, 1);
137
+ --asm-motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
138
+
139
+ --asm-transition-fade: opacity var(--asm-motion-duration-normal)
140
+ var(--asm-motion-easing-standard);
141
+ --asm-transition-slide: transform var(--asm-motion-duration-normal)
142
+ var(--asm-motion-easing-standard);
143
+ --asm-transition-scale: transform var(--asm-motion-duration-fast)
144
+ var(--asm-motion-easing-emphasized);
145
+
146
+ --asm-z-base: 0;
147
+ --asm-z-dropdown: 100;
148
+ --asm-z-sticky: 200;
149
+ --asm-z-overlay: 300;
150
+ --asm-z-modal: 400;
151
+ --asm-z-popover: 450;
152
+ --asm-z-tooltip: 500;
153
+ --asm-z-toast: 600;
154
+
155
+ --asm-icon-size-xs: 12px;
156
+ --asm-icon-size-sm: 16px;
157
+ --asm-icon-size-md: 20px;
158
+ --asm-icon-size-lg: 24px;
159
+ --asm-icon-size-xl: 28px;
160
+
161
+ --asm-icon-stroke-thin: 1;
162
+ --asm-icon-stroke-regular: 1.5;
163
+ --asm-icon-stroke-bold: 2;
164
+
165
+ --asm-density-factor: 1;
166
+ --asm-space-control-padding-y: 8px;
167
+ --asm-space-control-padding-x: 12px;
168
+ }
@@ -1,162 +1,162 @@
1
- [data-theme="dark"] {
2
- --asm-color-bg: #0B1220;
3
- --asm-color-surface: #0F172A;
4
- --asm-color-surface-muted: #111B2E;
5
- --asm-color-panel: #0F172A;
6
- --asm-color-modal: #0F172A;
7
-
8
- --asm-color-text: #E5E7EB;
9
- --asm-color-text-muted: #9CA3AF;
10
- --asm-color-border: #1F2937;
11
-
12
- /* Primary Color Scale */
13
- --asm-color-primary-0: #0F172A;
14
- --asm-color-primary-50: #1E293B;
15
- --asm-color-primary-100: #1E3A8A;
16
- --asm-color-primary-200: #1E40FF;
17
- --asm-color-primary-300: #304FFE;
18
- --asm-color-primary-400: #3A5AFE;
19
- --asm-color-primary-500: #4F6BFF;
20
- --asm-color-primary-600: #6B82FF;
21
- --asm-color-primary-700: #818CF8;
22
- --asm-color-primary-800: #A5B4FC;
23
- --asm-color-primary-900: #C7D2FE;
24
- --asm-color-primary-950: #E0E7FF;
25
-
26
- --asm-color-brand-primary-50: #EEF2FF;
27
- --asm-color-brand-primary-500: #3A5AFE;
28
- --asm-color-brand-primary-600: #3A5AFE;
29
- --asm-color-brand-primary-700: #304FFE;
30
-
31
- /* Warning Color Scale */
32
- --asm-color-warning-0: #451A03;
33
- --asm-color-warning-50: #78350F;
34
- --asm-color-warning-100: #92400E;
35
- --asm-color-warning-200: #B45309;
36
- --asm-color-warning-300: #D97706;
37
- --asm-color-warning-400: #F59E0B;
38
- --asm-color-warning-500: #FBBF24;
39
- --asm-color-warning-600: #FCD34D;
40
- --asm-color-warning-700: #FDE68A;
41
- --asm-color-warning-800: #FEF3C7;
42
- --asm-color-warning-900: #FFFBEB;
43
- --asm-color-warning-950: #FFFEF5;
44
-
45
- /* Danger Color Scale */
46
- --asm-color-danger-0: #450A0A;
47
- --asm-color-danger-50: #7F1D1D;
48
- --asm-color-danger-100: #991B1B;
49
- --asm-color-danger-200: #B91C1C;
50
- --asm-color-danger-300: #DC2626;
51
- --asm-color-danger-400: #EF4444;
52
- --asm-color-danger-500: #F87171;
53
- --asm-color-danger-600: #FCA5A5;
54
- --asm-color-danger-700: #FECACA;
55
- --asm-color-danger-800: #FEE2E2;
56
- --asm-color-danger-900: #FEF2F2;
57
- --asm-color-danger-950: #FEF9F9;
58
-
59
- /* Info Color Scale */
60
- --asm-color-info-0: #082F49;
61
- --asm-color-info-50: #0C4A6E;
62
- --asm-color-info-100: #075985;
63
- --asm-color-info-200: #0369A1;
64
- --asm-color-info-300: #0284C7;
65
- --asm-color-info-400: #0EA5E9;
66
- --asm-color-info-500: #38BDF8;
67
- --asm-color-info-600: #7DD3FC;
68
- --asm-color-info-700: #BAE6FD;
69
- --asm-color-info-800: #E0F2FE;
70
- --asm-color-info-900: #F0F9FF;
71
- --asm-color-info-950: #F7FCFF;
72
-
73
- /* Success Color Scale */
74
- --asm-color-success-0: #052E16;
75
- --asm-color-success-50: #14532D;
76
- --asm-color-success-100: #166534;
77
- --asm-color-success-200: #15803D;
78
- --asm-color-success-300: #16A34A;
79
- --asm-color-success-400: #22C55E;
80
- --asm-color-success-500: #4ADE80;
81
- --asm-color-success-600: #86EFAC;
82
- --asm-color-success-700: #BBF7D0;
83
- --asm-color-success-800: #DCFCE7;
84
- --asm-color-success-900: #F0FDF4;
85
- --asm-color-success-950: #F7FEF9;
86
-
87
- /* Purple Color Scale */
88
- --asm-color-purple-0: #3B0764;
89
- --asm-color-purple-50: #581C87;
90
- --asm-color-purple-100: #6B21A8;
91
- --asm-color-purple-200: #7E22CE;
92
- --asm-color-purple-300: #9333EA;
93
- --asm-color-purple-400: #A855F7;
94
- --asm-color-purple-500: #C084FC;
95
- --asm-color-purple-600: #D8B4FE;
96
- --asm-color-purple-700: #E9D5FF;
97
- --asm-color-purple-800: #F3E8FF;
98
- --asm-color-purple-900: #FAF5FF;
99
- --asm-color-purple-950: #FDFAFF;
100
-
101
- /* Neutral Color Scale */
102
- --asm-color-neutral-0: #030712;
103
- --asm-color-neutral-50: #111827;
104
- --asm-color-neutral-100: #1F2937;
105
- --asm-color-neutral-200: #374151;
106
- --asm-color-neutral-300: #4B5563;
107
- --asm-color-neutral-400: #6B7280;
108
- --asm-color-neutral-500: #9CA3AF;
109
- --asm-color-neutral-600: #D1D5DB;
110
- --asm-color-neutral-700: #E5E7EB;
111
- --asm-color-neutral-800: #F3F4F6;
112
- --asm-color-neutral-900: #F9FAFB;
113
- --asm-color-neutral-950: #FCFCFD;
114
-
115
- /* Secondary Color Scale */
116
- --asm-color-secondary-0: #042F2E;
117
- --asm-color-secondary-50: #134E4A;
118
- --asm-color-secondary-100: #115E59;
119
- --asm-color-secondary-200: #0F766E;
120
- --asm-color-secondary-300: #0D9488;
121
- --asm-color-secondary-400: #14B8A6;
122
- --asm-color-secondary-500: #2DD4BF;
123
- --asm-color-secondary-600: #5EEAD4;
124
- --asm-color-secondary-700: #99F6E4;
125
- --asm-color-secondary-800: #CCFBF1;
126
- --asm-color-secondary-900: #F0FDFA;
127
- --asm-color-secondary-950: #F7FEFD;
128
-
129
- --asm-color-semantic-success: #22C55E;
130
- --asm-color-semantic-warning: #FBBF24;
131
- --asm-color-semantic-error: #F87171;
132
- --asm-color-semantic-info: #38BDF8;
133
-
134
- --asm-color-button-primary-bg: #3A5AFE;
135
- --asm-color-button-primary-bg-hover: #304FFE;
136
- --asm-color-button-primary-bg-active: #304FFE;
137
- --asm-color-button-primary-text: #FFFFFF;
138
-
139
- --asm-color-button-secondary-bg: #111B2E;
140
- --asm-color-button-secondary-text: #E5E7EB;
141
-
142
- --asm-color-button-ghost-bg-hover: rgba(229, 231, 235, 0.08);
143
-
144
- --asm-color-button-destructive-bg: #F87171;
145
- --asm-color-button-destructive-text: #0B1220;
146
-
147
- --asm-color-button-disabled-bg: #1F2937;
148
- --asm-color-button-disabled-text: #9CA3AF;
149
-
150
- --asm-color-input-bg: #0B1220;
151
- --asm-color-input-text: #E5E7EB;
152
- --asm-color-input-border: #1F2937;
153
- --asm-color-input-border-hover: #374151;
154
- --asm-color-input-border-focus: #3A5AFE;
155
- --asm-color-input-placeholder: #9CA3AF;
156
- --asm-color-input-error-border: #F87171;
157
- --asm-color-input-success-border: #22C55E;
158
-
159
- --asm-color-focus-ring: #3A5AFE;
160
-
161
- --asm-color-overlay-scrim: rgba(17, 24, 39, 0.64);
162
- }
1
+ [data-theme="dark"] {
2
+ --asm-color-bg: #0B1220;
3
+ --asm-color-surface: #0F172A;
4
+ --asm-color-surface-muted: #111B2E;
5
+ --asm-color-panel: #0F172A;
6
+ --asm-color-modal: #0F172A;
7
+
8
+ --asm-color-text: #E5E7EB;
9
+ --asm-color-text-muted: #9CA3AF;
10
+ --asm-color-border: #1F2937;
11
+
12
+ /* Primary Color Scale */
13
+ --asm-color-primary-0: #0F172A;
14
+ --asm-color-primary-50: #1E293B;
15
+ --asm-color-primary-100: #1E3A8A;
16
+ --asm-color-primary-200: #1E40FF;
17
+ --asm-color-primary-300: #304FFE;
18
+ --asm-color-primary-400: #3A5AFE;
19
+ --asm-color-primary-500: #4F6BFF;
20
+ --asm-color-primary-600: #6B82FF;
21
+ --asm-color-primary-700: #818CF8;
22
+ --asm-color-primary-800: #A5B4FC;
23
+ --asm-color-primary-900: #C7D2FE;
24
+ --asm-color-primary-950: #E0E7FF;
25
+
26
+ --asm-color-brand-primary-50: #EEF2FF;
27
+ --asm-color-brand-primary-500: #3A5AFE;
28
+ --asm-color-brand-primary-600: #3A5AFE;
29
+ --asm-color-brand-primary-700: #304FFE;
30
+
31
+ /* Warning Color Scale */
32
+ --asm-color-warning-0: #451A03;
33
+ --asm-color-warning-50: #78350F;
34
+ --asm-color-warning-100: #92400E;
35
+ --asm-color-warning-200: #B45309;
36
+ --asm-color-warning-300: #D97706;
37
+ --asm-color-warning-400: #F59E0B;
38
+ --asm-color-warning-500: #FBBF24;
39
+ --asm-color-warning-600: #FCD34D;
40
+ --asm-color-warning-700: #FDE68A;
41
+ --asm-color-warning-800: #FEF3C7;
42
+ --asm-color-warning-900: #FFFBEB;
43
+ --asm-color-warning-950: #FFFEF5;
44
+
45
+ /* Danger Color Scale */
46
+ --asm-color-danger-0: #450A0A;
47
+ --asm-color-danger-50: #7F1D1D;
48
+ --asm-color-danger-100: #991B1B;
49
+ --asm-color-danger-200: #B91C1C;
50
+ --asm-color-danger-300: #DC2626;
51
+ --asm-color-danger-400: #EF4444;
52
+ --asm-color-danger-500: #F87171;
53
+ --asm-color-danger-600: #FCA5A5;
54
+ --asm-color-danger-700: #FECACA;
55
+ --asm-color-danger-800: #FEE2E2;
56
+ --asm-color-danger-900: #FEF2F2;
57
+ --asm-color-danger-950: #FEF9F9;
58
+
59
+ /* Info Color Scale */
60
+ --asm-color-info-0: #082F49;
61
+ --asm-color-info-50: #0C4A6E;
62
+ --asm-color-info-100: #075985;
63
+ --asm-color-info-200: #0369A1;
64
+ --asm-color-info-300: #0284C7;
65
+ --asm-color-info-400: #0EA5E9;
66
+ --asm-color-info-500: #38BDF8;
67
+ --asm-color-info-600: #7DD3FC;
68
+ --asm-color-info-700: #BAE6FD;
69
+ --asm-color-info-800: #E0F2FE;
70
+ --asm-color-info-900: #F0F9FF;
71
+ --asm-color-info-950: #F7FCFF;
72
+
73
+ /* Success Color Scale */
74
+ --asm-color-success-0: #052E16;
75
+ --asm-color-success-50: #14532D;
76
+ --asm-color-success-100: #166534;
77
+ --asm-color-success-200: #15803D;
78
+ --asm-color-success-300: #16A34A;
79
+ --asm-color-success-400: #22C55E;
80
+ --asm-color-success-500: #4ADE80;
81
+ --asm-color-success-600: #86EFAC;
82
+ --asm-color-success-700: #BBF7D0;
83
+ --asm-color-success-800: #DCFCE7;
84
+ --asm-color-success-900: #F0FDF4;
85
+ --asm-color-success-950: #F7FEF9;
86
+
87
+ /* Purple Color Scale */
88
+ --asm-color-purple-0: #3B0764;
89
+ --asm-color-purple-50: #581C87;
90
+ --asm-color-purple-100: #6B21A8;
91
+ --asm-color-purple-200: #7E22CE;
92
+ --asm-color-purple-300: #9333EA;
93
+ --asm-color-purple-400: #A855F7;
94
+ --asm-color-purple-500: #C084FC;
95
+ --asm-color-purple-600: #D8B4FE;
96
+ --asm-color-purple-700: #E9D5FF;
97
+ --asm-color-purple-800: #F3E8FF;
98
+ --asm-color-purple-900: #FAF5FF;
99
+ --asm-color-purple-950: #FDFAFF;
100
+
101
+ /* Neutral Color Scale */
102
+ --asm-color-neutral-0: #030712;
103
+ --asm-color-neutral-50: #111827;
104
+ --asm-color-neutral-100: #1F2937;
105
+ --asm-color-neutral-200: #374151;
106
+ --asm-color-neutral-300: #4B5563;
107
+ --asm-color-neutral-400: #6B7280;
108
+ --asm-color-neutral-500: #9CA3AF;
109
+ --asm-color-neutral-600: #D1D5DB;
110
+ --asm-color-neutral-700: #E5E7EB;
111
+ --asm-color-neutral-800: #F3F4F6;
112
+ --asm-color-neutral-900: #F9FAFB;
113
+ --asm-color-neutral-950: #FCFCFD;
114
+
115
+ /* Secondary Color Scale */
116
+ --asm-color-secondary-0: #042F2E;
117
+ --asm-color-secondary-50: #134E4A;
118
+ --asm-color-secondary-100: #115E59;
119
+ --asm-color-secondary-200: #0F766E;
120
+ --asm-color-secondary-300: #0D9488;
121
+ --asm-color-secondary-400: #14B8A6;
122
+ --asm-color-secondary-500: #2DD4BF;
123
+ --asm-color-secondary-600: #5EEAD4;
124
+ --asm-color-secondary-700: #99F6E4;
125
+ --asm-color-secondary-800: #CCFBF1;
126
+ --asm-color-secondary-900: #F0FDFA;
127
+ --asm-color-secondary-950: #F7FEFD;
128
+
129
+ --asm-color-semantic-success: #22C55E;
130
+ --asm-color-semantic-warning: #FBBF24;
131
+ --asm-color-semantic-error: #F87171;
132
+ --asm-color-semantic-info: #38BDF8;
133
+
134
+ --asm-color-button-primary-bg: #3A5AFE;
135
+ --asm-color-button-primary-bg-hover: #304FFE;
136
+ --asm-color-button-primary-bg-active: #304FFE;
137
+ --asm-color-button-primary-text: #FFFFFF;
138
+
139
+ --asm-color-button-secondary-bg: #111B2E;
140
+ --asm-color-button-secondary-text: #E5E7EB;
141
+
142
+ --asm-color-button-ghost-bg-hover: rgba(229, 231, 235, 0.08);
143
+
144
+ --asm-color-button-destructive-bg: #F87171;
145
+ --asm-color-button-destructive-text: #0B1220;
146
+
147
+ --asm-color-button-disabled-bg: #1F2937;
148
+ --asm-color-button-disabled-text: #9CA3AF;
149
+
150
+ --asm-color-input-bg: #0B1220;
151
+ --asm-color-input-text: #E5E7EB;
152
+ --asm-color-input-border: #1F2937;
153
+ --asm-color-input-border-hover: #374151;
154
+ --asm-color-input-border-focus: #3A5AFE;
155
+ --asm-color-input-placeholder: #9CA3AF;
156
+ --asm-color-input-error-border: #F87171;
157
+ --asm-color-input-success-border: #22C55E;
158
+
159
+ --asm-color-focus-ring: #3A5AFE;
160
+
161
+ --asm-color-overlay-scrim: rgba(17, 24, 39, 0.64);
162
+ }