@tac-ui/tokens 1.0.2 → 1.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.
- package/dist/{chunk-7I7QJ2NP.mjs → chunk-I2PXRTYK.mjs} +54 -51
- package/dist/index.d.mts +75 -48
- package/dist/index.d.ts +75 -48
- package/dist/index.js +54 -51
- package/dist/index.mjs +1 -1
- package/dist/{motion-DrXQxG6N.d.mts → motion-BRcQTpE0.d.mts} +24 -7
- package/dist/{motion-DrXQxG6N.d.ts → motion-BRcQTpE0.d.ts} +24 -7
- package/dist/native/index.d.mts +1 -1
- package/dist/native/index.d.ts +1 -1
- package/dist/native/index.js +48 -51
- package/dist/native/index.mjs +2 -2
- package/dist/web/css-variables.js +63 -50
- package/dist/web/css-variables.mjs +24 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -107,17 +107,17 @@ var semanticTokens = {
|
|
|
107
107
|
glassBorder: "rgba(24, 24, 27, 0.04)",
|
|
108
108
|
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.6)",
|
|
109
109
|
glassPanelShadow: "0 12px 40px rgba(24, 24, 27, 0.04), 0 1px 3px rgba(24, 24, 27, 0.02)",
|
|
110
|
-
accentGlow: "
|
|
110
|
+
accentGlow: "0 0 20px rgba(88, 86, 214, 0.08)",
|
|
111
111
|
// ── Gradients ──
|
|
112
|
-
gradientBrand: "
|
|
113
|
-
gradientBrandHover: "
|
|
114
|
-
gradientSubtle: "
|
|
115
|
-
gradientAccent: "
|
|
116
|
-
gradientAccentVivid: "
|
|
117
|
-
gradientGlow: "
|
|
118
|
-
gradientMesh: "
|
|
119
|
-
gradientSurface: "
|
|
120
|
-
gradientGlowShadow: "
|
|
112
|
+
gradientBrand: "linear-gradient(135deg, #5856D6 0%, #7A78F0 100%)",
|
|
113
|
+
gradientBrandHover: "linear-gradient(135deg, #4B49B8 0%, #5856D6 100%)",
|
|
114
|
+
gradientSubtle: "linear-gradient(180deg, rgba(88, 86, 214, 0.03) 0%, transparent 100%)",
|
|
115
|
+
gradientAccent: "linear-gradient(135deg, #5856D6 0%, #8B5CF6 100%)",
|
|
116
|
+
gradientAccentVivid: "linear-gradient(135deg, #5856D6 0%, #A855F7 50%, #EC4899 100%)",
|
|
117
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(88, 86, 214, 0.06) 0%, transparent 70%)",
|
|
118
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(88, 86, 214, 0.04) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%)",
|
|
119
|
+
gradientSurface: "linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%)",
|
|
120
|
+
gradientGlowShadow: "0 8px 32px rgba(88, 86, 214, 0.08)",
|
|
121
121
|
// ── Shadow ──
|
|
122
122
|
shadowColor: "rgba(24, 24, 27, 0.05)",
|
|
123
123
|
// ── Status ──
|
|
@@ -217,20 +217,20 @@ var semanticTokens = {
|
|
|
217
217
|
gray900: "#FAFAFA",
|
|
218
218
|
// ── Glass & Effects ──
|
|
219
219
|
glassBg: "rgba(9, 9, 11, 0.85)",
|
|
220
|
-
glassBorder: "rgba(
|
|
221
|
-
glassInset: "inset 0 1px 0 rgba(
|
|
222
|
-
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.
|
|
223
|
-
accentGlow: "
|
|
220
|
+
glassBorder: "rgba(255, 255, 255, 0.08)",
|
|
221
|
+
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
222
|
+
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.06)",
|
|
223
|
+
accentGlow: "0 0 24px rgba(94, 92, 230, 0.15)",
|
|
224
224
|
// ── Gradients ──
|
|
225
|
-
gradientBrand: "
|
|
226
|
-
gradientBrandHover: "
|
|
227
|
-
gradientSubtle: "
|
|
228
|
-
gradientAccent: "
|
|
229
|
-
gradientAccentVivid: "
|
|
230
|
-
gradientGlow: "
|
|
231
|
-
gradientMesh: "
|
|
232
|
-
gradientSurface: "
|
|
233
|
-
gradientGlowShadow: "
|
|
225
|
+
gradientBrand: "linear-gradient(135deg, #5E5CE6 0%, #8B7AF0 100%)",
|
|
226
|
+
gradientBrandHover: "linear-gradient(135deg, #4E4CD4 0%, #5E5CE6 100%)",
|
|
227
|
+
gradientSubtle: "linear-gradient(180deg, rgba(94, 92, 230, 0.06) 0%, transparent 100%)",
|
|
228
|
+
gradientAccent: "linear-gradient(135deg, #5E5CE6 0%, #9B8AFF 100%)",
|
|
229
|
+
gradientAccentVivid: "linear-gradient(135deg, #5E5CE6 0%, #B07AF0 50%, #F472B6 100%)",
|
|
230
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(94, 92, 230, 0.12) 0%, transparent 70%)",
|
|
231
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(94, 92, 230, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(155, 138, 255, 0.06) 0%, transparent 50%)",
|
|
232
|
+
gradientSurface: "linear-gradient(180deg, #18181B 0%, #09090B 100%)",
|
|
233
|
+
gradientGlowShadow: "0 8px 32px rgba(94, 92, 230, 0.12)",
|
|
234
234
|
// ── Shadow ──
|
|
235
235
|
shadowColor: "rgba(0, 0, 0, 0.9)",
|
|
236
236
|
// ── Status ──
|
|
@@ -272,15 +272,15 @@ var semanticTokens = {
|
|
|
272
272
|
btnPointEnergy: "0 4px 16px rgba(94, 92, 230, 0.3)",
|
|
273
273
|
btnDestructiveSurface: "#EF4444",
|
|
274
274
|
btnDestructiveHover: "#F87171",
|
|
275
|
-
inputBg: "
|
|
276
|
-
inputBorderRest: "
|
|
277
|
-
inputBorderHover: "
|
|
275
|
+
inputBg: "rgba(255, 255, 255, 0.04)",
|
|
276
|
+
inputBorderRest: "rgba(255, 255, 255, 0.1)",
|
|
277
|
+
inputBorderHover: "rgba(255, 255, 255, 0.16)",
|
|
278
278
|
inputHoverGlow: "0 0 0 2px rgba(255, 255, 255, 0.04)",
|
|
279
279
|
inputFocusGlow: "0 0 0 2px rgba(250, 250, 250, 0.15)",
|
|
280
280
|
inputErrorGlow: "0 0 0 2px rgba(248, 113, 113, 0.3)",
|
|
281
|
-
dropdownBg: "
|
|
282
|
-
dropdownShadow: "0 20px
|
|
283
|
-
dropdownItemHover: "
|
|
281
|
+
dropdownBg: "rgba(24, 24, 27, 0.95)",
|
|
282
|
+
dropdownShadow: "0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 8px 16px -4px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.08)",
|
|
283
|
+
dropdownItemHover: "rgba(255, 255, 255, 0.06)",
|
|
284
284
|
cardAccentBorder: "#3F3F46",
|
|
285
285
|
cardAccentGlow: "none",
|
|
286
286
|
cardAccentHoverBorder: "#52525B",
|
|
@@ -296,13 +296,9 @@ var component = {
|
|
|
296
296
|
lg: { height: 50, paddingX: 28, paddingY: 14, fontSize: 17, borderRadius: 14, iconSize: 20 }
|
|
297
297
|
},
|
|
298
298
|
input: {
|
|
299
|
-
height:
|
|
300
|
-
paddingX: 16,
|
|
301
|
-
|
|
302
|
-
fontSize: 15,
|
|
303
|
-
borderRadius: 12,
|
|
304
|
-
iconSize: 18,
|
|
305
|
-
iconPadding: 42
|
|
299
|
+
sm: { height: 32, paddingX: 12, fontSize: 13, borderRadius: 8, iconSize: 16, iconPadding: 34 },
|
|
300
|
+
md: { height: 44, paddingX: 16, fontSize: 16, borderRadius: 12, iconSize: 18, iconPadding: 42 },
|
|
301
|
+
lg: { height: 50, paddingX: 20, fontSize: 17, borderRadius: 14, iconSize: 20, iconPadding: 46 }
|
|
306
302
|
},
|
|
307
303
|
card: {
|
|
308
304
|
padding: 24,
|
|
@@ -436,27 +432,34 @@ var typography = {
|
|
|
436
432
|
fontFamily: {
|
|
437
433
|
primary: "Pretendard",
|
|
438
434
|
secondary: "Pretendard",
|
|
439
|
-
display: "Pretendard"
|
|
435
|
+
display: "Pretendard",
|
|
436
|
+
mono: "SF Mono"
|
|
440
437
|
},
|
|
441
438
|
display: {
|
|
442
|
-
lg: { size: 56, weight: 700, lineHeight: 1.
|
|
443
|
-
md: { size: 48, weight: 700, lineHeight: 1.
|
|
444
|
-
sm: { size: 40, weight: 600, lineHeight: 1.
|
|
439
|
+
lg: { size: 56, weight: 700, lineHeight: 1.08, letterSpacing: -0.035 },
|
|
440
|
+
md: { size: 48, weight: 700, lineHeight: 1.08, letterSpacing: -0.03 },
|
|
441
|
+
sm: { size: 40, weight: 600, lineHeight: 1.1, letterSpacing: -0.025 }
|
|
445
442
|
},
|
|
446
443
|
heading: {
|
|
447
|
-
h1: { size: 34, weight: 700, lineHeight: 1.
|
|
448
|
-
h2: { size: 28, weight: 600, lineHeight: 1.
|
|
444
|
+
h1: { size: 34, weight: 700, lineHeight: 1.15, letterSpacing: -0.025 },
|
|
445
|
+
h2: { size: 28, weight: 600, lineHeight: 1.2, letterSpacing: -0.02 },
|
|
449
446
|
h3: { size: 22, weight: 600, lineHeight: 1.25, letterSpacing: -0.015 },
|
|
450
447
|
h4: { size: 20, weight: 600, lineHeight: 1.3, letterSpacing: -0.01 },
|
|
451
448
|
h5: { size: 17, weight: 600, lineHeight: 1.35, letterSpacing: -5e-3 },
|
|
452
449
|
h6: { size: 15, weight: 600, lineHeight: 1.4, letterSpacing: 0 }
|
|
453
450
|
},
|
|
454
451
|
body: {
|
|
455
|
-
lg: { size: 17, weight: 400, lineHeight: 1.
|
|
456
|
-
md: { size: 15, weight: 400, lineHeight: 1.
|
|
457
|
-
sm: { size: 13, weight: 400, lineHeight: 1.
|
|
452
|
+
lg: { size: 17, weight: 400, lineHeight: 1.5, letterSpacing: -0.01 },
|
|
453
|
+
md: { size: 15, weight: 400, lineHeight: 1.5, letterSpacing: -5e-3 },
|
|
454
|
+
sm: { size: 13, weight: 400, lineHeight: 1.45, letterSpacing: 0 }
|
|
455
|
+
},
|
|
456
|
+
label: {
|
|
457
|
+
lg: { size: 15, weight: 500, lineHeight: 1.4, letterSpacing: -5e-3 },
|
|
458
|
+
md: { size: 13, weight: 500, lineHeight: 1.4, letterSpacing: 0 },
|
|
459
|
+
sm: { size: 12, weight: 500, lineHeight: 1.4, letterSpacing: 5e-3 }
|
|
458
460
|
},
|
|
459
461
|
caption: { size: 12, weight: 400, lineHeight: 1.4, letterSpacing: 0.01 },
|
|
462
|
+
overline: { size: 11, weight: 600, lineHeight: 1.4, letterSpacing: 0.06 },
|
|
460
463
|
fontWeight: {
|
|
461
464
|
light: "300",
|
|
462
465
|
regular: "400",
|
|
@@ -521,12 +524,12 @@ var elevation = {
|
|
|
521
524
|
glassLg: "0 12px 48px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04)"
|
|
522
525
|
},
|
|
523
526
|
dark: {
|
|
524
|
-
sm: "0 1px 2px rgba(0,0,0,0.
|
|
525
|
-
m: "0
|
|
526
|
-
lg: "0
|
|
527
|
-
xl: "0
|
|
528
|
-
glass: "0
|
|
529
|
-
glassLg: "0
|
|
527
|
+
sm: "0 1px 2px rgba(0,0,0,0.24), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
528
|
+
m: "0 2px 8px rgba(0,0,0,0.24), 0 4px 12px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
529
|
+
lg: "0 4px 12px rgba(0,0,0,0.24), 0 8px 24px rgba(0,0,0,0.20), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
530
|
+
xl: "0 8px 24px rgba(0,0,0,0.28), 0 16px 40px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
531
|
+
glass: "0 4px 16px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.06), inset 0 0.5px 0 rgba(255,255,255,0.04)",
|
|
532
|
+
glassLg: "0 8px 32px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.08), inset 0 0.5px 0 rgba(255,255,255,0.06)"
|
|
530
533
|
}
|
|
531
534
|
};
|
|
532
535
|
var elevationLight = elevation.light;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ms, px, rem, unitless } from './chunk-GLCF64BD.mjs';
|
|
2
|
-
export { breakpoints, chart, component, containers, elevation, elevationLight, grid, motion, radius, semanticTokens, spacing, springConfigs, tacSpring, typography, zIndex } from './chunk-
|
|
2
|
+
export { breakpoints, chart, component, containers, elevation, elevationLight, grid, motion, radius, semanticTokens, spacing, springConfigs, tacSpring, typography, zIndex } from './chunk-I2PXRTYK.mjs';
|
|
3
3
|
|
|
4
4
|
// src/primitive.ts
|
|
5
5
|
var primitiveColors = {
|
|
@@ -30,13 +30,30 @@ declare const component: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
readonly input: {
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
readonly sm: {
|
|
34
|
+
readonly height: 32;
|
|
35
|
+
readonly paddingX: 12;
|
|
36
|
+
readonly fontSize: 13;
|
|
37
|
+
readonly borderRadius: 8;
|
|
38
|
+
readonly iconSize: 16;
|
|
39
|
+
readonly iconPadding: 34;
|
|
40
|
+
};
|
|
41
|
+
readonly md: {
|
|
42
|
+
readonly height: 44;
|
|
43
|
+
readonly paddingX: 16;
|
|
44
|
+
readonly fontSize: 16;
|
|
45
|
+
readonly borderRadius: 12;
|
|
46
|
+
readonly iconSize: 18;
|
|
47
|
+
readonly iconPadding: 42;
|
|
48
|
+
};
|
|
49
|
+
readonly lg: {
|
|
50
|
+
readonly height: 50;
|
|
51
|
+
readonly paddingX: 20;
|
|
52
|
+
readonly fontSize: 17;
|
|
53
|
+
readonly borderRadius: 14;
|
|
54
|
+
readonly iconSize: 20;
|
|
55
|
+
readonly iconPadding: 46;
|
|
56
|
+
};
|
|
40
57
|
};
|
|
41
58
|
readonly card: {
|
|
42
59
|
readonly padding: 24;
|
|
@@ -30,13 +30,30 @@ declare const component: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
readonly input: {
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
readonly sm: {
|
|
34
|
+
readonly height: 32;
|
|
35
|
+
readonly paddingX: 12;
|
|
36
|
+
readonly fontSize: 13;
|
|
37
|
+
readonly borderRadius: 8;
|
|
38
|
+
readonly iconSize: 16;
|
|
39
|
+
readonly iconPadding: 34;
|
|
40
|
+
};
|
|
41
|
+
readonly md: {
|
|
42
|
+
readonly height: 44;
|
|
43
|
+
readonly paddingX: 16;
|
|
44
|
+
readonly fontSize: 16;
|
|
45
|
+
readonly borderRadius: 12;
|
|
46
|
+
readonly iconSize: 18;
|
|
47
|
+
readonly iconPadding: 42;
|
|
48
|
+
};
|
|
49
|
+
readonly lg: {
|
|
50
|
+
readonly height: 50;
|
|
51
|
+
readonly paddingX: 20;
|
|
52
|
+
readonly fontSize: 17;
|
|
53
|
+
readonly borderRadius: 14;
|
|
54
|
+
readonly iconSize: 20;
|
|
55
|
+
readonly iconPadding: 46;
|
|
56
|
+
};
|
|
40
57
|
};
|
|
41
58
|
readonly card: {
|
|
42
59
|
readonly padding: 24;
|
package/dist/native/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeMode, TacTheme } from '@tac-ui/shared';
|
|
2
|
-
export { c as componentTokens, m as motionTokens, s as springConfigs, t as tacSpring } from '../motion-
|
|
2
|
+
export { c as componentTokens, m as motionTokens, s as springConfigs, t as tacSpring } from '../motion-BRcQTpE0.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Native shadow objects for React Native (shadow style + elevation).
|
package/dist/native/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeMode, TacTheme } from '@tac-ui/shared';
|
|
2
|
-
export { c as componentTokens, m as motionTokens, s as springConfigs, t as tacSpring } from '../motion-
|
|
2
|
+
export { c as componentTokens, m as motionTokens, s as springConfigs, t as tacSpring } from '../motion-BRcQTpE0.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Native shadow objects for React Native (shadow style + elevation).
|
package/dist/native/index.js
CHANGED
|
@@ -49,17 +49,17 @@ var semanticTokens = {
|
|
|
49
49
|
glassBorder: "rgba(24, 24, 27, 0.04)",
|
|
50
50
|
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.6)",
|
|
51
51
|
glassPanelShadow: "0 12px 40px rgba(24, 24, 27, 0.04), 0 1px 3px rgba(24, 24, 27, 0.02)",
|
|
52
|
-
accentGlow: "
|
|
52
|
+
accentGlow: "0 0 20px rgba(88, 86, 214, 0.08)",
|
|
53
53
|
// ── Gradients ──
|
|
54
|
-
gradientBrand: "
|
|
55
|
-
gradientBrandHover: "
|
|
56
|
-
gradientSubtle: "
|
|
57
|
-
gradientAccent: "
|
|
58
|
-
gradientAccentVivid: "
|
|
59
|
-
gradientGlow: "
|
|
60
|
-
gradientMesh: "
|
|
61
|
-
gradientSurface: "
|
|
62
|
-
gradientGlowShadow: "
|
|
54
|
+
gradientBrand: "linear-gradient(135deg, #5856D6 0%, #7A78F0 100%)",
|
|
55
|
+
gradientBrandHover: "linear-gradient(135deg, #4B49B8 0%, #5856D6 100%)",
|
|
56
|
+
gradientSubtle: "linear-gradient(180deg, rgba(88, 86, 214, 0.03) 0%, transparent 100%)",
|
|
57
|
+
gradientAccent: "linear-gradient(135deg, #5856D6 0%, #8B5CF6 100%)",
|
|
58
|
+
gradientAccentVivid: "linear-gradient(135deg, #5856D6 0%, #A855F7 50%, #EC4899 100%)",
|
|
59
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(88, 86, 214, 0.06) 0%, transparent 70%)",
|
|
60
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(88, 86, 214, 0.04) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%)",
|
|
61
|
+
gradientSurface: "linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%)",
|
|
62
|
+
gradientGlowShadow: "0 8px 32px rgba(88, 86, 214, 0.08)",
|
|
63
63
|
// ── Shadow ──
|
|
64
64
|
shadowColor: "rgba(24, 24, 27, 0.05)",
|
|
65
65
|
// ── Status ──
|
|
@@ -159,20 +159,20 @@ var semanticTokens = {
|
|
|
159
159
|
gray900: "#FAFAFA",
|
|
160
160
|
// ── Glass & Effects ──
|
|
161
161
|
glassBg: "rgba(9, 9, 11, 0.85)",
|
|
162
|
-
glassBorder: "rgba(
|
|
163
|
-
glassInset: "inset 0 1px 0 rgba(
|
|
164
|
-
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.
|
|
165
|
-
accentGlow: "
|
|
162
|
+
glassBorder: "rgba(255, 255, 255, 0.08)",
|
|
163
|
+
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
164
|
+
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.06)",
|
|
165
|
+
accentGlow: "0 0 24px rgba(94, 92, 230, 0.15)",
|
|
166
166
|
// ── Gradients ──
|
|
167
|
-
gradientBrand: "
|
|
168
|
-
gradientBrandHover: "
|
|
169
|
-
gradientSubtle: "
|
|
170
|
-
gradientAccent: "
|
|
171
|
-
gradientAccentVivid: "
|
|
172
|
-
gradientGlow: "
|
|
173
|
-
gradientMesh: "
|
|
174
|
-
gradientSurface: "
|
|
175
|
-
gradientGlowShadow: "
|
|
167
|
+
gradientBrand: "linear-gradient(135deg, #5E5CE6 0%, #8B7AF0 100%)",
|
|
168
|
+
gradientBrandHover: "linear-gradient(135deg, #4E4CD4 0%, #5E5CE6 100%)",
|
|
169
|
+
gradientSubtle: "linear-gradient(180deg, rgba(94, 92, 230, 0.06) 0%, transparent 100%)",
|
|
170
|
+
gradientAccent: "linear-gradient(135deg, #5E5CE6 0%, #9B8AFF 100%)",
|
|
171
|
+
gradientAccentVivid: "linear-gradient(135deg, #5E5CE6 0%, #B07AF0 50%, #F472B6 100%)",
|
|
172
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(94, 92, 230, 0.12) 0%, transparent 70%)",
|
|
173
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(94, 92, 230, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(155, 138, 255, 0.06) 0%, transparent 50%)",
|
|
174
|
+
gradientSurface: "linear-gradient(180deg, #18181B 0%, #09090B 100%)",
|
|
175
|
+
gradientGlowShadow: "0 8px 32px rgba(94, 92, 230, 0.12)",
|
|
176
176
|
// ── Shadow ──
|
|
177
177
|
shadowColor: "rgba(0, 0, 0, 0.9)",
|
|
178
178
|
// ── Status ──
|
|
@@ -214,15 +214,15 @@ var semanticTokens = {
|
|
|
214
214
|
btnPointEnergy: "0 4px 16px rgba(94, 92, 230, 0.3)",
|
|
215
215
|
btnDestructiveSurface: "#EF4444",
|
|
216
216
|
btnDestructiveHover: "#F87171",
|
|
217
|
-
inputBg: "
|
|
218
|
-
inputBorderRest: "
|
|
219
|
-
inputBorderHover: "
|
|
217
|
+
inputBg: "rgba(255, 255, 255, 0.04)",
|
|
218
|
+
inputBorderRest: "rgba(255, 255, 255, 0.1)",
|
|
219
|
+
inputBorderHover: "rgba(255, 255, 255, 0.16)",
|
|
220
220
|
inputHoverGlow: "0 0 0 2px rgba(255, 255, 255, 0.04)",
|
|
221
221
|
inputFocusGlow: "0 0 0 2px rgba(250, 250, 250, 0.15)",
|
|
222
222
|
inputErrorGlow: "0 0 0 2px rgba(248, 113, 113, 0.3)",
|
|
223
|
-
dropdownBg: "
|
|
224
|
-
dropdownShadow: "0 20px
|
|
225
|
-
dropdownItemHover: "
|
|
223
|
+
dropdownBg: "rgba(24, 24, 27, 0.95)",
|
|
224
|
+
dropdownShadow: "0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 8px 16px -4px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.08)",
|
|
225
|
+
dropdownItemHover: "rgba(255, 255, 255, 0.06)",
|
|
226
226
|
cardAccentBorder: "#3F3F46",
|
|
227
227
|
cardAccentGlow: "none",
|
|
228
228
|
cardAccentHoverBorder: "#52525B",
|
|
@@ -235,25 +235,26 @@ var typography = {
|
|
|
235
235
|
fontFamily: {
|
|
236
236
|
primary: "Pretendard",
|
|
237
237
|
secondary: "Pretendard",
|
|
238
|
-
display: "Pretendard"
|
|
238
|
+
display: "Pretendard",
|
|
239
|
+
mono: "SF Mono"
|
|
239
240
|
},
|
|
240
241
|
display: {
|
|
241
|
-
lg: { size: 56, weight: 700, lineHeight: 1.
|
|
242
|
-
md: { size: 48, weight: 700, lineHeight: 1.
|
|
243
|
-
sm: { size: 40, weight: 600, lineHeight: 1.
|
|
242
|
+
lg: { size: 56, weight: 700, lineHeight: 1.08, letterSpacing: -0.035 },
|
|
243
|
+
md: { size: 48, weight: 700, lineHeight: 1.08, letterSpacing: -0.03 },
|
|
244
|
+
sm: { size: 40, weight: 600, lineHeight: 1.1, letterSpacing: -0.025 }
|
|
244
245
|
},
|
|
245
246
|
heading: {
|
|
246
|
-
h1: { size: 34, weight: 700, lineHeight: 1.
|
|
247
|
-
h2: { size: 28, weight: 600, lineHeight: 1.
|
|
247
|
+
h1: { size: 34, weight: 700, lineHeight: 1.15, letterSpacing: -0.025 },
|
|
248
|
+
h2: { size: 28, weight: 600, lineHeight: 1.2, letterSpacing: -0.02 },
|
|
248
249
|
h3: { size: 22, weight: 600, lineHeight: 1.25, letterSpacing: -0.015 },
|
|
249
250
|
h4: { size: 20, weight: 600, lineHeight: 1.3, letterSpacing: -0.01 },
|
|
250
251
|
h5: { size: 17, weight: 600, lineHeight: 1.35, letterSpacing: -5e-3 },
|
|
251
252
|
h6: { size: 15, weight: 600, lineHeight: 1.4, letterSpacing: 0 }
|
|
252
253
|
},
|
|
253
254
|
body: {
|
|
254
|
-
lg: { size: 17, weight: 400, lineHeight: 1.
|
|
255
|
-
md: { size: 15, weight: 400, lineHeight: 1.
|
|
256
|
-
sm: { size: 13, weight: 400, lineHeight: 1.
|
|
255
|
+
lg: { size: 17, weight: 400, lineHeight: 1.5, letterSpacing: -0.01 },
|
|
256
|
+
md: { size: 15, weight: 400, lineHeight: 1.5, letterSpacing: -5e-3 },
|
|
257
|
+
sm: { size: 13, weight: 400, lineHeight: 1.45, letterSpacing: 0 }
|
|
257
258
|
},
|
|
258
259
|
caption: { size: 12, weight: 400, lineHeight: 1.4, letterSpacing: 0.01 },
|
|
259
260
|
fontWeight: {
|
|
@@ -298,12 +299,12 @@ var elevation = {
|
|
|
298
299
|
glassLg: "0 12px 48px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04)"
|
|
299
300
|
},
|
|
300
301
|
dark: {
|
|
301
|
-
sm: "0 1px 2px rgba(0,0,0,0.
|
|
302
|
-
m: "0
|
|
303
|
-
lg: "0
|
|
304
|
-
xl: "0
|
|
305
|
-
glass: "0
|
|
306
|
-
glassLg: "0
|
|
302
|
+
sm: "0 1px 2px rgba(0,0,0,0.24), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
303
|
+
m: "0 2px 8px rgba(0,0,0,0.24), 0 4px 12px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
304
|
+
lg: "0 4px 12px rgba(0,0,0,0.24), 0 8px 24px rgba(0,0,0,0.20), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
305
|
+
xl: "0 8px 24px rgba(0,0,0,0.28), 0 16px 40px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
306
|
+
glass: "0 4px 16px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.06), inset 0 0.5px 0 rgba(255,255,255,0.04)",
|
|
307
|
+
glassLg: "0 8px 32px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.08), inset 0 0.5px 0 rgba(255,255,255,0.06)"
|
|
307
308
|
}
|
|
308
309
|
};
|
|
309
310
|
elevation.light;
|
|
@@ -635,13 +636,9 @@ var component = {
|
|
|
635
636
|
lg: { height: 50, paddingX: 28, paddingY: 14, fontSize: 17, borderRadius: 14, iconSize: 20 }
|
|
636
637
|
},
|
|
637
638
|
input: {
|
|
638
|
-
height:
|
|
639
|
-
paddingX: 16,
|
|
640
|
-
|
|
641
|
-
fontSize: 15,
|
|
642
|
-
borderRadius: 12,
|
|
643
|
-
iconSize: 18,
|
|
644
|
-
iconPadding: 42
|
|
639
|
+
sm: { height: 32, paddingX: 12, fontSize: 13, borderRadius: 8, iconSize: 16, iconPadding: 34 },
|
|
640
|
+
md: { height: 44, paddingX: 16, fontSize: 16, borderRadius: 12, iconSize: 18, iconPadding: 42 },
|
|
641
|
+
lg: { height: 50, paddingX: 20, fontSize: 17, borderRadius: 14, iconSize: 20, iconPadding: 46 }
|
|
645
642
|
},
|
|
646
643
|
card: {
|
|
647
644
|
padding: 24,
|
package/dist/native/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { semanticTokens, chart, motion, elevation, radius, spacing, typography } from '../chunk-
|
|
2
|
-
export { component as componentTokens, motion as motionTokens, springConfigs, tacSpring } from '../chunk-
|
|
1
|
+
import { semanticTokens, chart, motion, elevation, radius, spacing, typography } from '../chunk-I2PXRTYK.mjs';
|
|
2
|
+
export { component as componentTokens, motion as motionTokens, springConfigs, tacSpring } from '../chunk-I2PXRTYK.mjs';
|
|
3
3
|
|
|
4
4
|
// src/native/shadows.ts
|
|
5
5
|
var nativeShadows = {
|
|
@@ -49,17 +49,17 @@ var semanticTokens = {
|
|
|
49
49
|
glassBorder: "rgba(24, 24, 27, 0.04)",
|
|
50
50
|
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.6)",
|
|
51
51
|
glassPanelShadow: "0 12px 40px rgba(24, 24, 27, 0.04), 0 1px 3px rgba(24, 24, 27, 0.02)",
|
|
52
|
-
accentGlow: "
|
|
52
|
+
accentGlow: "0 0 20px rgba(88, 86, 214, 0.08)",
|
|
53
53
|
// ── Gradients ──
|
|
54
|
-
gradientBrand: "
|
|
55
|
-
gradientBrandHover: "
|
|
56
|
-
gradientSubtle: "
|
|
57
|
-
gradientAccent: "
|
|
58
|
-
gradientAccentVivid: "
|
|
59
|
-
gradientGlow: "
|
|
60
|
-
gradientMesh: "
|
|
61
|
-
gradientSurface: "
|
|
62
|
-
gradientGlowShadow: "
|
|
54
|
+
gradientBrand: "linear-gradient(135deg, #5856D6 0%, #7A78F0 100%)",
|
|
55
|
+
gradientBrandHover: "linear-gradient(135deg, #4B49B8 0%, #5856D6 100%)",
|
|
56
|
+
gradientSubtle: "linear-gradient(180deg, rgba(88, 86, 214, 0.03) 0%, transparent 100%)",
|
|
57
|
+
gradientAccent: "linear-gradient(135deg, #5856D6 0%, #8B5CF6 100%)",
|
|
58
|
+
gradientAccentVivid: "linear-gradient(135deg, #5856D6 0%, #A855F7 50%, #EC4899 100%)",
|
|
59
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(88, 86, 214, 0.06) 0%, transparent 70%)",
|
|
60
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(88, 86, 214, 0.04) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%)",
|
|
61
|
+
gradientSurface: "linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%)",
|
|
62
|
+
gradientGlowShadow: "0 8px 32px rgba(88, 86, 214, 0.08)",
|
|
63
63
|
// ── Shadow ──
|
|
64
64
|
shadowColor: "rgba(24, 24, 27, 0.05)",
|
|
65
65
|
// ── Status ──
|
|
@@ -159,20 +159,20 @@ var semanticTokens = {
|
|
|
159
159
|
gray900: "#FAFAFA",
|
|
160
160
|
// ── Glass & Effects ──
|
|
161
161
|
glassBg: "rgba(9, 9, 11, 0.85)",
|
|
162
|
-
glassBorder: "rgba(
|
|
163
|
-
glassInset: "inset 0 1px 0 rgba(
|
|
164
|
-
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.
|
|
165
|
-
accentGlow: "
|
|
162
|
+
glassBorder: "rgba(255, 255, 255, 0.08)",
|
|
163
|
+
glassInset: "inset 0 1px 0 rgba(255, 255, 255, 0.04)",
|
|
164
|
+
glassPanelShadow: "0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.06)",
|
|
165
|
+
accentGlow: "0 0 24px rgba(94, 92, 230, 0.15)",
|
|
166
166
|
// ── Gradients ──
|
|
167
|
-
gradientBrand: "
|
|
168
|
-
gradientBrandHover: "
|
|
169
|
-
gradientSubtle: "
|
|
170
|
-
gradientAccent: "
|
|
171
|
-
gradientAccentVivid: "
|
|
172
|
-
gradientGlow: "
|
|
173
|
-
gradientMesh: "
|
|
174
|
-
gradientSurface: "
|
|
175
|
-
gradientGlowShadow: "
|
|
167
|
+
gradientBrand: "linear-gradient(135deg, #5E5CE6 0%, #8B7AF0 100%)",
|
|
168
|
+
gradientBrandHover: "linear-gradient(135deg, #4E4CD4 0%, #5E5CE6 100%)",
|
|
169
|
+
gradientSubtle: "linear-gradient(180deg, rgba(94, 92, 230, 0.06) 0%, transparent 100%)",
|
|
170
|
+
gradientAccent: "linear-gradient(135deg, #5E5CE6 0%, #9B8AFF 100%)",
|
|
171
|
+
gradientAccentVivid: "linear-gradient(135deg, #5E5CE6 0%, #B07AF0 50%, #F472B6 100%)",
|
|
172
|
+
gradientGlow: "radial-gradient(ellipse at 50% 0%, rgba(94, 92, 230, 0.12) 0%, transparent 70%)",
|
|
173
|
+
gradientMesh: "radial-gradient(ellipse at 20% 50%, rgba(94, 92, 230, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(155, 138, 255, 0.06) 0%, transparent 50%)",
|
|
174
|
+
gradientSurface: "linear-gradient(180deg, #18181B 0%, #09090B 100%)",
|
|
175
|
+
gradientGlowShadow: "0 8px 32px rgba(94, 92, 230, 0.12)",
|
|
176
176
|
// ── Shadow ──
|
|
177
177
|
shadowColor: "rgba(0, 0, 0, 0.9)",
|
|
178
178
|
// ── Status ──
|
|
@@ -214,15 +214,15 @@ var semanticTokens = {
|
|
|
214
214
|
btnPointEnergy: "0 4px 16px rgba(94, 92, 230, 0.3)",
|
|
215
215
|
btnDestructiveSurface: "#EF4444",
|
|
216
216
|
btnDestructiveHover: "#F87171",
|
|
217
|
-
inputBg: "
|
|
218
|
-
inputBorderRest: "
|
|
219
|
-
inputBorderHover: "
|
|
217
|
+
inputBg: "rgba(255, 255, 255, 0.04)",
|
|
218
|
+
inputBorderRest: "rgba(255, 255, 255, 0.1)",
|
|
219
|
+
inputBorderHover: "rgba(255, 255, 255, 0.16)",
|
|
220
220
|
inputHoverGlow: "0 0 0 2px rgba(255, 255, 255, 0.04)",
|
|
221
221
|
inputFocusGlow: "0 0 0 2px rgba(250, 250, 250, 0.15)",
|
|
222
222
|
inputErrorGlow: "0 0 0 2px rgba(248, 113, 113, 0.3)",
|
|
223
|
-
dropdownBg: "
|
|
224
|
-
dropdownShadow: "0 20px
|
|
225
|
-
dropdownItemHover: "
|
|
223
|
+
dropdownBg: "rgba(24, 24, 27, 0.95)",
|
|
224
|
+
dropdownShadow: "0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 8px 16px -4px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.08)",
|
|
225
|
+
dropdownItemHover: "rgba(255, 255, 255, 0.06)",
|
|
226
226
|
cardAccentBorder: "#3F3F46",
|
|
227
227
|
cardAccentGlow: "none",
|
|
228
228
|
cardAccentHoverBorder: "#52525B",
|
|
@@ -319,12 +319,12 @@ var elevation = {
|
|
|
319
319
|
glassLg: "0 12px 48px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04)"
|
|
320
320
|
},
|
|
321
321
|
dark: {
|
|
322
|
-
sm: "0 1px 2px rgba(0,0,0,0.
|
|
323
|
-
m: "0
|
|
324
|
-
lg: "0
|
|
325
|
-
xl: "0
|
|
326
|
-
glass: "0
|
|
327
|
-
glassLg: "0
|
|
322
|
+
sm: "0 1px 2px rgba(0,0,0,0.24), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
323
|
+
m: "0 2px 8px rgba(0,0,0,0.24), 0 4px 12px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(255,255,255,0.04)",
|
|
324
|
+
lg: "0 4px 12px rgba(0,0,0,0.24), 0 8px 24px rgba(0,0,0,0.20), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
325
|
+
xl: "0 8px 24px rgba(0,0,0,0.28), 0 16px 40px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(255,255,255,0.06)",
|
|
326
|
+
glass: "0 4px 16px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.06), inset 0 0.5px 0 rgba(255,255,255,0.04)",
|
|
327
|
+
glassLg: "0 8px 32px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,255,255,0.08), inset 0 0.5px 0 rgba(255,255,255,0.06)"
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
var zIndex = {
|
|
@@ -454,7 +454,8 @@ var typography = {
|
|
|
454
454
|
fontFamily: {
|
|
455
455
|
primary: "Pretendard",
|
|
456
456
|
secondary: "Pretendard",
|
|
457
|
-
display: "Pretendard"
|
|
457
|
+
display: "Pretendard",
|
|
458
|
+
mono: "SF Mono"
|
|
458
459
|
}};
|
|
459
460
|
|
|
460
461
|
// src/component.ts
|
|
@@ -465,13 +466,9 @@ var component = {
|
|
|
465
466
|
lg: { height: 50, paddingX: 28, fontSize: 17, borderRadius: 14}
|
|
466
467
|
},
|
|
467
468
|
input: {
|
|
468
|
-
height:
|
|
469
|
-
paddingX: 16,
|
|
470
|
-
|
|
471
|
-
fontSize: 15,
|
|
472
|
-
borderRadius: 12,
|
|
473
|
-
iconSize: 18,
|
|
474
|
-
iconPadding: 42
|
|
469
|
+
sm: { height: 32, paddingX: 12, fontSize: 13, borderRadius: 8, iconSize: 16, iconPadding: 34 },
|
|
470
|
+
md: { height: 44, paddingX: 16, fontSize: 16, borderRadius: 12, iconSize: 18, iconPadding: 42 },
|
|
471
|
+
lg: { height: 50, paddingX: 20, fontSize: 17, borderRadius: 14, iconSize: 20, iconPadding: 46 }
|
|
475
472
|
},
|
|
476
473
|
card: {
|
|
477
474
|
padding: 24,
|
|
@@ -609,6 +606,7 @@ function generateCSSVariables(mode) {
|
|
|
609
606
|
"--font-primary": `'${typography.fontFamily.primary}', -apple-system, BlinkMacSystemFont, system-ui, sans-serif`,
|
|
610
607
|
"--font-secondary": `'${typography.fontFamily.secondary}', sans-serif`,
|
|
611
608
|
"--font-display": `'${typography.fontFamily.display}', '${typography.fontFamily.primary}', sans-serif`,
|
|
609
|
+
"--font-mono": `'${typography.fontFamily.mono}', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace`,
|
|
612
610
|
// Colors
|
|
613
611
|
"--background": colors.background,
|
|
614
612
|
"--background-subtle": colors.backgroundSubtle,
|
|
@@ -802,13 +800,28 @@ function generateCSSVariables(mode) {
|
|
|
802
800
|
"--btn-lg-radius": px(component.button.lg.borderRadius),
|
|
803
801
|
"--btn-icon-size": px(component.button.md.iconSize),
|
|
804
802
|
// Component: Input
|
|
805
|
-
"--input-height": rem(component.input.height),
|
|
806
|
-
"--input-px": rem(component.input.paddingX),
|
|
807
|
-
"--input-
|
|
808
|
-
"--input-
|
|
809
|
-
"--input-
|
|
810
|
-
"--input-icon-
|
|
811
|
-
"--input-
|
|
803
|
+
"--input-sm-height": rem(component.input.sm.height),
|
|
804
|
+
"--input-sm-px": rem(component.input.sm.paddingX),
|
|
805
|
+
"--input-sm-font-size": rem(component.input.sm.fontSize),
|
|
806
|
+
"--input-sm-radius": px(component.input.sm.borderRadius),
|
|
807
|
+
"--input-sm-icon-size": px(component.input.sm.iconSize),
|
|
808
|
+
"--input-sm-icon-padding": rem(component.input.sm.iconPadding),
|
|
809
|
+
"--input-md-height": rem(component.input.md.height),
|
|
810
|
+
"--input-md-px": rem(component.input.md.paddingX),
|
|
811
|
+
"--input-md-font-size": rem(component.input.md.fontSize),
|
|
812
|
+
"--input-md-radius": px(component.input.md.borderRadius),
|
|
813
|
+
"--input-md-icon-size": px(component.input.md.iconSize),
|
|
814
|
+
"--input-md-icon-padding": rem(component.input.md.iconPadding),
|
|
815
|
+
"--input-lg-height": rem(component.input.lg.height),
|
|
816
|
+
"--input-lg-px": rem(component.input.lg.paddingX),
|
|
817
|
+
"--input-lg-font-size": rem(component.input.lg.fontSize),
|
|
818
|
+
"--input-lg-radius": px(component.input.lg.borderRadius),
|
|
819
|
+
"--input-lg-icon-size": px(component.input.lg.iconSize),
|
|
820
|
+
"--input-lg-icon-padding": rem(component.input.lg.iconPadding),
|
|
821
|
+
// Component: Input (md aliases for backward compat)
|
|
822
|
+
"--input-height": rem(component.input.md.height),
|
|
823
|
+
"--input-radius": px(component.input.md.borderRadius),
|
|
824
|
+
"--input-font-size": rem(component.input.md.fontSize),
|
|
812
825
|
// Component: Card
|
|
813
826
|
"--card-padding": rem(component.card.padding),
|
|
814
827
|
"--card-gap": rem(component.card.gap),
|