@devschile/chucao 1.1.0 → 1.3.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/README.md +28 -331
- package/dist/chucao/chucao.css +2 -2
- package/dist/chucao/chucao.esm.js +1 -1
- package/dist/chucao/index.esm.js +1 -1
- package/dist/chucao/index.esm.js.map +1 -1
- package/dist/chucao/p-94a2b1be.entry.js +2 -0
- package/dist/chucao/p-94a2b1be.entry.js.map +1 -0
- package/dist/chucao/p-COo5t8-6.js +3 -0
- package/dist/chucao/p-COo5t8-6.js.map +1 -0
- package/dist/cjs/ch-badge_5.cjs.entry.js +6 -6
- package/dist/cjs/ch-badge_5.cjs.entry.js.map +1 -1
- package/dist/cjs/chucao.cjs.js +1 -1
- package/dist/cjs/{index-Do8JpTKQ.js → index-yB1Ik3Sa.js} +3 -3
- package/dist/cjs/index-yB1Ik3Sa.js.map +1 -0
- package/dist/cjs/index.cjs.js +148 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ch-badge/ch-badge.css +5 -5
- package/dist/collection/components/ch-button/ch-button.css +19 -19
- package/dist/collection/components/ch-card/ch-card.css +10 -10
- package/dist/collection/components/ch-input/ch-input.css +10 -10
- package/dist/collection/components/ch-select/ch-select.css +10 -10
- package/dist/collection/tokens/tokens.js +108 -6
- package/dist/collection/tokens/tokens.js.map +1 -1
- package/dist/collection/tokens/types.js.map +1 -1
- package/dist/components/ch-badge.js +1 -1
- package/dist/components/ch-badge.js.map +1 -1
- package/dist/components/ch-button.js +1 -1
- package/dist/components/ch-button.js.map +1 -1
- package/dist/components/ch-card.js +1 -1
- package/dist/components/ch-card.js.map +1 -1
- package/dist/components/ch-input.js +1 -1
- package/dist/components/ch-input.js.map +1 -1
- package/dist/components/ch-select.js +1 -1
- package/dist/components/ch-select.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-DCKzDjxR.js +2 -0
- package/dist/components/p-DCKzDjxR.js.map +1 -0
- package/dist/esm/ch-badge_5.entry.js +6 -6
- package/dist/esm/ch-badge_5.entry.js.map +1 -1
- package/dist/esm/chucao.js +2 -2
- package/dist/esm/{index-QBEhw78y.js → index-COo5t8-6.js} +3 -3
- package/dist/esm/index-COo5t8-6.js.map +1 -0
- package/dist/esm/index.js +109 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/types/tokens/tokens.d.ts +104 -2
- package/dist/types/tokens/types.d.ts +13 -4
- package/package.json +2 -1
- package/dist/chucao/p-2eeff869.entry.js +0 -2
- package/dist/chucao/p-2eeff869.entry.js.map +0 -1
- package/dist/chucao/p-QBEhw78y.js +0 -3
- package/dist/chucao/p-QBEhw78y.js.map +0 -1
- package/dist/cjs/index-Do8JpTKQ.js.map +0 -1
- package/dist/components/p-BImgfbXx.js +0 -2
- package/dist/components/p-BImgfbXx.js.map +0 -1
- package/dist/esm/index-QBEhw78y.js.map +0 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -10,6 +10,7 @@ const colorBorderDefault = 'rgba(255, 255, 255, 0.08)';
|
|
|
10
10
|
const colorBorderHover = 'rgba(45, 212, 191, 0.3)';
|
|
11
11
|
const colorAccentDefault = '#2dd4bf';
|
|
12
12
|
const colorAccentHover = '#5ee8d4';
|
|
13
|
+
const colorAccentText = '#06210f';
|
|
13
14
|
const colorStatusPositive = '#4ade80';
|
|
14
15
|
const colorStatusPositiveBackground = 'rgba(34, 197, 94, 0.18)';
|
|
15
16
|
const colorStatusWarning = '#f87171';
|
|
@@ -21,10 +22,48 @@ const colorBrandHuemulLight = '#b45b38';
|
|
|
21
22
|
const colorBrandStroke = '#1d1d1b';
|
|
22
23
|
const typographyBody = 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif';
|
|
23
24
|
const typographyHeading = 'Inconsolata, monospace';
|
|
24
|
-
const
|
|
25
|
+
const typographySizeXs = '0.68rem';
|
|
26
|
+
const typographySizeSm = '0.85rem';
|
|
27
|
+
const typographySizeMd = '1rem';
|
|
28
|
+
const typographySizeLg = '1.25rem';
|
|
29
|
+
const typographySizeXl = '1.5rem';
|
|
30
|
+
const typographyWeightRegular = '400';
|
|
31
|
+
const typographyWeightSemibold = '600';
|
|
32
|
+
const typographyWeightBold = '700';
|
|
33
|
+
const typographyTrackingBadge = '0.03em';
|
|
34
|
+
const spacing2xs = '0.18rem';
|
|
35
|
+
const spacingXs = '0.25rem';
|
|
36
|
+
const spacingSm = '0.35rem';
|
|
37
|
+
const spacingMd = '0.5rem';
|
|
38
|
+
const spacingLg = '0.6rem';
|
|
39
|
+
const spacingXl = '0.8rem';
|
|
40
|
+
const spacing2xl = '1rem';
|
|
41
|
+
const spacing3xl = '1.25rem';
|
|
42
|
+
const spacing4xl = '1.35rem';
|
|
43
|
+
const spacing5xl = '1.5rem';
|
|
44
|
+
const spacing6xl = '2rem';
|
|
45
|
+
const spacingShift = '2px';
|
|
46
|
+
const spacingElevate = '1px';
|
|
47
|
+
const radiusSm = '6px';
|
|
48
|
+
const radiusMd = '8px';
|
|
49
|
+
const radiusPill = '999px';
|
|
50
|
+
const borderWidth = '1px';
|
|
51
|
+
const borderAccentBar = '3px';
|
|
52
|
+
const shadowFocusRing = '0 0 0 3px rgba(45, 212, 191, 0.12)';
|
|
53
|
+
const shadowCardHover = '0 4px 20px rgba(45, 212, 191, 0.06)';
|
|
54
|
+
const effectBlur = '10px';
|
|
55
|
+
const durationFast = '150ms';
|
|
56
|
+
const durationNormal = '200ms';
|
|
57
|
+
const easingDefault = 'ease';
|
|
58
|
+
const focusOutlineWidth = '2px';
|
|
59
|
+
const focusOutlineOffset = '2px';
|
|
60
|
+
const opacityDisabled = 0.5;
|
|
61
|
+
const zIndexBase = 0;
|
|
62
|
+
const zIndexDropdown = 100;
|
|
63
|
+
const zIndexModal = 1000;
|
|
25
64
|
const layoutMaxWidth = '68rem';
|
|
26
65
|
const tokens = {
|
|
27
|
-
color: {
|
|
66
|
+
'color': {
|
|
28
67
|
background: {
|
|
29
68
|
base: '#100a1c',
|
|
30
69
|
topGlow: '#201e40',
|
|
@@ -41,6 +80,7 @@ const tokens = {
|
|
|
41
80
|
accent: {
|
|
42
81
|
default: '#2dd4bf',
|
|
43
82
|
hover: '#5ee8d4',
|
|
83
|
+
text: '#06210f',
|
|
44
84
|
},
|
|
45
85
|
status: {
|
|
46
86
|
positive: '#4ade80',
|
|
@@ -58,20 +98,85 @@ const tokens = {
|
|
|
58
98
|
stroke: '#1d1d1b',
|
|
59
99
|
},
|
|
60
100
|
},
|
|
61
|
-
typography: {
|
|
101
|
+
'typography': {
|
|
62
102
|
body: 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif',
|
|
63
103
|
heading: 'Inconsolata, monospace',
|
|
104
|
+
size: {
|
|
105
|
+
xs: '0.68rem',
|
|
106
|
+
sm: '0.85rem',
|
|
107
|
+
md: '1rem',
|
|
108
|
+
lg: '1.25rem',
|
|
109
|
+
xl: '1.5rem',
|
|
110
|
+
},
|
|
111
|
+
weight: {
|
|
112
|
+
regular: '400',
|
|
113
|
+
semibold: '600',
|
|
114
|
+
bold: '700',
|
|
115
|
+
},
|
|
116
|
+
tracking: {
|
|
117
|
+
badge: '0.03em',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
'spacing': {
|
|
121
|
+
'2xs': '0.18rem',
|
|
122
|
+
'xs': '0.25rem',
|
|
123
|
+
'sm': '0.35rem',
|
|
124
|
+
'md': '0.5rem',
|
|
125
|
+
'lg': '0.6rem',
|
|
126
|
+
'xl': '0.8rem',
|
|
127
|
+
'2xl': '1rem',
|
|
128
|
+
'3xl': '1.25rem',
|
|
129
|
+
'4xl': '1.35rem',
|
|
130
|
+
'5xl': '1.5rem',
|
|
131
|
+
'6xl': '2rem',
|
|
132
|
+
'shift': '2px',
|
|
133
|
+
'elevate': '1px',
|
|
134
|
+
},
|
|
135
|
+
'radius': {
|
|
136
|
+
sm: '6px',
|
|
137
|
+
md: '8px',
|
|
138
|
+
pill: '999px',
|
|
139
|
+
},
|
|
140
|
+
'border': {
|
|
141
|
+
width: '1px',
|
|
142
|
+
accentBar: '3px',
|
|
143
|
+
},
|
|
144
|
+
'shadow': {
|
|
145
|
+
focusRing: '0 0 0 3px rgba(45, 212, 191, 0.12)',
|
|
146
|
+
cardHover: '0 4px 20px rgba(45, 212, 191, 0.06)',
|
|
147
|
+
},
|
|
148
|
+
'effect': {
|
|
149
|
+
blur: '10px',
|
|
150
|
+
},
|
|
151
|
+
'duration': {
|
|
152
|
+
fast: '150ms',
|
|
153
|
+
normal: '200ms',
|
|
154
|
+
},
|
|
155
|
+
'easing': {
|
|
156
|
+
default: 'ease',
|
|
157
|
+
},
|
|
158
|
+
'focus': {
|
|
159
|
+
outlineWidth: '2px',
|
|
160
|
+
outlineOffset: '2px',
|
|
161
|
+
},
|
|
162
|
+
'opacity': {
|
|
163
|
+
disabled: 0.5,
|
|
64
164
|
},
|
|
65
|
-
|
|
66
|
-
|
|
165
|
+
'z-index': {
|
|
166
|
+
base: 0,
|
|
167
|
+
dropdown: 100,
|
|
168
|
+
modal: 1000,
|
|
67
169
|
},
|
|
68
|
-
layout: {
|
|
170
|
+
'layout': {
|
|
69
171
|
maxWidth: '68rem',
|
|
70
172
|
},
|
|
71
173
|
};
|
|
72
174
|
|
|
175
|
+
exports.borderAccentBar = borderAccentBar;
|
|
176
|
+
exports.borderWidth = borderWidth;
|
|
73
177
|
exports.colorAccentDefault = colorAccentDefault;
|
|
74
178
|
exports.colorAccentHover = colorAccentHover;
|
|
179
|
+
exports.colorAccentText = colorAccentText;
|
|
75
180
|
exports.colorBackgroundBase = colorBackgroundBase;
|
|
76
181
|
exports.colorBackgroundBottomGlow = colorBackgroundBottomGlow;
|
|
77
182
|
exports.colorBackgroundTopGlow = colorBackgroundTopGlow;
|
|
@@ -88,11 +193,47 @@ exports.colorSurfaceDefault = colorSurfaceDefault;
|
|
|
88
193
|
exports.colorSurfaceHover = colorSurfaceHover;
|
|
89
194
|
exports.colorTextPrimary = colorTextPrimary;
|
|
90
195
|
exports.colorTextSecondary = colorTextSecondary;
|
|
196
|
+
exports.durationFast = durationFast;
|
|
197
|
+
exports.durationNormal = durationNormal;
|
|
198
|
+
exports.easingDefault = easingDefault;
|
|
199
|
+
exports.effectBlur = effectBlur;
|
|
200
|
+
exports.focusOutlineOffset = focusOutlineOffset;
|
|
201
|
+
exports.focusOutlineWidth = focusOutlineWidth;
|
|
91
202
|
exports.layoutMaxWidth = layoutMaxWidth;
|
|
92
|
-
exports.
|
|
203
|
+
exports.opacityDisabled = opacityDisabled;
|
|
204
|
+
exports.radiusMd = radiusMd;
|
|
205
|
+
exports.radiusPill = radiusPill;
|
|
206
|
+
exports.radiusSm = radiusSm;
|
|
207
|
+
exports.shadowCardHover = shadowCardHover;
|
|
208
|
+
exports.shadowFocusRing = shadowFocusRing;
|
|
209
|
+
exports.spacing2xl = spacing2xl;
|
|
210
|
+
exports.spacing2xs = spacing2xs;
|
|
211
|
+
exports.spacing3xl = spacing3xl;
|
|
212
|
+
exports.spacing4xl = spacing4xl;
|
|
213
|
+
exports.spacing5xl = spacing5xl;
|
|
214
|
+
exports.spacing6xl = spacing6xl;
|
|
215
|
+
exports.spacingElevate = spacingElevate;
|
|
216
|
+
exports.spacingLg = spacingLg;
|
|
217
|
+
exports.spacingMd = spacingMd;
|
|
218
|
+
exports.spacingShift = spacingShift;
|
|
219
|
+
exports.spacingSm = spacingSm;
|
|
220
|
+
exports.spacingXl = spacingXl;
|
|
221
|
+
exports.spacingXs = spacingXs;
|
|
93
222
|
exports.tokens = tokens;
|
|
94
223
|
exports.typographyBody = typographyBody;
|
|
95
224
|
exports.typographyHeading = typographyHeading;
|
|
225
|
+
exports.typographySizeLg = typographySizeLg;
|
|
226
|
+
exports.typographySizeMd = typographySizeMd;
|
|
227
|
+
exports.typographySizeSm = typographySizeSm;
|
|
228
|
+
exports.typographySizeXl = typographySizeXl;
|
|
229
|
+
exports.typographySizeXs = typographySizeXs;
|
|
230
|
+
exports.typographyTrackingBadge = typographyTrackingBadge;
|
|
231
|
+
exports.typographyWeightBold = typographyWeightBold;
|
|
232
|
+
exports.typographyWeightRegular = typographyWeightRegular;
|
|
233
|
+
exports.typographyWeightSemibold = typographyWeightSemibold;
|
|
234
|
+
exports.zIndexBase = zIndexBase;
|
|
235
|
+
exports.zIndexDropdown = zIndexDropdown;
|
|
236
|
+
exports.zIndexModal = zIndexModal;
|
|
96
237
|
//# sourceMappingURL=index.cjs.js.map
|
|
97
238
|
|
|
98
239
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["src/tokens/tokens.ts"],"sourcesContent":["/* Generated by toki v1.10.0 — do not edit */\n\nexport const colorBackgroundBase = '#100a1c';\nexport const colorBackgroundTopGlow = '#201e40';\nexport const colorBackgroundBottomGlow = '#261226';\nexport const colorSurfaceDefault = 'rgba(32, 30, 64, 0.6)';\nexport const colorSurfaceHover = 'rgba(45, 212, 191, 0.08)';\nexport const colorBorderDefault = 'rgba(255, 255, 255, 0.08)';\nexport const colorBorderHover = 'rgba(45, 212, 191, 0.3)';\nexport const colorAccentDefault = '#2dd4bf';\nexport const colorAccentHover = '#5ee8d4';\nexport const colorStatusPositive = '#4ade80';\nexport const colorStatusPositiveBackground = 'rgba(34, 197, 94, 0.18)';\nexport const colorStatusWarning = '#f87171';\nexport const colorStatusWarningBackground = 'rgba(248, 113, 113, 0.15)';\nexport const colorTextPrimary = '#ffffff';\nexport const colorTextSecondary = 'rgba(255, 255, 255, 0.55)';\nexport const colorBrandHuemulDark = '#85422b';\nexport const colorBrandHuemulLight = '#b45b38';\nexport const colorBrandStroke = '#1d1d1b';\nexport const typographyBody = 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif';\nexport const typographyHeading = 'Inconsolata, monospace';\nexport const
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["src/tokens/tokens.ts"],"sourcesContent":["/* Generated by toki v1.10.0 — do not edit */\n\nexport const colorBackgroundBase = '#100a1c';\nexport const colorBackgroundTopGlow = '#201e40';\nexport const colorBackgroundBottomGlow = '#261226';\nexport const colorSurfaceDefault = 'rgba(32, 30, 64, 0.6)';\nexport const colorSurfaceHover = 'rgba(45, 212, 191, 0.08)';\nexport const colorBorderDefault = 'rgba(255, 255, 255, 0.08)';\nexport const colorBorderHover = 'rgba(45, 212, 191, 0.3)';\nexport const colorAccentDefault = '#2dd4bf';\nexport const colorAccentHover = '#5ee8d4';\nexport const colorAccentText = '#06210f';\nexport const colorStatusPositive = '#4ade80';\nexport const colorStatusPositiveBackground = 'rgba(34, 197, 94, 0.18)';\nexport const colorStatusWarning = '#f87171';\nexport const colorStatusWarningBackground = 'rgba(248, 113, 113, 0.15)';\nexport const colorTextPrimary = '#ffffff';\nexport const colorTextSecondary = 'rgba(255, 255, 255, 0.55)';\nexport const colorBrandHuemulDark = '#85422b';\nexport const colorBrandHuemulLight = '#b45b38';\nexport const colorBrandStroke = '#1d1d1b';\nexport const typographyBody = 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif';\nexport const typographyHeading = 'Inconsolata, monospace';\nexport const typographySizeXs = '0.68rem';\nexport const typographySizeSm = '0.85rem';\nexport const typographySizeMd = '1rem';\nexport const typographySizeLg = '1.25rem';\nexport const typographySizeXl = '1.5rem';\nexport const typographyWeightRegular = '400';\nexport const typographyWeightSemibold = '600';\nexport const typographyWeightBold = '700';\nexport const typographyTrackingBadge = '0.03em';\nexport const spacing2xs = '0.18rem';\nexport const spacingXs = '0.25rem';\nexport const spacingSm = '0.35rem';\nexport const spacingMd = '0.5rem';\nexport const spacingLg = '0.6rem';\nexport const spacingXl = '0.8rem';\nexport const spacing2xl = '1rem';\nexport const spacing3xl = '1.25rem';\nexport const spacing4xl = '1.35rem';\nexport const spacing5xl = '1.5rem';\nexport const spacing6xl = '2rem';\nexport const spacingShift = '2px';\nexport const spacingElevate = '1px';\nexport const radiusSm = '6px';\nexport const radiusMd = '8px';\nexport const radiusPill = '999px';\nexport const borderWidth = '1px';\nexport const borderAccentBar = '3px';\nexport const shadowFocusRing = '0 0 0 3px rgba(45, 212, 191, 0.12)';\nexport const shadowCardHover = '0 4px 20px rgba(45, 212, 191, 0.06)';\nexport const effectBlur = '10px';\nexport const durationFast = '150ms';\nexport const durationNormal = '200ms';\nexport const easingDefault = 'ease';\nexport const focusOutlineWidth = '2px';\nexport const focusOutlineOffset = '2px';\nexport const opacityDisabled = 0.5;\nexport const zIndexBase = 0;\nexport const zIndexDropdown = 100;\nexport const zIndexModal = 1000;\nexport const layoutMaxWidth = '68rem';\n\nexport const tokens = {\n 'color': {\n background: {\n base: '#100a1c',\n topGlow: '#201e40',\n bottomGlow: '#261226',\n },\n surface: {\n default: 'rgba(32, 30, 64, 0.6)',\n hover: 'rgba(45, 212, 191, 0.08)',\n },\n border: {\n default: 'rgba(255, 255, 255, 0.08)',\n hover: 'rgba(45, 212, 191, 0.3)',\n },\n accent: {\n default: '#2dd4bf',\n hover: '#5ee8d4',\n text: '#06210f',\n },\n status: {\n positive: '#4ade80',\n positiveBackground: 'rgba(34, 197, 94, 0.18)',\n warning: '#f87171',\n warningBackground: 'rgba(248, 113, 113, 0.15)',\n },\n text: {\n primary: '#ffffff',\n secondary: 'rgba(255, 255, 255, 0.55)',\n },\n brand: {\n huemulDark: '#85422b',\n huemulLight: '#b45b38',\n stroke: '#1d1d1b',\n },\n },\n 'typography': {\n body: 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif',\n heading: 'Inconsolata, monospace',\n size: {\n xs: '0.68rem',\n sm: '0.85rem',\n md: '1rem',\n lg: '1.25rem',\n xl: '1.5rem',\n },\n weight: {\n regular: '400',\n semibold: '600',\n bold: '700',\n },\n tracking: {\n badge: '0.03em',\n },\n },\n 'spacing': {\n '2xs': '0.18rem',\n 'xs': '0.25rem',\n 'sm': '0.35rem',\n 'md': '0.5rem',\n 'lg': '0.6rem',\n 'xl': '0.8rem',\n '2xl': '1rem',\n '3xl': '1.25rem',\n '4xl': '1.35rem',\n '5xl': '1.5rem',\n '6xl': '2rem',\n 'shift': '2px',\n 'elevate': '1px',\n },\n 'radius': {\n sm: '6px',\n md: '8px',\n pill: '999px',\n },\n 'border': {\n width: '1px',\n accentBar: '3px',\n },\n 'shadow': {\n focusRing: '0 0 0 3px rgba(45, 212, 191, 0.12)',\n cardHover: '0 4px 20px rgba(45, 212, 191, 0.06)',\n },\n 'effect': {\n blur: '10px',\n },\n 'duration': {\n fast: '150ms',\n normal: '200ms',\n },\n 'easing': {\n default: 'ease',\n },\n 'focus': {\n outlineWidth: '2px',\n outlineOffset: '2px',\n },\n 'opacity': {\n disabled: 0.5,\n },\n 'z-index': {\n base: 0,\n dropdown: 100,\n modal: 1000,\n },\n 'layout': {\n maxWidth: '68rem',\n },\n} as const;\n\nexport type TokenCategory = keyof typeof tokens;\n"],"names":[],"mappings":";;AAAA;AAEO,MAAM,mBAAmB,GAAG;AAC5B,MAAM,sBAAsB,GAAG;AAC/B,MAAM,yBAAyB,GAAG;AAClC,MAAM,mBAAmB,GAAG;AAC5B,MAAM,iBAAiB,GAAG;AAC1B,MAAM,kBAAkB,GAAG;AAC3B,MAAM,gBAAgB,GAAG;AACzB,MAAM,kBAAkB,GAAG;AAC3B,MAAM,gBAAgB,GAAG;AACzB,MAAM,eAAe,GAAG;AACxB,MAAM,mBAAmB,GAAG;AAC5B,MAAM,6BAA6B,GAAG;AACtC,MAAM,kBAAkB,GAAG;AAC3B,MAAM,4BAA4B,GAAG;AACrC,MAAM,gBAAgB,GAAG;AACzB,MAAM,kBAAkB,GAAG;AAC3B,MAAM,oBAAoB,GAAG;AAC7B,MAAM,qBAAqB,GAAG;AAC9B,MAAM,gBAAgB,GAAG;AACzB,MAAM,cAAc,GAAG;AACvB,MAAM,iBAAiB,GAAG;AAC1B,MAAM,gBAAgB,GAAG;AACzB,MAAM,gBAAgB,GAAG;AACzB,MAAM,gBAAgB,GAAG;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
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
.badge {
|
|
6
6
|
display: inline-block;
|
|
7
|
-
padding:
|
|
8
|
-
border-radius:
|
|
9
|
-
font-size:
|
|
10
|
-
font-weight:
|
|
7
|
+
padding: var(--spacing-2xs) var(--spacing-lg);
|
|
8
|
+
border-radius: var(--radius-pill);
|
|
9
|
+
font-size: var(--typography-size-xs);
|
|
10
|
+
font-weight: var(--typography-weight-semibold);
|
|
11
11
|
text-transform: uppercase;
|
|
12
|
-
letter-spacing:
|
|
12
|
+
letter-spacing: var(--typography-tracking-badge);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.badge--default {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.btn {
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
align-items: center;
|
|
8
|
-
gap:
|
|
8
|
+
gap: var(--spacing-sm);
|
|
9
9
|
border: none;
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
font-family: inherit;
|
|
@@ -13,46 +13,46 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.btn:disabled {
|
|
16
|
-
opacity:
|
|
16
|
+
opacity: var(--opacity-disabled);
|
|
17
17
|
cursor: not-allowed;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.btn:focus-visible {
|
|
21
|
-
outline:
|
|
22
|
-
outline-offset:
|
|
21
|
+
outline: var(--focus-outline-width) solid var(--accent);
|
|
22
|
+
outline-offset: var(--focus-outline-offset);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.btn--primary {
|
|
26
26
|
background-color: var(--accent);
|
|
27
|
-
color:
|
|
28
|
-
font-weight:
|
|
29
|
-
padding:
|
|
30
|
-
border-radius:
|
|
27
|
+
color: var(--color-accent-text);
|
|
28
|
+
font-weight: var(--typography-weight-bold);
|
|
29
|
+
padding: var(--spacing-xs) var(--spacing-xl);
|
|
30
|
+
border-radius: var(--radius-pill);
|
|
31
31
|
transition:
|
|
32
|
-
background-color
|
|
33
|
-
transform
|
|
32
|
+
background-color var(--duration-normal) var(--easing-default),
|
|
33
|
+
transform var(--duration-fast) var(--easing-default);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.btn--primary:hover {
|
|
37
37
|
background-color: var(--accent-hover);
|
|
38
|
-
transform: translateY(-
|
|
38
|
+
transform: translateY(calc(-1 * var(--spacing-elevate)));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.btn--secondary {
|
|
42
42
|
background-color: transparent;
|
|
43
43
|
color: var(--text);
|
|
44
|
-
font-weight:
|
|
45
|
-
padding:
|
|
46
|
-
border-radius:
|
|
47
|
-
border:
|
|
44
|
+
font-weight: var(--typography-weight-bold);
|
|
45
|
+
padding: var(--spacing-xs) var(--spacing-xl);
|
|
46
|
+
border-radius: var(--radius-pill);
|
|
47
|
+
border: var(--border-width) solid var(--border);
|
|
48
48
|
transition:
|
|
49
|
-
border-color
|
|
50
|
-
background-color
|
|
51
|
-
transform
|
|
49
|
+
border-color var(--duration-normal) var(--easing-default),
|
|
50
|
+
background-color var(--duration-normal) var(--easing-default),
|
|
51
|
+
transform var(--duration-fast) var(--easing-default);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.btn--secondary:hover {
|
|
55
55
|
border-color: var(--border-hover);
|
|
56
56
|
background-color: var(--surface-hover);
|
|
57
|
-
transform: translateY(-
|
|
57
|
+
transform: translateY(calc(-1 * var(--spacing-elevate)));
|
|
58
58
|
}
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
.card {
|
|
10
10
|
color: var(--text);
|
|
11
11
|
background: var(--surface);
|
|
12
|
-
border:
|
|
12
|
+
border: var(--border-width) solid var(--border);
|
|
13
13
|
border-radius: var(--radius);
|
|
14
|
-
padding:
|
|
15
|
-
backdrop-filter: blur(
|
|
14
|
+
padding: var(--spacing-4xl) var(--spacing-5xl);
|
|
15
|
+
backdrop-filter: blur(var(--effect-blur));
|
|
16
16
|
position: relative;
|
|
17
17
|
overflow: hidden;
|
|
18
18
|
transition:
|
|
19
|
-
border-color
|
|
20
|
-
transform
|
|
21
|
-
box-shadow
|
|
19
|
+
border-color var(--duration-normal) var(--easing-default),
|
|
20
|
+
transform var(--duration-fast) var(--easing-default),
|
|
21
|
+
box-shadow var(--duration-normal) var(--easing-default);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.card::before {
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
left: 0;
|
|
28
28
|
top: 0;
|
|
29
29
|
bottom: 0;
|
|
30
|
-
width:
|
|
30
|
+
width: var(--border-accent-bar);
|
|
31
31
|
background: var(--accent);
|
|
32
32
|
opacity: 0;
|
|
33
|
-
transition: opacity
|
|
33
|
+
transition: opacity var(--duration-normal) var(--easing-default);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.card:hover {
|
|
37
37
|
border-color: var(--border-hover);
|
|
38
|
-
transform: translateX(
|
|
39
|
-
box-shadow:
|
|
38
|
+
transform: translateX(var(--spacing-shift));
|
|
39
|
+
box-shadow: var(--shadow-card-hover);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.card:hover::before {
|
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
|
|
6
6
|
.label {
|
|
7
7
|
display: block;
|
|
8
|
-
margin-bottom:
|
|
9
|
-
font-size:
|
|
10
|
-
font-weight:
|
|
8
|
+
margin-bottom: var(--spacing-sm);
|
|
9
|
+
font-size: var(--typography-size-sm);
|
|
10
|
+
font-weight: var(--typography-weight-semibold);
|
|
11
11
|
color: var(--text);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.input {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
width: 100%;
|
|
17
|
-
padding:
|
|
17
|
+
padding: var(--spacing-xl) var(--spacing-3xl);
|
|
18
18
|
border-radius: var(--radius);
|
|
19
|
-
border:
|
|
19
|
+
border: var(--border-width) solid var(--border);
|
|
20
20
|
background: var(--surface);
|
|
21
21
|
color: var(--text);
|
|
22
|
-
backdrop-filter: blur(
|
|
22
|
+
backdrop-filter: blur(var(--effect-blur));
|
|
23
23
|
font-family: inherit;
|
|
24
24
|
font-size: inherit;
|
|
25
25
|
transition:
|
|
26
|
-
border-color
|
|
27
|
-
box-shadow
|
|
26
|
+
border-color var(--duration-normal) var(--easing-default),
|
|
27
|
+
box-shadow var(--duration-normal) var(--easing-default);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.input::placeholder {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
|
|
34
34
|
.input:focus {
|
|
35
35
|
border-color: var(--accent);
|
|
36
|
-
box-shadow:
|
|
36
|
+
box-shadow: var(--shadow-focus-ring);
|
|
37
37
|
outline: none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.input:disabled {
|
|
41
|
-
opacity:
|
|
41
|
+
opacity: var(--opacity-disabled);
|
|
42
42
|
cursor: not-allowed;
|
|
43
43
|
}
|
|
@@ -5,37 +5,37 @@
|
|
|
5
5
|
|
|
6
6
|
.label {
|
|
7
7
|
display: block;
|
|
8
|
-
margin-bottom:
|
|
9
|
-
font-size:
|
|
10
|
-
font-weight:
|
|
8
|
+
margin-bottom: var(--spacing-sm);
|
|
9
|
+
font-size: var(--typography-size-sm);
|
|
10
|
+
font-weight: var(--typography-weight-semibold);
|
|
11
11
|
color: var(--text);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.select {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
width: 100%;
|
|
17
|
-
padding:
|
|
17
|
+
padding: var(--spacing-xl) var(--spacing-3xl);
|
|
18
18
|
border-radius: var(--radius);
|
|
19
|
-
border:
|
|
19
|
+
border: var(--border-width) solid var(--border);
|
|
20
20
|
background: var(--surface);
|
|
21
21
|
color: var(--text);
|
|
22
|
-
backdrop-filter: blur(
|
|
22
|
+
backdrop-filter: blur(var(--effect-blur));
|
|
23
23
|
font-family: inherit;
|
|
24
24
|
font-size: inherit;
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
transition:
|
|
27
|
-
border-color
|
|
28
|
-
box-shadow
|
|
27
|
+
border-color var(--duration-normal) var(--easing-default),
|
|
28
|
+
box-shadow var(--duration-normal) var(--easing-default);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.select:focus {
|
|
32
32
|
border-color: var(--accent);
|
|
33
|
-
box-shadow:
|
|
33
|
+
box-shadow: var(--shadow-focus-ring);
|
|
34
34
|
outline: none;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.select:disabled {
|
|
38
|
-
opacity:
|
|
38
|
+
opacity: var(--opacity-disabled);
|
|
39
39
|
cursor: not-allowed;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -8,6 +8,7 @@ export const colorBorderDefault = 'rgba(255, 255, 255, 0.08)';
|
|
|
8
8
|
export const colorBorderHover = 'rgba(45, 212, 191, 0.3)';
|
|
9
9
|
export const colorAccentDefault = '#2dd4bf';
|
|
10
10
|
export const colorAccentHover = '#5ee8d4';
|
|
11
|
+
export const colorAccentText = '#06210f';
|
|
11
12
|
export const colorStatusPositive = '#4ade80';
|
|
12
13
|
export const colorStatusPositiveBackground = 'rgba(34, 197, 94, 0.18)';
|
|
13
14
|
export const colorStatusWarning = '#f87171';
|
|
@@ -19,10 +20,48 @@ export const colorBrandHuemulLight = '#b45b38';
|
|
|
19
20
|
export const colorBrandStroke = '#1d1d1b';
|
|
20
21
|
export const typographyBody = 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif';
|
|
21
22
|
export const typographyHeading = 'Inconsolata, monospace';
|
|
22
|
-
export const
|
|
23
|
+
export const typographySizeXs = '0.68rem';
|
|
24
|
+
export const typographySizeSm = '0.85rem';
|
|
25
|
+
export const typographySizeMd = '1rem';
|
|
26
|
+
export const typographySizeLg = '1.25rem';
|
|
27
|
+
export const typographySizeXl = '1.5rem';
|
|
28
|
+
export const typographyWeightRegular = '400';
|
|
29
|
+
export const typographyWeightSemibold = '600';
|
|
30
|
+
export const typographyWeightBold = '700';
|
|
31
|
+
export const typographyTrackingBadge = '0.03em';
|
|
32
|
+
export const spacing2xs = '0.18rem';
|
|
33
|
+
export const spacingXs = '0.25rem';
|
|
34
|
+
export const spacingSm = '0.35rem';
|
|
35
|
+
export const spacingMd = '0.5rem';
|
|
36
|
+
export const spacingLg = '0.6rem';
|
|
37
|
+
export const spacingXl = '0.8rem';
|
|
38
|
+
export const spacing2xl = '1rem';
|
|
39
|
+
export const spacing3xl = '1.25rem';
|
|
40
|
+
export const spacing4xl = '1.35rem';
|
|
41
|
+
export const spacing5xl = '1.5rem';
|
|
42
|
+
export const spacing6xl = '2rem';
|
|
43
|
+
export const spacingShift = '2px';
|
|
44
|
+
export const spacingElevate = '1px';
|
|
45
|
+
export const radiusSm = '6px';
|
|
46
|
+
export const radiusMd = '8px';
|
|
47
|
+
export const radiusPill = '999px';
|
|
48
|
+
export const borderWidth = '1px';
|
|
49
|
+
export const borderAccentBar = '3px';
|
|
50
|
+
export const shadowFocusRing = '0 0 0 3px rgba(45, 212, 191, 0.12)';
|
|
51
|
+
export const shadowCardHover = '0 4px 20px rgba(45, 212, 191, 0.06)';
|
|
52
|
+
export const effectBlur = '10px';
|
|
53
|
+
export const durationFast = '150ms';
|
|
54
|
+
export const durationNormal = '200ms';
|
|
55
|
+
export const easingDefault = 'ease';
|
|
56
|
+
export const focusOutlineWidth = '2px';
|
|
57
|
+
export const focusOutlineOffset = '2px';
|
|
58
|
+
export const opacityDisabled = 0.5;
|
|
59
|
+
export const zIndexBase = 0;
|
|
60
|
+
export const zIndexDropdown = 100;
|
|
61
|
+
export const zIndexModal = 1000;
|
|
23
62
|
export const layoutMaxWidth = '68rem';
|
|
24
63
|
export const tokens = {
|
|
25
|
-
color: {
|
|
64
|
+
'color': {
|
|
26
65
|
background: {
|
|
27
66
|
base: '#100a1c',
|
|
28
67
|
topGlow: '#201e40',
|
|
@@ -39,6 +78,7 @@ export const tokens = {
|
|
|
39
78
|
accent: {
|
|
40
79
|
default: '#2dd4bf',
|
|
41
80
|
hover: '#5ee8d4',
|
|
81
|
+
text: '#06210f',
|
|
42
82
|
},
|
|
43
83
|
status: {
|
|
44
84
|
positive: '#4ade80',
|
|
@@ -56,14 +96,76 @@ export const tokens = {
|
|
|
56
96
|
stroke: '#1d1d1b',
|
|
57
97
|
},
|
|
58
98
|
},
|
|
59
|
-
typography: {
|
|
99
|
+
'typography': {
|
|
60
100
|
body: 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif',
|
|
61
101
|
heading: 'Inconsolata, monospace',
|
|
102
|
+
size: {
|
|
103
|
+
xs: '0.68rem',
|
|
104
|
+
sm: '0.85rem',
|
|
105
|
+
md: '1rem',
|
|
106
|
+
lg: '1.25rem',
|
|
107
|
+
xl: '1.5rem',
|
|
108
|
+
},
|
|
109
|
+
weight: {
|
|
110
|
+
regular: '400',
|
|
111
|
+
semibold: '600',
|
|
112
|
+
bold: '700',
|
|
113
|
+
},
|
|
114
|
+
tracking: {
|
|
115
|
+
badge: '0.03em',
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
'spacing': {
|
|
119
|
+
'2xs': '0.18rem',
|
|
120
|
+
'xs': '0.25rem',
|
|
121
|
+
'sm': '0.35rem',
|
|
122
|
+
'md': '0.5rem',
|
|
123
|
+
'lg': '0.6rem',
|
|
124
|
+
'xl': '0.8rem',
|
|
125
|
+
'2xl': '1rem',
|
|
126
|
+
'3xl': '1.25rem',
|
|
127
|
+
'4xl': '1.35rem',
|
|
128
|
+
'5xl': '1.5rem',
|
|
129
|
+
'6xl': '2rem',
|
|
130
|
+
'shift': '2px',
|
|
131
|
+
'elevate': '1px',
|
|
132
|
+
},
|
|
133
|
+
'radius': {
|
|
134
|
+
sm: '6px',
|
|
135
|
+
md: '8px',
|
|
136
|
+
pill: '999px',
|
|
137
|
+
},
|
|
138
|
+
'border': {
|
|
139
|
+
width: '1px',
|
|
140
|
+
accentBar: '3px',
|
|
141
|
+
},
|
|
142
|
+
'shadow': {
|
|
143
|
+
focusRing: '0 0 0 3px rgba(45, 212, 191, 0.12)',
|
|
144
|
+
cardHover: '0 4px 20px rgba(45, 212, 191, 0.06)',
|
|
145
|
+
},
|
|
146
|
+
'effect': {
|
|
147
|
+
blur: '10px',
|
|
148
|
+
},
|
|
149
|
+
'duration': {
|
|
150
|
+
fast: '150ms',
|
|
151
|
+
normal: '200ms',
|
|
152
|
+
},
|
|
153
|
+
'easing': {
|
|
154
|
+
default: 'ease',
|
|
155
|
+
},
|
|
156
|
+
'focus': {
|
|
157
|
+
outlineWidth: '2px',
|
|
158
|
+
outlineOffset: '2px',
|
|
159
|
+
},
|
|
160
|
+
'opacity': {
|
|
161
|
+
disabled: 0.5,
|
|
62
162
|
},
|
|
63
|
-
|
|
64
|
-
|
|
163
|
+
'z-index': {
|
|
164
|
+
base: 0,
|
|
165
|
+
dropdown: 100,
|
|
166
|
+
modal: 1000,
|
|
65
167
|
},
|
|
66
|
-
layout: {
|
|
168
|
+
'layout': {
|
|
67
169
|
maxWidth: '68rem',
|
|
68
170
|
},
|
|
69
171
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../src/tokens/tokens.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAS,CAAC;AAChD,MAAM,CAAC,MAAM,yBAAyB,GAAG,SAAS,CAAC;AACnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAC3D,MAAM,CAAC,MAAM,iBAAiB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,2BAA2B,CAAC;AAC9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,yBAAyB,CAAC;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAC5C,MAAM,CAAC,MAAM,gBAAgB,GAA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AE,QAAQ;SAChB;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,KAAK;KACjB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,KAAK;QACZ,SAAS,EAAE,KAAK;KACjB;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,oCAAoC;QAC/C,SAAS,EAAE,qCAAqC;KACjD;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;KACb;IACD,UAAU,EAAE;QACV,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,OAAO;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM;KAChB;IACD,OAAO,EAAE;QACP,YAAY,EAAE,KAAK;QACnB,aAAa,EAAE,KAAK;KACrB;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,GAAG;KACd;IACD,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,GAAG;QACb,KAAK,EAAE,IAAI;KACZ;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,OAAO;KAClB;CACO,CAAC","sourcesContent":["/* Generated by toki v1.10.0 — do not edit */\n\nexport const colorBackgroundBase = '#100a1c';\nexport const colorBackgroundTopGlow = '#201e40';\nexport const colorBackgroundBottomGlow = '#261226';\nexport const colorSurfaceDefault = 'rgba(32, 30, 64, 0.6)';\nexport const colorSurfaceHover = 'rgba(45, 212, 191, 0.08)';\nexport const colorBorderDefault = 'rgba(255, 255, 255, 0.08)';\nexport const colorBorderHover = 'rgba(45, 212, 191, 0.3)';\nexport const colorAccentDefault = '#2dd4bf';\nexport const colorAccentHover = '#5ee8d4';\nexport const colorAccentText = '#06210f';\nexport const colorStatusPositive = '#4ade80';\nexport const colorStatusPositiveBackground = 'rgba(34, 197, 94, 0.18)';\nexport const colorStatusWarning = '#f87171';\nexport const colorStatusWarningBackground = 'rgba(248, 113, 113, 0.15)';\nexport const colorTextPrimary = '#ffffff';\nexport const colorTextSecondary = 'rgba(255, 255, 255, 0.55)';\nexport const colorBrandHuemulDark = '#85422b';\nexport const colorBrandHuemulLight = '#b45b38';\nexport const colorBrandStroke = '#1d1d1b';\nexport const typographyBody = 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif';\nexport const typographyHeading = 'Inconsolata, monospace';\nexport const typographySizeXs = '0.68rem';\nexport const typographySizeSm = '0.85rem';\nexport const typographySizeMd = '1rem';\nexport const typographySizeLg = '1.25rem';\nexport const typographySizeXl = '1.5rem';\nexport const typographyWeightRegular = '400';\nexport const typographyWeightSemibold = '600';\nexport const typographyWeightBold = '700';\nexport const typographyTrackingBadge = '0.03em';\nexport const spacing2xs = '0.18rem';\nexport const spacingXs = '0.25rem';\nexport const spacingSm = '0.35rem';\nexport const spacingMd = '0.5rem';\nexport const spacingLg = '0.6rem';\nexport const spacingXl = '0.8rem';\nexport const spacing2xl = '1rem';\nexport const spacing3xl = '1.25rem';\nexport const spacing4xl = '1.35rem';\nexport const spacing5xl = '1.5rem';\nexport const spacing6xl = '2rem';\nexport const spacingShift = '2px';\nexport const spacingElevate = '1px';\nexport const radiusSm = '6px';\nexport const radiusMd = '8px';\nexport const radiusPill = '999px';\nexport const borderWidth = '1px';\nexport const borderAccentBar = '3px';\nexport const shadowFocusRing = '0 0 0 3px rgba(45, 212, 191, 0.12)';\nexport const shadowCardHover = '0 4px 20px rgba(45, 212, 191, 0.06)';\nexport const effectBlur = '10px';\nexport const durationFast = '150ms';\nexport const durationNormal = '200ms';\nexport const easingDefault = 'ease';\nexport const focusOutlineWidth = '2px';\nexport const focusOutlineOffset = '2px';\nexport const opacityDisabled = 0.5;\nexport const zIndexBase = 0;\nexport const zIndexDropdown = 100;\nexport const zIndexModal = 1000;\nexport const layoutMaxWidth = '68rem';\n\nexport const tokens = {\n 'color': {\n background: {\n base: '#100a1c',\n topGlow: '#201e40',\n bottomGlow: '#261226',\n },\n surface: {\n default: 'rgba(32, 30, 64, 0.6)',\n hover: 'rgba(45, 212, 191, 0.08)',\n },\n border: {\n default: 'rgba(255, 255, 255, 0.08)',\n hover: 'rgba(45, 212, 191, 0.3)',\n },\n accent: {\n default: '#2dd4bf',\n hover: '#5ee8d4',\n text: '#06210f',\n },\n status: {\n positive: '#4ade80',\n positiveBackground: 'rgba(34, 197, 94, 0.18)',\n warning: '#f87171',\n warningBackground: 'rgba(248, 113, 113, 0.15)',\n },\n text: {\n primary: '#ffffff',\n secondary: 'rgba(255, 255, 255, 0.55)',\n },\n brand: {\n huemulDark: '#85422b',\n huemulLight: '#b45b38',\n stroke: '#1d1d1b',\n },\n },\n 'typography': {\n body: 'Fira Sans, Droid Sans, Helvetica Neue, sans-serif',\n heading: 'Inconsolata, monospace',\n size: {\n xs: '0.68rem',\n sm: '0.85rem',\n md: '1rem',\n lg: '1.25rem',\n xl: '1.5rem',\n },\n weight: {\n regular: '400',\n semibold: '600',\n bold: '700',\n },\n tracking: {\n badge: '0.03em',\n },\n },\n 'spacing': {\n '2xs': '0.18rem',\n 'xs': '0.25rem',\n 'sm': '0.35rem',\n 'md': '0.5rem',\n 'lg': '0.6rem',\n 'xl': '0.8rem',\n '2xl': '1rem',\n '3xl': '1.25rem',\n '4xl': '1.35rem',\n '5xl': '1.5rem',\n '6xl': '2rem',\n 'shift': '2px',\n 'elevate': '1px',\n },\n 'radius': {\n sm: '6px',\n md: '8px',\n pill: '999px',\n },\n 'border': {\n width: '1px',\n accentBar: '3px',\n },\n 'shadow': {\n focusRing: '0 0 0 3px rgba(45, 212, 191, 0.12)',\n cardHover: '0 4px 20px rgba(45, 212, 191, 0.06)',\n },\n 'effect': {\n blur: '10px',\n },\n 'duration': {\n fast: '150ms',\n normal: '200ms',\n },\n 'easing': {\n default: 'ease',\n },\n 'focus': {\n outlineWidth: '2px',\n outlineOffset: '2px',\n },\n 'opacity': {\n disabled: 0.5,\n },\n 'z-index': {\n base: 0,\n dropdown: 100,\n modal: 1000,\n },\n 'layout': {\n maxWidth: '68rem',\n },\n} as const;\n\nexport type TokenCategory = keyof typeof tokens;\n"]}
|