@transcodes/design-tokens 0.4.1 → 0.4.3

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/build/index.js DELETED
@@ -1,467 +0,0 @@
1
- /**
2
- * Do not edit directly, this file was auto-generated.
3
- * Design tokens as JavaScript object for use in JS/TS environments
4
- */
5
-
6
- // CSS side-effect imports (auto-loaded when package is imported)
7
- import './tokens.css';
8
- import './tokens-dark.css';
9
-
10
- /**
11
- * All design tokens as a JavaScript object
12
- * Keys are camelCase versions of CSS variable names
13
- * @example
14
- * import { tokens } from '@transcodes/design-tokens';
15
- * console.log(tokens.accentPrimary); // '#6b4fd9'
16
- */
17
- export const tokens = {
18
- offsetSlideUpSm: "0.25rem",
19
- offsetSlideUpMd: "0.625rem",
20
- durationInstant: "150ms",
21
- durationFast: "300ms",
22
- durationSmooth: "400ms",
23
- durationSlow: "600ms",
24
- durationSlower: "800ms",
25
- easingEase: "ease",
26
- easingEaseInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
27
- easingBounce: "cubic-bezier(0.34, 1.56, 0.64, 1)",
28
- inkEffectRippleDuration: "600ms",
29
- inkEffectRippleEasing: "cubic-bezier(0.4, 0, 0.2, 1)",
30
- inkEffectSpreadScale: "2.5",
31
- inkEffectFadeDuration: "300ms",
32
- transitionFast: "150ms ease",
33
- transitionSmooth: "300ms cubic-bezier(0.4, 0, 0.2, 1)",
34
- transitionBounce: "400ms cubic-bezier(0.34, 1.56, 0.64, 1)",
35
- opacityDisabled: "0.6",
36
- opacityHover: "0.7",
37
- opacityLoading: "0.6",
38
- opacityHidden: "0",
39
- opacityVisible: "1",
40
- brandPrimary: "#7c5cff",
41
- brandPrimaryHover: "#6a4ae8",
42
- brandLogoText: "#1a1a1a",
43
- accentPrimary: "#6b4fd9",
44
- accentPrimaryHover: "#5a3fc8",
45
- accentPrimaryPressed: "#4a32b0",
46
- accentSuccess: "#357a46",
47
- accentSuccessHover: "#2d6a3c",
48
- accentSuccessPressed: "#255a32",
49
- accentWarning: "#d97706",
50
- accentWarningHover: "#b45309",
51
- accentWarningPressed: "#92400e",
52
- alphaPrimary04: "#7c5cff0a",
53
- alphaPrimary08: "#7c5cff14",
54
- alphaPrimary10: "#7c5cff1a",
55
- alphaPrimary12: "#7c5cff1f",
56
- alphaPrimary15: "#7c5cff26",
57
- alphaPrimary20: "#7c5cff33",
58
- alphaPrimary30: "#7c5cff4d",
59
- alphaPrimary40: "#7c5cff66",
60
- alphaPrimary50: "#7c5cff80",
61
- alphaSuccess10: "#3d8a501a",
62
- alphaSuccess15: "#3d8a5026",
63
- alphaSuccess20: "#3d8a5033",
64
- alphaSuccess30: "#3d8a504d",
65
- alphaWarning08: "#b4530914",
66
- alphaWarning15: "#b4530926",
67
- alphaWarning20: "#b4530933",
68
- alphaInfo08: "#0369a114",
69
- alphaInfo15: "#0369a126",
70
- alphaInfo20: "#0369a133",
71
- alphaInk04: "#1a1a1a0a",
72
- alphaInk06: "#1a1a1a0f",
73
- alphaInk10: "#1a1a1a1a",
74
- alphaWhite15: "#ffffff26",
75
- alphaWhite30: "#ffffff4d",
76
- alphaWhite90: "#ffffffe6",
77
- alphaBlack15: "#00000026",
78
- alphaBlack30: "#0000004d",
79
- alphaBlack90: "#000000e6",
80
- alphaOnAccent: "#fffffff2",
81
- alphaOnAccentMuted: "#ffffff99",
82
- errorBase: "#c0392b",
83
- errorBg: "#e74c3c14",
84
- errorBorder: "#e74c3c33",
85
- inkBlack: "#1a1a1a",
86
- inkDark: "#2d2d2d",
87
- inkMedium: "#5c5c5c",
88
- inkLight: "#8a8a8a",
89
- inkFaint: "#c4c4c4",
90
- overlayDim: "#00000080",
91
- overlayDark: "#000000b3",
92
- overlayShadowLight: "#0000001a",
93
- overlayShadowSubtle: "#00000026",
94
- overlayShadowMedium: "#00000033",
95
- overlayShadowStrong: "#0000004d",
96
- overlayShadowHeavy: "#00000066",
97
- overlayGlowWhite: "#ffffff26",
98
- overlaySpinnerTrack: "#ffffff4d",
99
- paperWhite: "#faf9fc",
100
- paperCream: "#f5f4f8",
101
- paperWarm: "#ebe9f0",
102
- semanticWarning: "#b45309",
103
- semanticWarningHover: "#92400e",
104
- semanticWarningBg: "#fff8e1",
105
- semanticWarningLight: "#fef3c7",
106
- semanticSuccessBg: "#d1fae5",
107
- semanticInfo: "#0369a1",
108
- semanticInfoHover: "#075985",
109
- semanticInfoBg: "#e0f2fe",
110
- buttonHeight: "3.25rem",
111
- buttonHeightSecondary: "3rem",
112
- buttonRadius: "0.625rem",
113
- buttonFontSize: "0.9375rem",
114
- buttonFontWeight: "500",
115
- buttonLetterSpacing: "0.02em",
116
- buttonDark: "#1a1a1a",
117
- buttonDarkHover: "#2a2a2a",
118
- buttonLight: "#f5f4f8",
119
- buttonLightHover: "#ebe9f0",
120
- buttonTextHeight: "2.5rem",
121
- buttonTextFontSize: "0.875rem",
122
- buttonTextPaddingSm: "clamp(0.25rem, 0.23rem + 0.11vw, 0.3125rem) clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
123
- buttonTextPaddingMd: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem) clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
124
- buttonContentGap: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
125
- buttonSpinnerSize: "1rem",
126
- buttonSpinnerBorderWidth: "2px",
127
- cardPadding: "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
128
- cardRadius: "clamp(0.75rem, 0.59rem + 0.78vw, 1rem)",
129
- containerMaxWidth: "25rem",
130
- containerMaxWidthWide: "26.25rem",
131
- feedbackErrorPadding: "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
132
- feedbackErrorRadius: "0.625rem",
133
- feedbackErrorGap: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
134
- feedbackErrorIconSize: "1rem",
135
- feedbackNoticePadding: "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
136
- feedbackNoticeRadius: "0.625rem",
137
- feedbackNoticeGap: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
138
- feedbackNoticeIconSize: "1.25rem",
139
- inputPaddingY: "0.875rem",
140
- inputPaddingX: "1rem",
141
- inputRadius: "0.625rem",
142
- inputFontSize: "1rem",
143
- labelFontSize: "0.75rem",
144
- labelFontWeight: "500",
145
- labelLetterSpacing: "0.08em",
146
- titleFontSize: "clamp(1.375rem, 1.27rem + 0.54vw, 1.75rem)",
147
- titleFontWeight: "600",
148
- titleLetterSpacing: "-0.02em",
149
- formHeaderMarginBottom: "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
150
- formSubtitleFontSize: "0.9375rem",
151
- formFieldsGap: "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
152
- formFooterMarginTop: "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
153
- fieldGroupGap: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
154
- modalMaxWidthSm: "320px",
155
- modalMaxWidthMd: "400px",
156
- modalMaxWidthLg: "600px",
157
- modalMaxWidthFluid: "clamp(280px, 85vw, 320px)",
158
- modalMinHeight: "400px",
159
- pageContainerMaxWidth: "25rem",
160
- pageContainerMaxWidthWide: "26.25rem",
161
- pageContainerPadding: "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
162
- pageCardPadding: "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
163
- pageCardRadius: "0.75rem",
164
- radiusSm: "0.5rem",
165
- radiusMd: "0.625rem",
166
- radiusLg: "0.75rem",
167
- radiusFull: "9999px",
168
- radiusCard: "clamp(0.75rem, 0.59rem + 0.78vw, 1rem)",
169
- shadowCard: "0 0.0625rem 0.1875rem rgba(26, 26, 26, 0.04), 0 0.375rem 1rem rgba(26, 26, 26, 0.06), 0 1.5rem 3rem rgba(26, 26, 26, 0.06)",
170
- shadowButtonHoverPrimary: "0 0.25rem 0.75rem rgba(124, 92, 255, 0.3), 0 0.125rem 0.25rem rgba(124, 92, 255, 0.2)",
171
- shadowButtonHoverSuccess: "0 0.25rem 0.75rem rgba(61, 138, 80, 0.3), 0 0.125rem 0.25rem rgba(61, 138, 80, 0.2)",
172
- shadowInputFocus: "0 0 0 0.1875rem rgba(124, 92, 255, 0.12), inset 0 0.0625rem 0.125rem rgba(26, 26, 26, 0.04)",
173
- shadowOverlay: "0 0.25rem 0.5rem rgba(0, 0, 0, 0.1)",
174
- shadowModal: "0 1.5rem 3rem rgba(0, 0, 0, 0.15)",
175
- shadowOtpCellFocus: "0 0 0 0.25rem rgba(124, 92, 255, 0.1)",
176
- shadowFocusRingWidth: "0.1875rem",
177
- breakpointSm: "640px",
178
- breakpointMd: "768px",
179
- breakpointLg: "1024px",
180
- breakpointXl: "1280px",
181
- zIndexDropdown: "1000",
182
- zIndexSticky: "1020",
183
- zIndexFixed: "1030",
184
- zIndexModalBackdrop: "1040",
185
- zIndexModal: "1050",
186
- zIndexPopover: "1060",
187
- zIndexTooltip: "1070",
188
- sizeIconXs: "0.75rem",
189
- sizeIconSm: "1rem",
190
- sizeIconMd: "1.5rem",
191
- sizeIconLg: "2rem",
192
- sizeIconXl: "2.5rem",
193
- sizeIcon2xl: "3rem",
194
- sizeIconAction: "1.25rem",
195
- sizeSpinnerSm: "1rem",
196
- sizeSpinnerMd: "2rem",
197
- sizeSpinnerLg: "4rem",
198
- sizeSpinnerXl: "5rem",
199
- sizeSpinnerButton: "1.125rem",
200
- sizeScreenIconSm: "4rem",
201
- sizeScreenIconMd: "5rem",
202
- sizeScreenIconFluid: "clamp(3rem, 2.43rem + 2.86vw, 5rem)",
203
- sizeDecorationBlob: "clamp(12rem, 9.43rem + 12.86vw, 22rem)",
204
- sizeProgressBarWidth: "12rem",
205
- sizeBorderWidthThin: "0.0625rem",
206
- sizeBorderWidthBase: "0.09375rem",
207
- sizeBorderWidthThick: "0.125rem",
208
- sizeBorderWidthHeavy: "0.1875rem",
209
- sizeBorderWidthBold: "0.25rem",
210
- sizeChipPaddingSm: "0.125rem 0.5rem",
211
- sizeChipPaddingMd: "0.25rem 0.75rem",
212
- sizeCloseButton: "2rem",
213
- spaceFixed2xs: "0.0625rem",
214
- spaceFixedXs: "0.125rem",
215
- spaceFixedSm: "0.25rem",
216
- spaceFixedMd: "0.5rem",
217
- spaceXs: "clamp(0.25rem, 0.23rem + 0.11vw, 0.3125rem)",
218
- spaceSm: "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
219
- spaceMd: "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
220
- spaceLg: "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
221
- spaceXl: "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
222
- space2xl: "clamp(2rem, 1.35rem + 3.26vw, 4.5rem)",
223
- spaceXsSm: "clamp(0.25rem, 0.14rem + 0.54vw, 0.625rem)",
224
- spaceSmMd: "clamp(0.5rem, 0.28rem + 1.09vw, 1.25rem)",
225
- spaceMdLg: "clamp(0.875rem, 0.42rem + 2.28vw, 2rem)",
226
- spaceLgXl: "clamp(1.25rem, 0.47rem + 3.91vw, 2.75rem)",
227
- fontBody: "\"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
228
- fontSizeXs: "clamp(0.6875rem, 0.66rem + 0.14vw, 0.8125rem)",
229
- fontSizeSm: "clamp(0.8125rem, 0.78rem + 0.16vw, 0.9375rem)",
230
- fontSizeBase: "clamp(0.875rem, 0.83rem + 0.22vw, 1rem)",
231
- fontSizeLg: "clamp(1rem, 0.93rem + 0.33vw, 1.25rem)",
232
- fontSizeXl: "clamp(1.25rem, 1.14rem + 0.54vw, 1.5rem)",
233
- fontSize2xl: "clamp(1.5rem, 1.35rem + 0.76vw, 1.875rem)",
234
- lineHeightTight: "1.25",
235
- lineHeightNormal: "1.5",
236
- lineHeightRelaxed: "1.75"
237
- };
238
-
239
- /**
240
- * CSS variable names mapped to their values
241
- * @example
242
- * import { cssVars } from '@transcodes/design-tokens';
243
- * console.log(cssVars['--accent-primary']); // '#6b4fd9'
244
- */
245
- export const cssVars = {
246
- '--offset-slide-up-sm': "0.25rem",
247
- '--offset-slide-up-md': "0.625rem",
248
- '--duration-instant': "150ms",
249
- '--duration-fast': "300ms",
250
- '--duration-smooth': "400ms",
251
- '--duration-slow': "600ms",
252
- '--duration-slower': "800ms",
253
- '--easing-ease': "ease",
254
- '--easing-ease-in-out': "cubic-bezier(0.4, 0, 0.2, 1)",
255
- '--easing-bounce': "cubic-bezier(0.34, 1.56, 0.64, 1)",
256
- '--ink-effect-ripple-duration': "600ms",
257
- '--ink-effect-ripple-easing': "cubic-bezier(0.4, 0, 0.2, 1)",
258
- '--ink-effect-spread-scale': "2.5",
259
- '--ink-effect-fade-duration': "300ms",
260
- '--transition-fast': "150ms ease",
261
- '--transition-smooth': "300ms cubic-bezier(0.4, 0, 0.2, 1)",
262
- '--transition-bounce': "400ms cubic-bezier(0.34, 1.56, 0.64, 1)",
263
- '--opacity-disabled': "0.6",
264
- '--opacity-hover': "0.7",
265
- '--opacity-loading': "0.6",
266
- '--opacity-hidden': "0",
267
- '--opacity-visible': "1",
268
- '--brand-primary': "#7c5cff",
269
- '--brand-primary-hover': "#6a4ae8",
270
- '--brand-logo-text': "#1a1a1a",
271
- '--accent-primary': "#6b4fd9",
272
- '--accent-primary-hover': "#5a3fc8",
273
- '--accent-primary-pressed': "#4a32b0",
274
- '--accent-success': "#357a46",
275
- '--accent-success-hover': "#2d6a3c",
276
- '--accent-success-pressed': "#255a32",
277
- '--accent-warning': "#d97706",
278
- '--accent-warning-hover': "#b45309",
279
- '--accent-warning-pressed': "#92400e",
280
- '--alpha-primary04': "#7c5cff0a",
281
- '--alpha-primary08': "#7c5cff14",
282
- '--alpha-primary10': "#7c5cff1a",
283
- '--alpha-primary12': "#7c5cff1f",
284
- '--alpha-primary15': "#7c5cff26",
285
- '--alpha-primary20': "#7c5cff33",
286
- '--alpha-primary30': "#7c5cff4d",
287
- '--alpha-primary40': "#7c5cff66",
288
- '--alpha-primary50': "#7c5cff80",
289
- '--alpha-success10': "#3d8a501a",
290
- '--alpha-success15': "#3d8a5026",
291
- '--alpha-success20': "#3d8a5033",
292
- '--alpha-success30': "#3d8a504d",
293
- '--alpha-warning08': "#b4530914",
294
- '--alpha-warning15': "#b4530926",
295
- '--alpha-warning20': "#b4530933",
296
- '--alpha-info08': "#0369a114",
297
- '--alpha-info15': "#0369a126",
298
- '--alpha-info20': "#0369a133",
299
- '--alpha-ink04': "#1a1a1a0a",
300
- '--alpha-ink06': "#1a1a1a0f",
301
- '--alpha-ink10': "#1a1a1a1a",
302
- '--alpha-white15': "#ffffff26",
303
- '--alpha-white30': "#ffffff4d",
304
- '--alpha-white90': "#ffffffe6",
305
- '--alpha-black15': "#00000026",
306
- '--alpha-black30': "#0000004d",
307
- '--alpha-black90': "#000000e6",
308
- '--alpha-on-accent': "#fffffff2",
309
- '--alpha-on-accent-muted': "#ffffff99",
310
- '--error-base': "#c0392b",
311
- '--error-bg': "#e74c3c14",
312
- '--error-border': "#e74c3c33",
313
- '--ink-black': "#1a1a1a",
314
- '--ink-dark': "#2d2d2d",
315
- '--ink-medium': "#5c5c5c",
316
- '--ink-light': "#8a8a8a",
317
- '--ink-faint': "#c4c4c4",
318
- '--overlay-dim': "#00000080",
319
- '--overlay-dark': "#000000b3",
320
- '--overlay-shadow-light': "#0000001a",
321
- '--overlay-shadow-subtle': "#00000026",
322
- '--overlay-shadow-medium': "#00000033",
323
- '--overlay-shadow-strong': "#0000004d",
324
- '--overlay-shadow-heavy': "#00000066",
325
- '--overlay-glow-white': "#ffffff26",
326
- '--overlay-spinner-track': "#ffffff4d",
327
- '--paper-white': "#faf9fc",
328
- '--paper-cream': "#f5f4f8",
329
- '--paper-warm': "#ebe9f0",
330
- '--semantic-warning': "#b45309",
331
- '--semantic-warning-hover': "#92400e",
332
- '--semantic-warning-bg': "#fff8e1",
333
- '--semantic-warning-light': "#fef3c7",
334
- '--semantic-success-bg': "#d1fae5",
335
- '--semantic-info': "#0369a1",
336
- '--semantic-info-hover': "#075985",
337
- '--semantic-info-bg': "#e0f2fe",
338
- '--button-height': "3.25rem",
339
- '--button-height-secondary': "3rem",
340
- '--button-radius': "0.625rem",
341
- '--button-font-size': "0.9375rem",
342
- '--button-font-weight': "500",
343
- '--button-letter-spacing': "0.02em",
344
- '--button-dark': "#1a1a1a",
345
- '--button-dark-hover': "#2a2a2a",
346
- '--button-light': "#f5f4f8",
347
- '--button-light-hover': "#ebe9f0",
348
- '--button-text-height': "2.5rem",
349
- '--button-text-font-size': "0.875rem",
350
- '--button-text-padding-sm': "clamp(0.25rem, 0.23rem + 0.11vw, 0.3125rem) clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
351
- '--button-text-padding-md': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem) clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
352
- '--button-content-gap': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
353
- '--button-spinner-size': "1rem",
354
- '--button-spinner-border-width': "2px",
355
- '--card-padding': "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
356
- '--card-radius': "clamp(0.75rem, 0.59rem + 0.78vw, 1rem)",
357
- '--container-max-width': "25rem",
358
- '--container-max-width-wide': "26.25rem",
359
- '--feedback-error-padding': "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
360
- '--feedback-error-radius': "0.625rem",
361
- '--feedback-error-gap': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
362
- '--feedback-error-icon-size': "1rem",
363
- '--feedback-notice-padding': "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
364
- '--feedback-notice-radius': "0.625rem",
365
- '--feedback-notice-gap': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
366
- '--feedback-notice-icon-size': "1.25rem",
367
- '--input-padding-y': "0.875rem",
368
- '--input-padding-x': "1rem",
369
- '--input-radius': "0.625rem",
370
- '--input-font-size': "1rem",
371
- '--label-font-size': "0.75rem",
372
- '--label-font-weight': "500",
373
- '--label-letter-spacing': "0.08em",
374
- '--title-font-size': "clamp(1.375rem, 1.27rem + 0.54vw, 1.75rem)",
375
- '--title-font-weight': "600",
376
- '--title-letter-spacing': "-0.02em",
377
- '--form-header-margin-bottom': "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
378
- '--form-subtitle-font-size': "0.9375rem",
379
- '--form-fields-gap': "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
380
- '--form-footer-margin-top': "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
381
- '--field-group-gap': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
382
- '--modal-max-width-sm': "320px",
383
- '--modal-max-width-md': "400px",
384
- '--modal-max-width-lg': "600px",
385
- '--modal-max-width-fluid': "clamp(280px, 85vw, 320px)",
386
- '--modal-min-height': "400px",
387
- '--page-container-max-width': "25rem",
388
- '--page-container-max-width-wide': "26.25rem",
389
- '--page-container-padding': "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
390
- '--page-card-padding': "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
391
- '--page-card-radius': "0.75rem",
392
- '--radius-sm': "0.5rem",
393
- '--radius-md': "0.625rem",
394
- '--radius-lg': "0.75rem",
395
- '--radius-full': "9999px",
396
- '--radius-card': "clamp(0.75rem, 0.59rem + 0.78vw, 1rem)",
397
- '--shadow-card': "0 0.0625rem 0.1875rem rgba(26, 26, 26, 0.04), 0 0.375rem 1rem rgba(26, 26, 26, 0.06), 0 1.5rem 3rem rgba(26, 26, 26, 0.06)",
398
- '--shadow-button-hover-primary': "0 0.25rem 0.75rem rgba(124, 92, 255, 0.3), 0 0.125rem 0.25rem rgba(124, 92, 255, 0.2)",
399
- '--shadow-button-hover-success': "0 0.25rem 0.75rem rgba(61, 138, 80, 0.3), 0 0.125rem 0.25rem rgba(61, 138, 80, 0.2)",
400
- '--shadow-input-focus': "0 0 0 0.1875rem rgba(124, 92, 255, 0.12), inset 0 0.0625rem 0.125rem rgba(26, 26, 26, 0.04)",
401
- '--shadow-overlay': "0 0.25rem 0.5rem rgba(0, 0, 0, 0.1)",
402
- '--shadow-modal': "0 1.5rem 3rem rgba(0, 0, 0, 0.15)",
403
- '--shadow-otp-cell-focus': "0 0 0 0.25rem rgba(124, 92, 255, 0.1)",
404
- '--shadow-focus-ring-width': "0.1875rem",
405
- '--breakpoint-sm': "640px",
406
- '--breakpoint-md': "768px",
407
- '--breakpoint-lg': "1024px",
408
- '--breakpoint-xl': "1280px",
409
- '--z-index-dropdown': "1000",
410
- '--z-index-sticky': "1020",
411
- '--z-index-fixed': "1030",
412
- '--z-index-modal-backdrop': "1040",
413
- '--z-index-modal': "1050",
414
- '--z-index-popover': "1060",
415
- '--z-index-tooltip': "1070",
416
- '--size-icon-xs': "0.75rem",
417
- '--size-icon-sm': "1rem",
418
- '--size-icon-md': "1.5rem",
419
- '--size-icon-lg': "2rem",
420
- '--size-icon-xl': "2.5rem",
421
- '--size-icon2xl': "3rem",
422
- '--size-icon-action': "1.25rem",
423
- '--size-spinner-sm': "1rem",
424
- '--size-spinner-md': "2rem",
425
- '--size-spinner-lg': "4rem",
426
- '--size-spinner-xl': "5rem",
427
- '--size-spinner-button': "1.125rem",
428
- '--size-screen-icon-sm': "4rem",
429
- '--size-screen-icon-md': "5rem",
430
- '--size-screen-icon-fluid': "clamp(3rem, 2.43rem + 2.86vw, 5rem)",
431
- '--size-decoration-blob': "clamp(12rem, 9.43rem + 12.86vw, 22rem)",
432
- '--size-progress-bar-width': "12rem",
433
- '--size-border-width-thin': "0.0625rem",
434
- '--size-border-width-base': "0.09375rem",
435
- '--size-border-width-thick': "0.125rem",
436
- '--size-border-width-heavy': "0.1875rem",
437
- '--size-border-width-bold': "0.25rem",
438
- '--size-chip-padding-sm': "0.125rem 0.5rem",
439
- '--size-chip-padding-md': "0.25rem 0.75rem",
440
- '--size-close-button': "2rem",
441
- '--space-fixed2xs': "0.0625rem",
442
- '--space-fixed-xs': "0.125rem",
443
- '--space-fixed-sm': "0.25rem",
444
- '--space-fixed-md': "0.5rem",
445
- '--space-xs': "clamp(0.25rem, 0.23rem + 0.11vw, 0.3125rem)",
446
- '--space-sm': "clamp(0.5rem, 0.46rem + 0.22vw, 0.625rem)",
447
- '--space-md': "clamp(0.875rem, 0.77rem + 0.54vw, 1.25rem)",
448
- '--space-lg': "clamp(1.25rem, 1.03rem + 1.09vw, 2rem)",
449
- '--space-xl': "clamp(1.5rem, 1.15rem + 1.74vw, 2.75rem)",
450
- '--space2xl': "clamp(2rem, 1.35rem + 3.26vw, 4.5rem)",
451
- '--space-xs-sm': "clamp(0.25rem, 0.14rem + 0.54vw, 0.625rem)",
452
- '--space-sm-md': "clamp(0.5rem, 0.28rem + 1.09vw, 1.25rem)",
453
- '--space-md-lg': "clamp(0.875rem, 0.42rem + 2.28vw, 2rem)",
454
- '--space-lg-xl': "clamp(1.25rem, 0.47rem + 3.91vw, 2.75rem)",
455
- '--font-body': "\"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
456
- '--font-size-xs': "clamp(0.6875rem, 0.66rem + 0.14vw, 0.8125rem)",
457
- '--font-size-sm': "clamp(0.8125rem, 0.78rem + 0.16vw, 0.9375rem)",
458
- '--font-size-base': "clamp(0.875rem, 0.83rem + 0.22vw, 1rem)",
459
- '--font-size-lg': "clamp(1rem, 0.93rem + 0.33vw, 1.25rem)",
460
- '--font-size-xl': "clamp(1.25rem, 1.14rem + 0.54vw, 1.5rem)",
461
- '--font-size2xl': "clamp(1.5rem, 1.35rem + 0.76vw, 1.875rem)",
462
- '--line-height-tight': "1.25",
463
- '--line-height-normal': "1.5",
464
- '--line-height-relaxed': "1.75"
465
- };
466
-
467
- export default tokens;
@@ -1 +0,0 @@
1
- [data-theme=dark]{--alpha-primary04:#a78bfa0a;--alpha-primary08:#a78bfa14;--alpha-primary10:#a78bfa1a;--alpha-primary12:#a78bfa1f;--alpha-primary15:#a78bfa26;--alpha-primary20:#a78bfa33;--alpha-primary30:#a78bfa4d;--alpha-primary40:#a78bfa66;--alpha-primary50:#a78bfa80;--alpha-success10:#4ade801a;--alpha-success15:#4ade8026;--alpha-success20:#4ade8033;--alpha-success30:#4ade804d;--alpha-warning08:#fbbf2414;--alpha-warning15:#fbbf2426;--alpha-warning20:#fbbf2433;--alpha-info08:#38bdf814;--alpha-info15:#38bdf826;--alpha-info20:#38bdf833;--alpha-ink04:#ffffff0a;--alpha-ink06:#ffffff0f;--alpha-ink10:#ffffff1a;--alpha-onAccent:#000000e6;--alpha-onAccentMuted:#0009;--brand-primary:#a78bfa;--brand-primary-hover:#c4b5fd;--brand-logo-text:#fff;--overlay-shadow-light:#0003;--overlay-shadow-subtle:#00000040;--overlay-shadow-medium:#00000059;--overlay-shadow-strong:#00000080;--overlay-shadow-heavy:#0009;--shadow-card:0 .0625rem .1875rem #0000001a,0 .375rem 1rem #00000026,0 1.5rem 3rem #0003;--shadow-button-hover-primary:0 .25rem .75rem #a78bfa66,0 .125rem .25rem #a78bfa4d;--shadow-button-hover-success:0 .25rem .75rem #4ade8066,0 .125rem .25rem #4ade804d;--shadow-input-focus:0 0 0 .1875rem #a78bfa33,inset 0 .0625rem .125rem #0000001a;--shadow-overlay:0 .25rem .5rem #0003;--shadow-modal:0 1.5rem 3rem #0000004d;--shadow-otp-cell-focus:0 0 0 .25rem #a78bfa33;--ink-black:#fff;--ink-dark:#e5e5e5;--ink-medium:#a3a3a3;--ink-light:#737373;--ink-faint:#525252;--paper-white:#1a1a1a;--paper-cream:#2d2d2d;--paper-warm:#404040;--accent-primary:#a78bfa;--accent-primary-hover:#c4b5fd;--accent-primary-pressed:#8b5cf6;--accent-success:#4ade80;--accent-success-hover:#86efac;--accent-success-pressed:#22c55e;--accent-warning:#fbbf24;--accent-warning-hover:#fcd34d;--accent-warning-pressed:#f59e0b;--semantic-warning:#fbbf24;--semantic-warning-hover:#fcd34d;--semantic-info:#38bdf8;--semantic-info-hover:#7dd3fc;--error-base:#f87171;--error-bg:#f871711f;--error-border:#f871714d}
package/build/tokens.css DELETED
@@ -1 +0,0 @@
1
- :root,[data-theme=light]{--offset-slide-up-sm:.25rem;--offset-slide-up-md:.625rem;--duration-instant:.15s;--duration-fast:.3s;--duration-smooth:.4s;--duration-slow:.6s;--duration-slower:.8s;--easing-ease:ease;--easing-ease-in-out:cubic-bezier(.4,0,.2,1);--easing-bounce:cubic-bezier(.34,1.56,.64,1);--ink-effect-ripple-duration:.6s;--ink-effect-ripple-easing:cubic-bezier(.4,0,.2,1);--ink-effect-spread-scale:2.5;--ink-effect-fade-duration:.3s;--transition-fast:.15s ease;--transition-smooth:.3s cubic-bezier(.4,0,.2,1);--transition-bounce:.4s cubic-bezier(.34,1.56,.64,1);--opacity-disabled:.6;--opacity-hover:.7;--opacity-loading:.6;--opacity-hidden:0;--opacity-visible:1;--brand-primary:#7c5cff;--brand-primary-hover:#6a4ae8;--brand-logo-text:#1a1a1a;--accent-primary:#6b4fd9;--accent-primary-hover:#5a3fc8;--accent-primary-pressed:#4a32b0;--accent-success:#357a46;--accent-success-hover:#2d6a3c;--accent-success-pressed:#255a32;--accent-warning:#d97706;--accent-warning-hover:#b45309;--accent-warning-pressed:#92400e;--alpha-primary04:#7c5cff0a;--alpha-primary08:#7c5cff14;--alpha-primary10:#7c5cff1a;--alpha-primary12:#7c5cff1f;--alpha-primary15:#7c5cff26;--alpha-primary20:#7c5cff33;--alpha-primary30:#7c5cff4d;--alpha-primary40:#7c5cff66;--alpha-primary50:#7c5cff80;--alpha-success10:#3d8a501a;--alpha-success15:#3d8a5026;--alpha-success20:#3d8a5033;--alpha-success30:#3d8a504d;--alpha-warning08:#b4530914;--alpha-warning15:#b4530926;--alpha-warning20:#b4530933;--alpha-info08:#0369a114;--alpha-info15:#0369a126;--alpha-info20:#0369a133;--alpha-ink04:#1a1a1a0a;--alpha-ink06:#1a1a1a0f;--alpha-ink10:#1a1a1a1a;--alpha-white15:#ffffff26;--alpha-white30:#ffffff4d;--alpha-white90:#ffffffe6;--alpha-black15:#00000026;--alpha-black30:#0000004d;--alpha-black90:#000000e6;--alpha-onAccent:#fffffff2;--alpha-onAccentMuted:#fff9;--error-base:#c0392b;--error-bg:#e74c3c14;--error-border:#e74c3c33;--ink-black:#1a1a1a;--ink-dark:#2d2d2d;--ink-medium:#5c5c5c;--ink-light:#8a8a8a;--ink-faint:#c4c4c4;--overlay-dim:#00000080;--overlay-dark:#000000b3;--overlay-shadow-light:#0000001a;--overlay-shadow-subtle:#00000026;--overlay-shadow-medium:#0003;--overlay-shadow-strong:#0000004d;--overlay-shadow-heavy:#0006;--overlay-glow-white:#ffffff26;--overlay-spinner-track:#ffffff4d;--paper-white:#faf9fc;--paper-cream:#f5f4f8;--paper-warm:#ebe9f0;--semantic-warning:#b45309;--semantic-warning-hover:#92400e;--semantic-warning-bg:#fff8e1;--semantic-warning-light:#fef3c7;--semantic-success-bg:#d1fae5;--semantic-info:#0369a1;--semantic-info-hover:#075985;--semantic-info-bg:#e0f2fe;--button-height:3.25rem;--button-height-secondary:3rem;--button-radius:.625rem;--button-font-size:.9375rem;--button-font-weight:500;--button-letter-spacing:.02em;--button-dark-hover:#2a2a2a;--button-text-height:2.5rem;--button-text-font-size:.875rem;--button-spinner-size:1rem;--button-spinner-border-width:2px;--container-max-width:25rem;--container-max-width-wide:26.25rem;--feedback-error-icon-size:1rem;--feedback-notice-icon-size:1.25rem;--input-padding-y:.875rem;--input-padding-x:1rem;--input-radius:.625rem;--input-font-size:1rem;--label-font-size:.75rem;--label-font-weight:500;--label-letter-spacing:.08em;--title-font-size:clamp(1.375rem,1.27rem + .54vw,1.75rem);--title-font-weight:600;--title-letter-spacing:-.02em;--form-subtitle-font-size:.9375rem;--modal-max-width-sm:320px;--modal-max-width-md:400px;--modal-max-width-lg:600px;--modal-max-width-fluid:clamp(280px,85vw,320px);--modal-min-height:400px;--page-container-max-width:25rem;--page-container-max-width-wide:26.25rem;--radius-sm:.5rem;--radius-md:.625rem;--radius-lg:.75rem;--radius-full:9999px;--radius-card:clamp(.75rem,.59rem + .78vw,1rem);--shadow-card:0 .0625rem .1875rem #1a1a1a0a,0 .375rem 1rem #1a1a1a0f,0 1.5rem 3rem #1a1a1a0f;--shadow-button-hover-primary:0 .25rem .75rem #7c5cff4d,0 .125rem .25rem #7c5cff33;--shadow-button-hover-success:0 .25rem .75rem #3d8a504d,0 .125rem .25rem #3d8a5033;--shadow-input-focus:0 0 0 .1875rem #7c5cff1f,inset 0 .0625rem .125rem #1a1a1a0a;--shadow-overlay:0 .25rem .5rem #0000001a;--shadow-modal:0 1.5rem 3rem #00000026;--shadow-otp-cell-focus:0 0 0 .25rem #7c5cff1a;--shadow-focus-ring-width:.1875rem;--breakpoint-sm:640px;--breakpoint-md:768px;--breakpoint-lg:1024px;--breakpoint-xl:1280px;--z-index-dropdown:1000;--z-index-sticky:1020;--z-index-fixed:1030;--z-index-modal-backdrop:1040;--z-index-modal:1050;--z-index-popover:1060;--z-index-tooltip:1070;--size-icon-xs:.75rem;--size-icon-sm:1rem;--size-icon-md:1.5rem;--size-icon-lg:2rem;--size-icon-xl:2.5rem;--size-icon-2xl:3rem;--size-icon-action:1.25rem;--size-spinner-sm:1rem;--size-spinner-md:2rem;--size-spinner-lg:4rem;--size-spinner-xl:5rem;--size-spinner-button:1.125rem;--size-screen-icon-sm:4rem;--size-screen-icon-md:5rem;--size-screen-icon-fluid:clamp(3rem,2.43rem + 2.86vw,5rem);--size-decoration-blob:clamp(12rem,9.43rem + 12.86vw,22rem);--size-progress-bar-width:12rem;--size-border-width-thin:.0625rem;--size-border-width-base:.09375rem;--size-border-width-thick:.125rem;--size-border-width-heavy:.1875rem;--size-border-width-bold:.25rem;--size-chip-padding-sm:.125rem .5rem;--size-chip-padding-md:.25rem .75rem;--size-close-button:2rem;--space-fixed-2xs:.0625rem;--space-fixed-xs:.125rem;--space-fixed-sm:.25rem;--space-fixed-md:.5rem;--space-xs:clamp(.25rem,.23rem + .11vw,.3125rem);--space-sm:clamp(.5rem,.46rem + .22vw,.625rem);--space-md:clamp(.875rem,.77rem + .54vw,1.25rem);--space-lg:clamp(1.25rem,1.03rem + 1.09vw,2rem);--space-xl:clamp(1.5rem,1.15rem + 1.74vw,2.75rem);--space-2xl:clamp(2rem,1.35rem + 3.26vw,4.5rem);--space-xs-sm:clamp(.25rem,.14rem + .54vw,.625rem);--space-sm-md:clamp(.5rem,.28rem + 1.09vw,1.25rem);--space-md-lg:clamp(.875rem,.42rem + 2.28vw,2rem);--space-lg-xl:clamp(1.25rem,.47rem + 3.91vw,2.75rem);--font-body:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-size-xs:clamp(.6875rem,.66rem + .14vw,.8125rem);--font-size-sm:clamp(.8125rem,.78rem + .16vw,.9375rem);--font-size-base:clamp(.875rem,.83rem + .22vw,1rem);--font-size-lg:clamp(1rem,.93rem + .33vw,1.25rem);--font-size-xl:clamp(1.25rem,1.14rem + .54vw,1.5rem);--font-size-2xl:clamp(1.5rem,1.35rem + .76vw,1.875rem);--line-height-tight:1.25;--line-height-normal:1.5;--line-height-relaxed:1.75;--button-dark:var(--ink-black);--button-light:var(--paper-cream);--button-light-hover:var(--paper-warm);--button-text-padding-sm:var(--space-xs)var(--space-sm);--button-text-padding-md:var(--space-sm)var(--space-md);--button-content-gap:var(--space-sm);--card-padding:var(--space-lg);--card-radius:var(--radius-card);--feedback-error-padding:var(--space-md);--feedback-error-radius:var(--radius-md);--feedback-error-gap:var(--space-sm);--feedback-notice-padding:var(--space-md);--feedback-notice-radius:var(--radius-md);--feedback-notice-gap:var(--space-sm);--form-header-margin-bottom:var(--space-xl);--form-fields-gap:var(--space-lg);--form-footer-margin-top:var(--space-lg);--field-group-gap:var(--space-sm);--page-container-padding:var(--space-lg);--page-card-padding:var(--space-xl);--page-card-radius:var(--radius-lg)}