@nexus-cross/tokens 1.0.0-beta.1
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 +197 -0
- package/dist/TOKENS.md +394 -0
- package/dist/company-vars.css +395 -0
- package/dist/company.css +400 -0
- package/dist/index.d.mts +4574 -0
- package/dist/index.d.ts +4574 -0
- package/dist/index.js +2408 -0
- package/dist/index.mjs +2356 -0
- package/package.json +51 -0
- package/scripts/postinstall.js +57 -0
- package/src/data/borderWidth.json +38 -0
- package/src/data/breakpoint.json +23 -0
- package/src/data/color.json +957 -0
- package/src/data/index.ts +63 -0
- package/src/data/motion.json +64 -0
- package/src/data/opacity.json +65 -0
- package/src/data/radius.json +25 -0
- package/src/data/shadow.json +76 -0
- package/src/data/size.json +46 -0
- package/src/data/space.json +85 -0
- package/src/data/typography.json +626 -0
- package/src/data/zIndex.json +22 -0
- package/src/tailwind.js +260 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,2408 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
allCategoryData: () => allCategoryData,
|
|
24
|
+
breakpointSemantic: () => breakpointSemantic,
|
|
25
|
+
breakpoints: () => breakpoints,
|
|
26
|
+
createPalette: () => createPalette,
|
|
27
|
+
createSemantic: () => createSemantic,
|
|
28
|
+
dark: () => dark,
|
|
29
|
+
getTheme: () => getTheme,
|
|
30
|
+
getTokens: () => getTheme,
|
|
31
|
+
light: () => light,
|
|
32
|
+
palette: () => palette,
|
|
33
|
+
rawBorderWidthData: () => rawBorderWidthData,
|
|
34
|
+
rawBreakpointData: () => rawBreakpointData,
|
|
35
|
+
rawColorData: () => rawColorData,
|
|
36
|
+
rawMotionData: () => rawMotionData,
|
|
37
|
+
rawOpacityData: () => rawOpacityData,
|
|
38
|
+
rawRadiusData: () => rawRadiusData,
|
|
39
|
+
rawShadowData: () => rawShadowData,
|
|
40
|
+
rawSizeData: () => rawSizeData,
|
|
41
|
+
rawSpaceData: () => rawSpaceData,
|
|
42
|
+
rawTypographyData: () => rawTypographyData,
|
|
43
|
+
rawZIndexData: () => rawZIndexData,
|
|
44
|
+
shadowSemantic: () => shadowSemantic,
|
|
45
|
+
shadows: () => shadows,
|
|
46
|
+
space: () => space,
|
|
47
|
+
spacing: () => spacing,
|
|
48
|
+
typography: () => typography
|
|
49
|
+
});
|
|
50
|
+
module.exports = __toCommonJS(index_exports);
|
|
51
|
+
|
|
52
|
+
// src/data/color.json
|
|
53
|
+
var color_default = {
|
|
54
|
+
primitive: {
|
|
55
|
+
neutral: {
|
|
56
|
+
"50": "#161A21",
|
|
57
|
+
"100": "#1E232E",
|
|
58
|
+
"200": "#252B39",
|
|
59
|
+
"300": "#363B4C",
|
|
60
|
+
"400": "#3B4153",
|
|
61
|
+
"500": "#62697A",
|
|
62
|
+
"600": "#7E8597",
|
|
63
|
+
"700": "#A2AABA",
|
|
64
|
+
"800": "#C6D0DA",
|
|
65
|
+
"900": "#ECF0F2",
|
|
66
|
+
"950": "#F3F6F8"
|
|
67
|
+
},
|
|
68
|
+
brand: {
|
|
69
|
+
"50": "#092424",
|
|
70
|
+
"100": "#113535",
|
|
71
|
+
"200": "#123F3C",
|
|
72
|
+
"300": "#0F947E",
|
|
73
|
+
"400": "#09B498",
|
|
74
|
+
"500": "#07C6A6",
|
|
75
|
+
"600": "#00D5AA",
|
|
76
|
+
"700": "#12DFB6",
|
|
77
|
+
"800": "#83DCC9",
|
|
78
|
+
"900": "#CDF4ED",
|
|
79
|
+
"950": "#EAFAF6"
|
|
80
|
+
},
|
|
81
|
+
green: {
|
|
82
|
+
"50": "#06261B",
|
|
83
|
+
"100": "#0A3728",
|
|
84
|
+
"200": "#0D4431",
|
|
85
|
+
"300": "#1B9674",
|
|
86
|
+
"400": "#00B784",
|
|
87
|
+
"500": "#00C890",
|
|
88
|
+
"600": "#02D69C",
|
|
89
|
+
"700": "#0BDFA5",
|
|
90
|
+
"800": "#9FECD7",
|
|
91
|
+
"900": "#CDF4EA",
|
|
92
|
+
"950": "#EAFAF6"
|
|
93
|
+
},
|
|
94
|
+
red: {
|
|
95
|
+
"50": "#24060B",
|
|
96
|
+
"100": "#530E1A",
|
|
97
|
+
"200": "#5B121E",
|
|
98
|
+
"300": "#AF2239",
|
|
99
|
+
"400": "#D20625",
|
|
100
|
+
"500": "#DB0A2D",
|
|
101
|
+
"600": "#E62848",
|
|
102
|
+
"700": "#EC3C56",
|
|
103
|
+
"800": "#FFBBC4",
|
|
104
|
+
"900": "#FDE8EB",
|
|
105
|
+
"950": "#FFF4F5"
|
|
106
|
+
},
|
|
107
|
+
yellow: {
|
|
108
|
+
"50": "#241E06",
|
|
109
|
+
"100": "#393421",
|
|
110
|
+
"200": "#4A3F2B",
|
|
111
|
+
"300": "#9F701A",
|
|
112
|
+
"400": "#D9840C",
|
|
113
|
+
"500": "#FF9D00",
|
|
114
|
+
"600": "#FFAA00",
|
|
115
|
+
"700": "#F9C127",
|
|
116
|
+
"800": "#FFDB6E",
|
|
117
|
+
"900": "#FFF2D2",
|
|
118
|
+
"950": "#FBF7EC"
|
|
119
|
+
},
|
|
120
|
+
blue: {
|
|
121
|
+
"50": "#061424",
|
|
122
|
+
"100": "#0E2F53",
|
|
123
|
+
"200": "#143A67",
|
|
124
|
+
"300": "#1672D0",
|
|
125
|
+
"400": "#1087FF",
|
|
126
|
+
"500": "#0095FF",
|
|
127
|
+
"600": "#20B1FF",
|
|
128
|
+
"700": "#52C2FF",
|
|
129
|
+
"800": "#92DDFF",
|
|
130
|
+
"900": "#CCEFFF",
|
|
131
|
+
"950": "#EAF8FF"
|
|
132
|
+
},
|
|
133
|
+
purple: {
|
|
134
|
+
"50": "#061424",
|
|
135
|
+
"100": "#2F1766",
|
|
136
|
+
"200": "#3A1D7C",
|
|
137
|
+
"300": "#7346F3",
|
|
138
|
+
"400": "#7D4FFF",
|
|
139
|
+
"500": "#9975FF",
|
|
140
|
+
"600": "#B296FF",
|
|
141
|
+
"700": "#D4BAF4",
|
|
142
|
+
"800": "#E9DBFB",
|
|
143
|
+
"900": "#F4EBFF",
|
|
144
|
+
"950": "#F9F5FF"
|
|
145
|
+
},
|
|
146
|
+
special: {
|
|
147
|
+
white: "#FFFFFF",
|
|
148
|
+
black: "#000000",
|
|
149
|
+
transparent: "transparent",
|
|
150
|
+
transparent30: "rgba(0, 0, 0, 0.3)",
|
|
151
|
+
transparent50: "rgba(0, 0, 0, 0.5)"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
semantic: {
|
|
155
|
+
bg: {
|
|
156
|
+
default: {
|
|
157
|
+
base: {
|
|
158
|
+
light: {
|
|
159
|
+
source: "special.white"
|
|
160
|
+
},
|
|
161
|
+
dark: {
|
|
162
|
+
source: "neutral.100"
|
|
163
|
+
},
|
|
164
|
+
description: "\uAE30\uBCF8 \uBC30\uACBD"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
subtle: {
|
|
168
|
+
base: {
|
|
169
|
+
light: {
|
|
170
|
+
source: "neutral.950"
|
|
171
|
+
},
|
|
172
|
+
dark: {
|
|
173
|
+
source: "neutral.50"
|
|
174
|
+
},
|
|
175
|
+
description: "\uBBF8\uBB18\uD55C \uBC30\uACBD"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
strong: {
|
|
179
|
+
base: {
|
|
180
|
+
light: {
|
|
181
|
+
source: "neutral.900"
|
|
182
|
+
},
|
|
183
|
+
dark: {
|
|
184
|
+
source: "special.black"
|
|
185
|
+
},
|
|
186
|
+
description: "\uAC15\uC870 \uBC30\uACBD"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
surface: {
|
|
191
|
+
default: {
|
|
192
|
+
base: {
|
|
193
|
+
light: {
|
|
194
|
+
source: "special.white"
|
|
195
|
+
},
|
|
196
|
+
dark: {
|
|
197
|
+
source: "neutral.100"
|
|
198
|
+
},
|
|
199
|
+
description: "\uAE30\uBCF8 \uD45C\uBA74"
|
|
200
|
+
},
|
|
201
|
+
dim: {
|
|
202
|
+
light: {
|
|
203
|
+
source: "neutral.950"
|
|
204
|
+
},
|
|
205
|
+
dark: {
|
|
206
|
+
source: "neutral.50"
|
|
207
|
+
},
|
|
208
|
+
description: "\uAE30\uBCF8 \uD45C\uBA74 - \uB524"
|
|
209
|
+
},
|
|
210
|
+
hover: {
|
|
211
|
+
light: {
|
|
212
|
+
source: "neutral.950"
|
|
213
|
+
},
|
|
214
|
+
dark: {
|
|
215
|
+
source: "neutral.200"
|
|
216
|
+
},
|
|
217
|
+
description: "\uAE30\uBCF8 \uD45C\uBA74 - \uD638\uBC84"
|
|
218
|
+
},
|
|
219
|
+
pressed: {
|
|
220
|
+
light: {
|
|
221
|
+
source: "neutral.900"
|
|
222
|
+
},
|
|
223
|
+
dark: {
|
|
224
|
+
source: "neutral.300"
|
|
225
|
+
},
|
|
226
|
+
description: "\uAE30\uBCF8 \uD45C\uBA74 - \uD504\uB808\uC2A4"
|
|
227
|
+
},
|
|
228
|
+
disabled: {
|
|
229
|
+
light: {
|
|
230
|
+
source: "neutral.900"
|
|
231
|
+
},
|
|
232
|
+
dark: {
|
|
233
|
+
source: "neutral.300"
|
|
234
|
+
},
|
|
235
|
+
description: "\uAE30\uBCF8 \uD45C\uBA74 - \uBE44\uD65C\uC131"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
subtle: {
|
|
239
|
+
base: {
|
|
240
|
+
light: {
|
|
241
|
+
source: "neutral.950"
|
|
242
|
+
},
|
|
243
|
+
dark: {
|
|
244
|
+
source: "neutral.200"
|
|
245
|
+
},
|
|
246
|
+
description: "\uBBF8\uBB18\uD55C \uD45C\uBA74"
|
|
247
|
+
},
|
|
248
|
+
hover: {
|
|
249
|
+
light: {
|
|
250
|
+
source: "neutral.900"
|
|
251
|
+
},
|
|
252
|
+
dark: {
|
|
253
|
+
source: "neutral.300"
|
|
254
|
+
},
|
|
255
|
+
description: "\uBBF8\uBB18\uD55C \uD45C\uBA74 - \uD638\uBC84"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
strong: {
|
|
259
|
+
base: {
|
|
260
|
+
light: {
|
|
261
|
+
source: "neutral.900"
|
|
262
|
+
},
|
|
263
|
+
dark: {
|
|
264
|
+
source: "neutral.300"
|
|
265
|
+
},
|
|
266
|
+
description: "\uAC15\uC870 \uD45C\uBA74"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
inverted: {
|
|
270
|
+
base: {
|
|
271
|
+
light: {
|
|
272
|
+
source: "neutral.50"
|
|
273
|
+
},
|
|
274
|
+
dark: {
|
|
275
|
+
source: "neutral.950"
|
|
276
|
+
},
|
|
277
|
+
description: "\uBC18\uC804 \uD45C\uBA74"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
text: {
|
|
282
|
+
highlight: {
|
|
283
|
+
base: {
|
|
284
|
+
light: {
|
|
285
|
+
source: "special.black"
|
|
286
|
+
},
|
|
287
|
+
dark: {
|
|
288
|
+
source: "special.white"
|
|
289
|
+
},
|
|
290
|
+
description: "\uAC15\uC870 \uD14D\uC2A4\uD2B8"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
primary: {
|
|
294
|
+
base: {
|
|
295
|
+
light: {
|
|
296
|
+
source: "neutral.100"
|
|
297
|
+
},
|
|
298
|
+
dark: {
|
|
299
|
+
source: "neutral.900"
|
|
300
|
+
},
|
|
301
|
+
description: "\uC8FC\uC694 \uD14D\uC2A4\uD2B8"
|
|
302
|
+
},
|
|
303
|
+
hover: {
|
|
304
|
+
light: {
|
|
305
|
+
source: "special.black"
|
|
306
|
+
},
|
|
307
|
+
dark: {
|
|
308
|
+
source: "special.white"
|
|
309
|
+
},
|
|
310
|
+
description: "\uC8FC\uC694 \uD14D\uC2A4\uD2B8 - \uD638\uBC84"
|
|
311
|
+
},
|
|
312
|
+
pressed: {
|
|
313
|
+
light: {
|
|
314
|
+
source: "special.black"
|
|
315
|
+
},
|
|
316
|
+
dark: {
|
|
317
|
+
source: "special.white"
|
|
318
|
+
},
|
|
319
|
+
description: "\uC8FC\uC694 \uD14D\uC2A4\uD2B8 - \uD504\uB808\uC2A4"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
secondary: {
|
|
323
|
+
base: {
|
|
324
|
+
light: {
|
|
325
|
+
source: "neutral.600"
|
|
326
|
+
},
|
|
327
|
+
dark: {
|
|
328
|
+
source: "neutral.700"
|
|
329
|
+
},
|
|
330
|
+
description: "\uBCF4\uC870 \uD14D\uC2A4\uD2B8"
|
|
331
|
+
},
|
|
332
|
+
hover: {
|
|
333
|
+
light: {
|
|
334
|
+
source: "neutral.400"
|
|
335
|
+
},
|
|
336
|
+
dark: {
|
|
337
|
+
source: "neutral.800"
|
|
338
|
+
},
|
|
339
|
+
description: "\uBCF4\uC870 \uD14D\uC2A4\uD2B8 - \uD638\uBC84"
|
|
340
|
+
},
|
|
341
|
+
pressed: {
|
|
342
|
+
light: {
|
|
343
|
+
source: "neutral.400"
|
|
344
|
+
},
|
|
345
|
+
dark: {
|
|
346
|
+
source: "neutral.800"
|
|
347
|
+
},
|
|
348
|
+
description: "\uBCF4\uC870 \uD14D\uC2A4\uD2B8 - \uD504\uB808\uC2A4"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
tertiary: {
|
|
352
|
+
base: {
|
|
353
|
+
light: {
|
|
354
|
+
source: "neutral.600"
|
|
355
|
+
},
|
|
356
|
+
dark: {
|
|
357
|
+
source: "neutral.600"
|
|
358
|
+
},
|
|
359
|
+
description: "3\uCC28 \uD14D\uC2A4\uD2B8"
|
|
360
|
+
},
|
|
361
|
+
hover: {
|
|
362
|
+
light: {
|
|
363
|
+
source: "neutral.500"
|
|
364
|
+
},
|
|
365
|
+
dark: {
|
|
366
|
+
source: "neutral.700"
|
|
367
|
+
},
|
|
368
|
+
description: "3\uCC28 \uD14D\uC2A4\uD2B8 - \uD638\uBC84"
|
|
369
|
+
},
|
|
370
|
+
pressed: {
|
|
371
|
+
light: {
|
|
372
|
+
source: "neutral.500"
|
|
373
|
+
},
|
|
374
|
+
dark: {
|
|
375
|
+
source: "neutral.700"
|
|
376
|
+
},
|
|
377
|
+
description: "3\uCC28 \uD14D\uC2A4\uD2B8 - \uD504\uB808\uC2A4"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
muted: {
|
|
381
|
+
base: {
|
|
382
|
+
light: {
|
|
383
|
+
source: "neutral.700"
|
|
384
|
+
},
|
|
385
|
+
dark: {
|
|
386
|
+
source: "neutral.500"
|
|
387
|
+
},
|
|
388
|
+
description: "\uC57D\uD55C \uD14D\uC2A4\uD2B8"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
inverted: {
|
|
392
|
+
base: {
|
|
393
|
+
light: {
|
|
394
|
+
source: "special.white"
|
|
395
|
+
},
|
|
396
|
+
dark: {
|
|
397
|
+
source: "special.black"
|
|
398
|
+
},
|
|
399
|
+
description: "\uBC18\uC804 \uD14D\uC2A4\uD2B8"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
icon: {
|
|
404
|
+
highlight: {
|
|
405
|
+
base: {
|
|
406
|
+
light: {
|
|
407
|
+
source: "special.black"
|
|
408
|
+
},
|
|
409
|
+
dark: {
|
|
410
|
+
source: "special.white"
|
|
411
|
+
},
|
|
412
|
+
description: "\uAC15\uC870 \uC544\uC774\uCF58"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
primary: {
|
|
416
|
+
base: {
|
|
417
|
+
light: {
|
|
418
|
+
source: "neutral.100"
|
|
419
|
+
},
|
|
420
|
+
dark: {
|
|
421
|
+
source: "neutral.900"
|
|
422
|
+
},
|
|
423
|
+
description: "\uC8FC\uC694 \uC544\uC774\uCF58"
|
|
424
|
+
},
|
|
425
|
+
hover: {
|
|
426
|
+
light: {
|
|
427
|
+
source: "special.black"
|
|
428
|
+
},
|
|
429
|
+
dark: {
|
|
430
|
+
source: "special.white"
|
|
431
|
+
},
|
|
432
|
+
description: "\uC8FC\uC694 \uC544\uC774\uCF58 - \uD638\uBC84"
|
|
433
|
+
},
|
|
434
|
+
pressed: {
|
|
435
|
+
light: {
|
|
436
|
+
source: "special.black"
|
|
437
|
+
},
|
|
438
|
+
dark: {
|
|
439
|
+
source: "special.white"
|
|
440
|
+
},
|
|
441
|
+
description: "\uC8FC\uC694 \uC544\uC774\uCF58 - \uD504\uB808\uC2A4"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
secondary: {
|
|
445
|
+
base: {
|
|
446
|
+
light: {
|
|
447
|
+
source: "neutral.600"
|
|
448
|
+
},
|
|
449
|
+
dark: {
|
|
450
|
+
source: "neutral.700"
|
|
451
|
+
},
|
|
452
|
+
description: "\uBCF4\uC870 \uC544\uC774\uCF58"
|
|
453
|
+
},
|
|
454
|
+
hover: {
|
|
455
|
+
light: {
|
|
456
|
+
source: "neutral.400"
|
|
457
|
+
},
|
|
458
|
+
dark: {
|
|
459
|
+
source: "neutral.800"
|
|
460
|
+
},
|
|
461
|
+
description: "\uBCF4\uC870 \uC544\uC774\uCF58 - \uD638\uBC84"
|
|
462
|
+
},
|
|
463
|
+
pressed: {
|
|
464
|
+
light: {
|
|
465
|
+
source: "neutral.400"
|
|
466
|
+
},
|
|
467
|
+
dark: {
|
|
468
|
+
source: "neutral.800"
|
|
469
|
+
},
|
|
470
|
+
description: "\uBCF4\uC870 \uC544\uC774\uCF58 - \uD504\uB808\uC2A4"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
tertiary: {
|
|
474
|
+
base: {
|
|
475
|
+
light: {
|
|
476
|
+
source: "neutral.600"
|
|
477
|
+
},
|
|
478
|
+
dark: {
|
|
479
|
+
source: "neutral.600"
|
|
480
|
+
},
|
|
481
|
+
description: "3\uCC28 \uC544\uC774\uCF58"
|
|
482
|
+
},
|
|
483
|
+
hover: {
|
|
484
|
+
light: {
|
|
485
|
+
source: "neutral.500"
|
|
486
|
+
},
|
|
487
|
+
dark: {
|
|
488
|
+
source: "neutral.700"
|
|
489
|
+
},
|
|
490
|
+
description: "3\uCC28 \uC544\uC774\uCF58 - \uD638\uBC84"
|
|
491
|
+
},
|
|
492
|
+
pressed: {
|
|
493
|
+
light: {
|
|
494
|
+
source: "neutral.500"
|
|
495
|
+
},
|
|
496
|
+
dark: {
|
|
497
|
+
source: "neutral.700"
|
|
498
|
+
},
|
|
499
|
+
description: "3\uCC28 \uC544\uC774\uCF58 - \uD504\uB808\uC2A4"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
muted: {
|
|
503
|
+
base: {
|
|
504
|
+
light: {
|
|
505
|
+
source: "neutral.700"
|
|
506
|
+
},
|
|
507
|
+
dark: {
|
|
508
|
+
source: "neutral.500"
|
|
509
|
+
},
|
|
510
|
+
description: "\uC57D\uD55C \uC544\uC774\uCF58"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
inverted: {
|
|
514
|
+
base: {
|
|
515
|
+
light: {
|
|
516
|
+
source: "special.white"
|
|
517
|
+
},
|
|
518
|
+
dark: {
|
|
519
|
+
source: "special.black"
|
|
520
|
+
},
|
|
521
|
+
description: "\uBC18\uC804 \uC544\uC774\uCF58"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
border: {
|
|
526
|
+
default: {
|
|
527
|
+
base: {
|
|
528
|
+
light: {
|
|
529
|
+
source: "neutral.900"
|
|
530
|
+
},
|
|
531
|
+
dark: {
|
|
532
|
+
source: "neutral.400"
|
|
533
|
+
},
|
|
534
|
+
description: "\uAE30\uBCF8 \uD14C\uB450\uB9AC"
|
|
535
|
+
},
|
|
536
|
+
hover: {
|
|
537
|
+
light: {
|
|
538
|
+
source: "neutral.700"
|
|
539
|
+
},
|
|
540
|
+
dark: {
|
|
541
|
+
source: "neutral.500"
|
|
542
|
+
},
|
|
543
|
+
description: "\uAE30\uBCF8 \uD14C\uB450\uB9AC - \uD638\uBC84"
|
|
544
|
+
},
|
|
545
|
+
focus: {
|
|
546
|
+
light: {
|
|
547
|
+
source: "neutral.500"
|
|
548
|
+
},
|
|
549
|
+
dark: {
|
|
550
|
+
source: "neutral.700"
|
|
551
|
+
},
|
|
552
|
+
description: "\uAE30\uBCF8 \uD14C\uB450\uB9AC - \uD3EC\uCEE4\uC2A4"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
subtle: {
|
|
556
|
+
base: {
|
|
557
|
+
light: {
|
|
558
|
+
source: "neutral.950"
|
|
559
|
+
},
|
|
560
|
+
dark: {
|
|
561
|
+
source: "neutral.200"
|
|
562
|
+
},
|
|
563
|
+
description: "\uC57D\uD55C \uD14C\uB450\uB9AC"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
medium: {
|
|
567
|
+
base: {
|
|
568
|
+
light: {
|
|
569
|
+
source: "neutral.800"
|
|
570
|
+
},
|
|
571
|
+
dark: {
|
|
572
|
+
source: "neutral.500"
|
|
573
|
+
},
|
|
574
|
+
description: "\uC911\uAC04 \uD14C\uB450\uB9AC"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
strong: {
|
|
578
|
+
base: {
|
|
579
|
+
light: {
|
|
580
|
+
source: "special.black"
|
|
581
|
+
},
|
|
582
|
+
dark: {
|
|
583
|
+
source: "special.white"
|
|
584
|
+
},
|
|
585
|
+
description: "\uAC15\uD55C \uD14C\uB450\uB9AC"
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
accent: {
|
|
590
|
+
primary: {
|
|
591
|
+
base: {
|
|
592
|
+
light: {
|
|
593
|
+
source: "brand.400"
|
|
594
|
+
},
|
|
595
|
+
dark: {
|
|
596
|
+
source: "brand.600"
|
|
597
|
+
},
|
|
598
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8"
|
|
599
|
+
},
|
|
600
|
+
hover: {
|
|
601
|
+
light: {
|
|
602
|
+
source: "brand.500"
|
|
603
|
+
},
|
|
604
|
+
dark: {
|
|
605
|
+
source: "brand.700"
|
|
606
|
+
},
|
|
607
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uD638\uBC84"
|
|
608
|
+
},
|
|
609
|
+
pressed: {
|
|
610
|
+
light: {
|
|
611
|
+
source: "brand.300"
|
|
612
|
+
},
|
|
613
|
+
dark: {
|
|
614
|
+
source: "brand.500"
|
|
615
|
+
},
|
|
616
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uD504\uB808\uC2A4"
|
|
617
|
+
},
|
|
618
|
+
disabled: {
|
|
619
|
+
light: {
|
|
620
|
+
source: "brand.900"
|
|
621
|
+
},
|
|
622
|
+
dark: {
|
|
623
|
+
source: "brand.200"
|
|
624
|
+
},
|
|
625
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uBE44\uD65C\uC131"
|
|
626
|
+
},
|
|
627
|
+
focus: {
|
|
628
|
+
light: {
|
|
629
|
+
source: "brand.400"
|
|
630
|
+
},
|
|
631
|
+
dark: {
|
|
632
|
+
source: "brand.500"
|
|
633
|
+
},
|
|
634
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uD3EC\uCEE4\uC2A4"
|
|
635
|
+
},
|
|
636
|
+
intense: {
|
|
637
|
+
light: {
|
|
638
|
+
source: "brand.300"
|
|
639
|
+
},
|
|
640
|
+
dark: {
|
|
641
|
+
source: "brand.700"
|
|
642
|
+
},
|
|
643
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uAC15\uC870"
|
|
644
|
+
},
|
|
645
|
+
dim: {
|
|
646
|
+
light: {
|
|
647
|
+
source: "brand.800"
|
|
648
|
+
},
|
|
649
|
+
dark: {
|
|
650
|
+
source: "brand.300"
|
|
651
|
+
},
|
|
652
|
+
description: "\uC8FC\uC694 \uC561\uC13C\uD2B8 - \uB524"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"on-primary": {
|
|
656
|
+
light: {
|
|
657
|
+
source: "special.white"
|
|
658
|
+
},
|
|
659
|
+
dark: {
|
|
660
|
+
source: "special.black"
|
|
661
|
+
},
|
|
662
|
+
description: "\uC561\uC13C\uD2B8 \uBC30\uACBD \uC704 \uC804\uACBD\uC0C9"
|
|
663
|
+
},
|
|
664
|
+
secondary: {
|
|
665
|
+
base: {
|
|
666
|
+
light: {
|
|
667
|
+
source: "purple.300"
|
|
668
|
+
},
|
|
669
|
+
dark: {
|
|
670
|
+
source: "purple.400"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
intense: {
|
|
674
|
+
light: {
|
|
675
|
+
source: "purple.300"
|
|
676
|
+
},
|
|
677
|
+
dark: {
|
|
678
|
+
source: "purple.500"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
dim: {
|
|
682
|
+
light: {
|
|
683
|
+
source: "purple.800"
|
|
684
|
+
},
|
|
685
|
+
dark: {
|
|
686
|
+
source: "purple.300"
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
hover: {
|
|
690
|
+
light: {
|
|
691
|
+
source: "purple.400"
|
|
692
|
+
},
|
|
693
|
+
dark: {
|
|
694
|
+
source: "purple.500"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
pressed: {
|
|
698
|
+
light: {
|
|
699
|
+
source: "purple.500"
|
|
700
|
+
},
|
|
701
|
+
dark: {
|
|
702
|
+
source: "purple.300"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
disabled: {
|
|
706
|
+
light: {
|
|
707
|
+
source: "purple.900"
|
|
708
|
+
},
|
|
709
|
+
dark: {
|
|
710
|
+
source: "purple.200"
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
focus: {
|
|
714
|
+
light: {
|
|
715
|
+
source: "purple.400"
|
|
716
|
+
},
|
|
717
|
+
dark: {
|
|
718
|
+
source: "purple.500"
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"on-secondary": {
|
|
723
|
+
light: {
|
|
724
|
+
source: "special.white"
|
|
725
|
+
},
|
|
726
|
+
dark: {
|
|
727
|
+
source: "special.white"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
status: {
|
|
732
|
+
success: {
|
|
733
|
+
base: {
|
|
734
|
+
light: {
|
|
735
|
+
source: "green.400"
|
|
736
|
+
},
|
|
737
|
+
dark: {
|
|
738
|
+
source: "green.600"
|
|
739
|
+
},
|
|
740
|
+
description: "\uC131\uACF5"
|
|
741
|
+
},
|
|
742
|
+
hover: {
|
|
743
|
+
light: {
|
|
744
|
+
source: "green.500"
|
|
745
|
+
},
|
|
746
|
+
dark: {
|
|
747
|
+
source: "green.700"
|
|
748
|
+
},
|
|
749
|
+
description: "\uC131\uACF5 - \uD638\uBC84"
|
|
750
|
+
},
|
|
751
|
+
pressed: {
|
|
752
|
+
light: {
|
|
753
|
+
source: "green.300"
|
|
754
|
+
},
|
|
755
|
+
dark: {
|
|
756
|
+
source: "green.500"
|
|
757
|
+
},
|
|
758
|
+
description: "\uC131\uACF5 - \uD504\uB808\uC2A4"
|
|
759
|
+
},
|
|
760
|
+
disabled: {
|
|
761
|
+
light: {
|
|
762
|
+
source: "green.900"
|
|
763
|
+
},
|
|
764
|
+
dark: {
|
|
765
|
+
source: "green.200"
|
|
766
|
+
},
|
|
767
|
+
description: "\uC131\uACF5 - \uBE44\uD65C\uC131"
|
|
768
|
+
},
|
|
769
|
+
intense: {
|
|
770
|
+
light: {
|
|
771
|
+
source: "green.300"
|
|
772
|
+
},
|
|
773
|
+
dark: {
|
|
774
|
+
source: "green.700"
|
|
775
|
+
},
|
|
776
|
+
description: "\uC131\uACF5 - \uAC15\uC870"
|
|
777
|
+
},
|
|
778
|
+
dim: {
|
|
779
|
+
light: {
|
|
780
|
+
source: "green.800"
|
|
781
|
+
},
|
|
782
|
+
dark: {
|
|
783
|
+
source: "green.300"
|
|
784
|
+
},
|
|
785
|
+
description: "\uC131\uACF5 - \uB524"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
warning: {
|
|
789
|
+
base: {
|
|
790
|
+
light: {
|
|
791
|
+
source: "yellow.500"
|
|
792
|
+
},
|
|
793
|
+
dark: {
|
|
794
|
+
source: "yellow.600"
|
|
795
|
+
},
|
|
796
|
+
description: "\uACBD\uACE0"
|
|
797
|
+
},
|
|
798
|
+
hover: {
|
|
799
|
+
light: {
|
|
800
|
+
source: "yellow.600"
|
|
801
|
+
},
|
|
802
|
+
dark: {
|
|
803
|
+
source: "yellow.500"
|
|
804
|
+
},
|
|
805
|
+
description: "\uACBD\uACE0 - \uD638\uBC84"
|
|
806
|
+
},
|
|
807
|
+
pressed: {
|
|
808
|
+
light: {
|
|
809
|
+
source: "yellow.700"
|
|
810
|
+
},
|
|
811
|
+
dark: {
|
|
812
|
+
source: "yellow.700"
|
|
813
|
+
},
|
|
814
|
+
description: "\uACBD\uACE0 - \uD504\uB808\uC2A4"
|
|
815
|
+
},
|
|
816
|
+
disabled: {
|
|
817
|
+
light: {
|
|
818
|
+
source: "yellow.900"
|
|
819
|
+
},
|
|
820
|
+
dark: {
|
|
821
|
+
source: "yellow.200"
|
|
822
|
+
},
|
|
823
|
+
description: "\uACBD\uACE0 - \uBE44\uD65C\uC131"
|
|
824
|
+
},
|
|
825
|
+
intense: {
|
|
826
|
+
light: {
|
|
827
|
+
source: "yellow.400"
|
|
828
|
+
},
|
|
829
|
+
dark: {
|
|
830
|
+
source: "yellow.600"
|
|
831
|
+
},
|
|
832
|
+
description: "\uACBD\uACE0 - \uAC15\uC870"
|
|
833
|
+
},
|
|
834
|
+
dim: {
|
|
835
|
+
light: {
|
|
836
|
+
source: "yellow.800"
|
|
837
|
+
},
|
|
838
|
+
dark: {
|
|
839
|
+
source: "yellow.300"
|
|
840
|
+
},
|
|
841
|
+
description: "\uACBD\uACE0 - \uB524"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
danger: {
|
|
845
|
+
base: {
|
|
846
|
+
light: {
|
|
847
|
+
source: "red.500"
|
|
848
|
+
},
|
|
849
|
+
dark: {
|
|
850
|
+
source: "red.500"
|
|
851
|
+
},
|
|
852
|
+
description: "\uC704\uD5D8/\uC624\uB958"
|
|
853
|
+
},
|
|
854
|
+
hover: {
|
|
855
|
+
light: {
|
|
856
|
+
source: "red.600"
|
|
857
|
+
},
|
|
858
|
+
dark: {
|
|
859
|
+
source: "red.600"
|
|
860
|
+
},
|
|
861
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uD638\uBC84"
|
|
862
|
+
},
|
|
863
|
+
pressed: {
|
|
864
|
+
light: {
|
|
865
|
+
source: "red.300"
|
|
866
|
+
},
|
|
867
|
+
dark: {
|
|
868
|
+
source: "red.400"
|
|
869
|
+
},
|
|
870
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uD504\uB808\uC2A4"
|
|
871
|
+
},
|
|
872
|
+
disabled: {
|
|
873
|
+
light: {
|
|
874
|
+
source: "red.900"
|
|
875
|
+
},
|
|
876
|
+
dark: {
|
|
877
|
+
source: "red.200"
|
|
878
|
+
},
|
|
879
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uBE44\uD65C\uC131"
|
|
880
|
+
},
|
|
881
|
+
intense: {
|
|
882
|
+
light: {
|
|
883
|
+
source: "red.400"
|
|
884
|
+
},
|
|
885
|
+
dark: {
|
|
886
|
+
source: "red.700"
|
|
887
|
+
},
|
|
888
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uAC15\uC870"
|
|
889
|
+
},
|
|
890
|
+
dim: {
|
|
891
|
+
light: {
|
|
892
|
+
source: "red.800"
|
|
893
|
+
},
|
|
894
|
+
dark: {
|
|
895
|
+
source: "red.300"
|
|
896
|
+
},
|
|
897
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uB524"
|
|
898
|
+
},
|
|
899
|
+
focus: {
|
|
900
|
+
light: {
|
|
901
|
+
source: "red.600"
|
|
902
|
+
},
|
|
903
|
+
dark: {
|
|
904
|
+
source: "red.300"
|
|
905
|
+
},
|
|
906
|
+
description: "\uC704\uD5D8/\uC624\uB958 - \uD3EC\uCEE4\uC2A4"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
info: {
|
|
910
|
+
base: {
|
|
911
|
+
light: {
|
|
912
|
+
source: "blue.500"
|
|
913
|
+
},
|
|
914
|
+
dark: {
|
|
915
|
+
source: "blue.500"
|
|
916
|
+
},
|
|
917
|
+
description: "\uC815\uBCF4"
|
|
918
|
+
},
|
|
919
|
+
hover: {
|
|
920
|
+
light: {
|
|
921
|
+
source: "blue.600"
|
|
922
|
+
},
|
|
923
|
+
dark: {
|
|
924
|
+
source: "blue.600"
|
|
925
|
+
},
|
|
926
|
+
description: "\uC815\uBCF4 - \uD638\uBC84"
|
|
927
|
+
},
|
|
928
|
+
pressed: {
|
|
929
|
+
light: {
|
|
930
|
+
source: "blue.400"
|
|
931
|
+
},
|
|
932
|
+
dark: {
|
|
933
|
+
source: "blue.400"
|
|
934
|
+
},
|
|
935
|
+
description: "\uC815\uBCF4 - \uD504\uB808\uC2A4"
|
|
936
|
+
},
|
|
937
|
+
disabled: {
|
|
938
|
+
light: {
|
|
939
|
+
source: "blue.900"
|
|
940
|
+
},
|
|
941
|
+
dark: {
|
|
942
|
+
source: "blue.200"
|
|
943
|
+
},
|
|
944
|
+
description: "\uC815\uBCF4 - \uBE44\uD65C\uC131"
|
|
945
|
+
},
|
|
946
|
+
intense: {
|
|
947
|
+
light: {
|
|
948
|
+
source: "blue.300"
|
|
949
|
+
},
|
|
950
|
+
dark: {
|
|
951
|
+
source: "blue.600"
|
|
952
|
+
},
|
|
953
|
+
description: "\uC815\uBCF4 - \uAC15\uC870"
|
|
954
|
+
},
|
|
955
|
+
dim: {
|
|
956
|
+
light: {
|
|
957
|
+
source: "blue.800"
|
|
958
|
+
},
|
|
959
|
+
dark: {
|
|
960
|
+
source: "blue.300"
|
|
961
|
+
},
|
|
962
|
+
description: "\uC815\uBCF4 - \uB524"
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
overlay: {
|
|
967
|
+
dim: {
|
|
968
|
+
light: {
|
|
969
|
+
source: "special.black"
|
|
970
|
+
},
|
|
971
|
+
dark: {
|
|
972
|
+
source: "special.black"
|
|
973
|
+
},
|
|
974
|
+
opacity: "overlay.dim",
|
|
975
|
+
description: "\uBAA8\uB2EC/\uC2DC\uD2B8 \uBC30\uACBD \uB524 \uCC98\uB9AC"
|
|
976
|
+
},
|
|
977
|
+
light: {
|
|
978
|
+
light: {
|
|
979
|
+
source: "special.black"
|
|
980
|
+
},
|
|
981
|
+
dark: {
|
|
982
|
+
source: "special.black"
|
|
983
|
+
},
|
|
984
|
+
opacity: "overlay.light",
|
|
985
|
+
description: "\uAC00\uBCBC\uC6B4 \uC624\uBC84\uB808\uC774"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
static: {
|
|
989
|
+
white: {
|
|
990
|
+
light: {
|
|
991
|
+
source: "special.white"
|
|
992
|
+
},
|
|
993
|
+
dark: {
|
|
994
|
+
source: "special.white"
|
|
995
|
+
},
|
|
996
|
+
description: "\uBAA8\uB4DC \uBD88\uBCC0 \uD654\uC774\uD2B8"
|
|
997
|
+
},
|
|
998
|
+
black: {
|
|
999
|
+
light: {
|
|
1000
|
+
source: "special.black"
|
|
1001
|
+
},
|
|
1002
|
+
dark: {
|
|
1003
|
+
source: "special.black"
|
|
1004
|
+
},
|
|
1005
|
+
description: "\uBAA8\uB4DC \uBD88\uBCC0 \uBE14\uB799"
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
// src/data/typography.json
|
|
1012
|
+
var typography_default = {
|
|
1013
|
+
primitive: {
|
|
1014
|
+
fontFamily: {
|
|
1015
|
+
sans: [
|
|
1016
|
+
"Inter",
|
|
1017
|
+
"Pretendard",
|
|
1018
|
+
"system-ui",
|
|
1019
|
+
"sans-serif"
|
|
1020
|
+
],
|
|
1021
|
+
mono: [
|
|
1022
|
+
"JetBrains Mono",
|
|
1023
|
+
"Fira Code",
|
|
1024
|
+
"monospace"
|
|
1025
|
+
]
|
|
1026
|
+
},
|
|
1027
|
+
fontSize: {
|
|
1028
|
+
"10": "0.625rem",
|
|
1029
|
+
"11": "0.6875rem",
|
|
1030
|
+
"12": "0.75rem",
|
|
1031
|
+
"14": "0.875rem",
|
|
1032
|
+
"16": "1rem",
|
|
1033
|
+
"18": "1.125rem",
|
|
1034
|
+
"20": "1.25rem",
|
|
1035
|
+
"24": "1.5rem",
|
|
1036
|
+
"30": "1.875rem",
|
|
1037
|
+
"36": "2.25rem",
|
|
1038
|
+
"48": "3rem",
|
|
1039
|
+
"60": "3.75rem"
|
|
1040
|
+
},
|
|
1041
|
+
fontWeight: {
|
|
1042
|
+
"400": "400",
|
|
1043
|
+
"500": "500",
|
|
1044
|
+
"600": "600",
|
|
1045
|
+
"700": "700"
|
|
1046
|
+
},
|
|
1047
|
+
lineHeight: {
|
|
1048
|
+
"100": "1",
|
|
1049
|
+
"125": "1.25",
|
|
1050
|
+
"150": "1.5",
|
|
1051
|
+
"175": "1.75",
|
|
1052
|
+
"200": "2"
|
|
1053
|
+
},
|
|
1054
|
+
letterSpacing: {
|
|
1055
|
+
"0": "0",
|
|
1056
|
+
"1": "0.01em",
|
|
1057
|
+
"2": "0.02em",
|
|
1058
|
+
"4": "0.04em",
|
|
1059
|
+
"-2": "-0.02em",
|
|
1060
|
+
"-1": "-0.01em"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
semantic: {
|
|
1064
|
+
text: {
|
|
1065
|
+
xs: {
|
|
1066
|
+
fontSize: {
|
|
1067
|
+
source: "fontSize.12"
|
|
1068
|
+
},
|
|
1069
|
+
lineHeight: {
|
|
1070
|
+
source: "lineHeight.150"
|
|
1071
|
+
},
|
|
1072
|
+
fontFamily: {
|
|
1073
|
+
source: "fontFamily.sans"
|
|
1074
|
+
},
|
|
1075
|
+
fontWeight: {
|
|
1076
|
+
source: "fontWeight.400"
|
|
1077
|
+
},
|
|
1078
|
+
letterSpacing: {
|
|
1079
|
+
source: "letterSpacing.-1"
|
|
1080
|
+
},
|
|
1081
|
+
description: "\uAC00\uC7A5 \uC791\uC740 \uD14D\uC2A4\uD2B8"
|
|
1082
|
+
},
|
|
1083
|
+
sm: {
|
|
1084
|
+
fontSize: {
|
|
1085
|
+
source: "fontSize.14"
|
|
1086
|
+
},
|
|
1087
|
+
lineHeight: {
|
|
1088
|
+
source: "lineHeight.150"
|
|
1089
|
+
},
|
|
1090
|
+
fontFamily: {
|
|
1091
|
+
source: "fontFamily.sans"
|
|
1092
|
+
},
|
|
1093
|
+
fontWeight: {
|
|
1094
|
+
source: "fontWeight.400"
|
|
1095
|
+
},
|
|
1096
|
+
letterSpacing: {
|
|
1097
|
+
source: "letterSpacing.-1"
|
|
1098
|
+
},
|
|
1099
|
+
description: "\uC791\uC740 \uD14D\uC2A4\uD2B8"
|
|
1100
|
+
},
|
|
1101
|
+
base: {
|
|
1102
|
+
fontSize: {
|
|
1103
|
+
source: "fontSize.16"
|
|
1104
|
+
},
|
|
1105
|
+
lineHeight: {
|
|
1106
|
+
source: "lineHeight.150"
|
|
1107
|
+
},
|
|
1108
|
+
fontFamily: {
|
|
1109
|
+
source: "fontFamily.sans"
|
|
1110
|
+
},
|
|
1111
|
+
fontWeight: {
|
|
1112
|
+
source: "fontWeight.400"
|
|
1113
|
+
},
|
|
1114
|
+
letterSpacing: {
|
|
1115
|
+
source: "letterSpacing.-1"
|
|
1116
|
+
},
|
|
1117
|
+
description: "\uAE30\uBCF8 \uD14D\uC2A4\uD2B8"
|
|
1118
|
+
},
|
|
1119
|
+
lg: {
|
|
1120
|
+
fontSize: {
|
|
1121
|
+
source: "fontSize.18"
|
|
1122
|
+
},
|
|
1123
|
+
lineHeight: {
|
|
1124
|
+
source: "lineHeight.150"
|
|
1125
|
+
},
|
|
1126
|
+
fontFamily: {
|
|
1127
|
+
source: "fontFamily.sans"
|
|
1128
|
+
},
|
|
1129
|
+
fontWeight: {
|
|
1130
|
+
source: "fontWeight.400"
|
|
1131
|
+
},
|
|
1132
|
+
letterSpacing: {
|
|
1133
|
+
source: "letterSpacing.-1"
|
|
1134
|
+
},
|
|
1135
|
+
description: "\uD070 \uD14D\uC2A4\uD2B8"
|
|
1136
|
+
},
|
|
1137
|
+
xl: {
|
|
1138
|
+
fontSize: {
|
|
1139
|
+
source: "fontSize.20"
|
|
1140
|
+
},
|
|
1141
|
+
lineHeight: {
|
|
1142
|
+
source: "lineHeight.150"
|
|
1143
|
+
},
|
|
1144
|
+
fontFamily: {
|
|
1145
|
+
source: "fontFamily.sans"
|
|
1146
|
+
},
|
|
1147
|
+
fontWeight: {
|
|
1148
|
+
source: "fontWeight.400"
|
|
1149
|
+
},
|
|
1150
|
+
letterSpacing: {
|
|
1151
|
+
source: "letterSpacing.-1"
|
|
1152
|
+
},
|
|
1153
|
+
description: "\uC544\uC8FC \uD070 \uD14D\uC2A4\uD2B8"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"text-medium": {
|
|
1157
|
+
xs: {
|
|
1158
|
+
fontSize: {
|
|
1159
|
+
source: "fontSize.12"
|
|
1160
|
+
},
|
|
1161
|
+
lineHeight: {
|
|
1162
|
+
source: "lineHeight.150"
|
|
1163
|
+
},
|
|
1164
|
+
fontWeight: {
|
|
1165
|
+
source: "fontWeight.500"
|
|
1166
|
+
},
|
|
1167
|
+
fontFamily: {
|
|
1168
|
+
source: "fontFamily.sans"
|
|
1169
|
+
},
|
|
1170
|
+
letterSpacing: {
|
|
1171
|
+
source: "letterSpacing.-1"
|
|
1172
|
+
},
|
|
1173
|
+
description: "\uAC00\uC7A5 \uC791\uC740 \uD14D\uC2A4\uD2B8 - Medium"
|
|
1174
|
+
},
|
|
1175
|
+
sm: {
|
|
1176
|
+
fontSize: {
|
|
1177
|
+
source: "fontSize.14"
|
|
1178
|
+
},
|
|
1179
|
+
lineHeight: {
|
|
1180
|
+
source: "lineHeight.150"
|
|
1181
|
+
},
|
|
1182
|
+
fontWeight: {
|
|
1183
|
+
source: "fontWeight.500"
|
|
1184
|
+
},
|
|
1185
|
+
fontFamily: {
|
|
1186
|
+
source: "fontFamily.sans"
|
|
1187
|
+
},
|
|
1188
|
+
letterSpacing: {
|
|
1189
|
+
source: "letterSpacing.-1"
|
|
1190
|
+
},
|
|
1191
|
+
description: "\uC791\uC740 \uD14D\uC2A4\uD2B8 - Medium"
|
|
1192
|
+
},
|
|
1193
|
+
base: {
|
|
1194
|
+
fontSize: {
|
|
1195
|
+
source: "fontSize.16"
|
|
1196
|
+
},
|
|
1197
|
+
lineHeight: {
|
|
1198
|
+
source: "lineHeight.150"
|
|
1199
|
+
},
|
|
1200
|
+
fontWeight: {
|
|
1201
|
+
source: "fontWeight.500"
|
|
1202
|
+
},
|
|
1203
|
+
fontFamily: {
|
|
1204
|
+
source: "fontFamily.sans"
|
|
1205
|
+
},
|
|
1206
|
+
letterSpacing: {
|
|
1207
|
+
source: "letterSpacing.-1"
|
|
1208
|
+
},
|
|
1209
|
+
description: "\uAE30\uBCF8 \uD14D\uC2A4\uD2B8 - Medium"
|
|
1210
|
+
},
|
|
1211
|
+
lg: {
|
|
1212
|
+
fontSize: {
|
|
1213
|
+
source: "fontSize.18"
|
|
1214
|
+
},
|
|
1215
|
+
lineHeight: {
|
|
1216
|
+
source: "lineHeight.150"
|
|
1217
|
+
},
|
|
1218
|
+
fontWeight: {
|
|
1219
|
+
source: "fontWeight.500"
|
|
1220
|
+
},
|
|
1221
|
+
fontFamily: {
|
|
1222
|
+
source: "fontFamily.sans"
|
|
1223
|
+
},
|
|
1224
|
+
letterSpacing: {
|
|
1225
|
+
source: "letterSpacing.-1"
|
|
1226
|
+
},
|
|
1227
|
+
description: "\uD070 \uD14D\uC2A4\uD2B8 - Medium"
|
|
1228
|
+
},
|
|
1229
|
+
xl: {
|
|
1230
|
+
fontSize: {
|
|
1231
|
+
source: "fontSize.20"
|
|
1232
|
+
},
|
|
1233
|
+
lineHeight: {
|
|
1234
|
+
source: "lineHeight.150"
|
|
1235
|
+
},
|
|
1236
|
+
fontWeight: {
|
|
1237
|
+
source: "fontWeight.500"
|
|
1238
|
+
},
|
|
1239
|
+
fontFamily: {
|
|
1240
|
+
source: "fontFamily.sans"
|
|
1241
|
+
},
|
|
1242
|
+
letterSpacing: {
|
|
1243
|
+
source: "letterSpacing.-1"
|
|
1244
|
+
},
|
|
1245
|
+
description: "\uC544\uC8FC \uD070 \uD14D\uC2A4\uD2B8 - Medium"
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
"text-semibold": {
|
|
1249
|
+
xs: {
|
|
1250
|
+
fontSize: {
|
|
1251
|
+
source: "fontSize.12"
|
|
1252
|
+
},
|
|
1253
|
+
lineHeight: {
|
|
1254
|
+
source: "lineHeight.150"
|
|
1255
|
+
},
|
|
1256
|
+
fontWeight: {
|
|
1257
|
+
source: "fontWeight.600"
|
|
1258
|
+
},
|
|
1259
|
+
fontFamily: {
|
|
1260
|
+
source: "fontFamily.sans"
|
|
1261
|
+
},
|
|
1262
|
+
letterSpacing: {
|
|
1263
|
+
source: "letterSpacing.-1"
|
|
1264
|
+
},
|
|
1265
|
+
description: "\uAC00\uC7A5 \uC791\uC740 \uD14D\uC2A4\uD2B8 - Semibold"
|
|
1266
|
+
},
|
|
1267
|
+
sm: {
|
|
1268
|
+
fontSize: {
|
|
1269
|
+
source: "fontSize.14"
|
|
1270
|
+
},
|
|
1271
|
+
lineHeight: {
|
|
1272
|
+
source: "lineHeight.150"
|
|
1273
|
+
},
|
|
1274
|
+
fontWeight: {
|
|
1275
|
+
source: "fontWeight.600"
|
|
1276
|
+
},
|
|
1277
|
+
fontFamily: {
|
|
1278
|
+
source: "fontFamily.sans"
|
|
1279
|
+
},
|
|
1280
|
+
letterSpacing: {
|
|
1281
|
+
source: "letterSpacing.-1"
|
|
1282
|
+
},
|
|
1283
|
+
description: "\uC791\uC740 \uD14D\uC2A4\uD2B8 - Semibold"
|
|
1284
|
+
},
|
|
1285
|
+
base: {
|
|
1286
|
+
fontSize: {
|
|
1287
|
+
source: "fontSize.16"
|
|
1288
|
+
},
|
|
1289
|
+
lineHeight: {
|
|
1290
|
+
source: "lineHeight.150"
|
|
1291
|
+
},
|
|
1292
|
+
fontWeight: {
|
|
1293
|
+
source: "fontWeight.600"
|
|
1294
|
+
},
|
|
1295
|
+
fontFamily: {
|
|
1296
|
+
source: "fontFamily.sans"
|
|
1297
|
+
},
|
|
1298
|
+
letterSpacing: {
|
|
1299
|
+
source: "letterSpacing.-1"
|
|
1300
|
+
},
|
|
1301
|
+
description: "\uAE30\uBCF8 \uD14D\uC2A4\uD2B8 - Semibold"
|
|
1302
|
+
},
|
|
1303
|
+
lg: {
|
|
1304
|
+
fontSize: {
|
|
1305
|
+
source: "fontSize.18"
|
|
1306
|
+
},
|
|
1307
|
+
lineHeight: {
|
|
1308
|
+
source: "lineHeight.150"
|
|
1309
|
+
},
|
|
1310
|
+
fontWeight: {
|
|
1311
|
+
source: "fontWeight.600"
|
|
1312
|
+
},
|
|
1313
|
+
fontFamily: {
|
|
1314
|
+
source: "fontFamily.sans"
|
|
1315
|
+
},
|
|
1316
|
+
letterSpacing: {
|
|
1317
|
+
source: "letterSpacing.-1"
|
|
1318
|
+
},
|
|
1319
|
+
description: "\uD070 \uD14D\uC2A4\uD2B8 - Semibold"
|
|
1320
|
+
},
|
|
1321
|
+
xl: {
|
|
1322
|
+
fontSize: {
|
|
1323
|
+
source: "fontSize.20"
|
|
1324
|
+
},
|
|
1325
|
+
lineHeight: {
|
|
1326
|
+
source: "lineHeight.150"
|
|
1327
|
+
},
|
|
1328
|
+
fontWeight: {
|
|
1329
|
+
source: "fontWeight.600"
|
|
1330
|
+
},
|
|
1331
|
+
fontFamily: {
|
|
1332
|
+
source: "fontFamily.sans"
|
|
1333
|
+
},
|
|
1334
|
+
letterSpacing: {
|
|
1335
|
+
source: "letterSpacing.-1"
|
|
1336
|
+
},
|
|
1337
|
+
description: "\uC544\uC8FC \uD070 \uD14D\uC2A4\uD2B8 - Semibold"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
heading: {
|
|
1341
|
+
h7: {
|
|
1342
|
+
fontSize: {
|
|
1343
|
+
source: "fontSize.14"
|
|
1344
|
+
},
|
|
1345
|
+
fontWeight: {
|
|
1346
|
+
source: "fontWeight.600"
|
|
1347
|
+
},
|
|
1348
|
+
lineHeight: {
|
|
1349
|
+
source: "lineHeight.125"
|
|
1350
|
+
},
|
|
1351
|
+
fontFamily: {
|
|
1352
|
+
source: "fontFamily.sans"
|
|
1353
|
+
},
|
|
1354
|
+
letterSpacing: {
|
|
1355
|
+
source: "letterSpacing.0"
|
|
1356
|
+
},
|
|
1357
|
+
description: "Heading 7"
|
|
1358
|
+
},
|
|
1359
|
+
h6: {
|
|
1360
|
+
fontSize: {
|
|
1361
|
+
source: "fontSize.16"
|
|
1362
|
+
},
|
|
1363
|
+
fontWeight: {
|
|
1364
|
+
source: "fontWeight.600"
|
|
1365
|
+
},
|
|
1366
|
+
lineHeight: {
|
|
1367
|
+
source: "lineHeight.125"
|
|
1368
|
+
},
|
|
1369
|
+
fontFamily: {
|
|
1370
|
+
source: "fontFamily.sans"
|
|
1371
|
+
},
|
|
1372
|
+
letterSpacing: {
|
|
1373
|
+
source: "letterSpacing.0"
|
|
1374
|
+
},
|
|
1375
|
+
description: "Heading 6"
|
|
1376
|
+
},
|
|
1377
|
+
h5: {
|
|
1378
|
+
fontSize: {
|
|
1379
|
+
source: "fontSize.18"
|
|
1380
|
+
},
|
|
1381
|
+
fontWeight: {
|
|
1382
|
+
source: "fontWeight.600"
|
|
1383
|
+
},
|
|
1384
|
+
lineHeight: {
|
|
1385
|
+
source: "lineHeight.125"
|
|
1386
|
+
},
|
|
1387
|
+
fontFamily: {
|
|
1388
|
+
source: "fontFamily.sans"
|
|
1389
|
+
},
|
|
1390
|
+
letterSpacing: {
|
|
1391
|
+
source: "letterSpacing.0"
|
|
1392
|
+
},
|
|
1393
|
+
description: "Heading 5"
|
|
1394
|
+
},
|
|
1395
|
+
h4: {
|
|
1396
|
+
fontSize: {
|
|
1397
|
+
source: "fontSize.20"
|
|
1398
|
+
},
|
|
1399
|
+
fontWeight: {
|
|
1400
|
+
source: "fontWeight.600"
|
|
1401
|
+
},
|
|
1402
|
+
lineHeight: {
|
|
1403
|
+
source: "lineHeight.125"
|
|
1404
|
+
},
|
|
1405
|
+
fontFamily: {
|
|
1406
|
+
source: "fontFamily.sans"
|
|
1407
|
+
},
|
|
1408
|
+
letterSpacing: {
|
|
1409
|
+
source: "letterSpacing.0"
|
|
1410
|
+
},
|
|
1411
|
+
description: "Heading 4"
|
|
1412
|
+
},
|
|
1413
|
+
h3: {
|
|
1414
|
+
fontSize: {
|
|
1415
|
+
source: "fontSize.24"
|
|
1416
|
+
},
|
|
1417
|
+
fontWeight: {
|
|
1418
|
+
source: "fontWeight.600"
|
|
1419
|
+
},
|
|
1420
|
+
lineHeight: {
|
|
1421
|
+
source: "lineHeight.125"
|
|
1422
|
+
},
|
|
1423
|
+
fontFamily: {
|
|
1424
|
+
source: "fontFamily.sans"
|
|
1425
|
+
},
|
|
1426
|
+
letterSpacing: {
|
|
1427
|
+
source: "letterSpacing.0"
|
|
1428
|
+
},
|
|
1429
|
+
description: "Heading 3"
|
|
1430
|
+
},
|
|
1431
|
+
h2: {
|
|
1432
|
+
fontSize: {
|
|
1433
|
+
source: "fontSize.30"
|
|
1434
|
+
},
|
|
1435
|
+
fontWeight: {
|
|
1436
|
+
source: "fontWeight.700"
|
|
1437
|
+
},
|
|
1438
|
+
lineHeight: {
|
|
1439
|
+
source: "lineHeight.125"
|
|
1440
|
+
},
|
|
1441
|
+
fontFamily: {
|
|
1442
|
+
source: "fontFamily.sans"
|
|
1443
|
+
},
|
|
1444
|
+
letterSpacing: {
|
|
1445
|
+
source: "letterSpacing.0"
|
|
1446
|
+
},
|
|
1447
|
+
description: "Heading 2"
|
|
1448
|
+
},
|
|
1449
|
+
h1: {
|
|
1450
|
+
fontSize: {
|
|
1451
|
+
source: "fontSize.36"
|
|
1452
|
+
},
|
|
1453
|
+
fontWeight: {
|
|
1454
|
+
source: "fontWeight.700"
|
|
1455
|
+
},
|
|
1456
|
+
lineHeight: {
|
|
1457
|
+
source: "lineHeight.125"
|
|
1458
|
+
},
|
|
1459
|
+
fontFamily: {
|
|
1460
|
+
source: "fontFamily.sans"
|
|
1461
|
+
},
|
|
1462
|
+
letterSpacing: {
|
|
1463
|
+
source: "letterSpacing.0"
|
|
1464
|
+
},
|
|
1465
|
+
description: "Heading 1"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
display: {
|
|
1469
|
+
sm: {
|
|
1470
|
+
fontSize: {
|
|
1471
|
+
source: "fontSize.36"
|
|
1472
|
+
},
|
|
1473
|
+
fontWeight: {
|
|
1474
|
+
source: "fontWeight.700"
|
|
1475
|
+
},
|
|
1476
|
+
lineHeight: {
|
|
1477
|
+
source: "lineHeight.125"
|
|
1478
|
+
},
|
|
1479
|
+
letterSpacing: {
|
|
1480
|
+
source: "letterSpacing.0"
|
|
1481
|
+
},
|
|
1482
|
+
fontFamily: {
|
|
1483
|
+
source: "fontFamily.sans"
|
|
1484
|
+
},
|
|
1485
|
+
description: "Display Small"
|
|
1486
|
+
},
|
|
1487
|
+
md: {
|
|
1488
|
+
fontSize: {
|
|
1489
|
+
source: "fontSize.48"
|
|
1490
|
+
},
|
|
1491
|
+
fontWeight: {
|
|
1492
|
+
source: "fontWeight.700"
|
|
1493
|
+
},
|
|
1494
|
+
lineHeight: {
|
|
1495
|
+
source: "lineHeight.125"
|
|
1496
|
+
},
|
|
1497
|
+
letterSpacing: {
|
|
1498
|
+
source: "letterSpacing.0"
|
|
1499
|
+
},
|
|
1500
|
+
fontFamily: {
|
|
1501
|
+
source: "fontFamily.sans"
|
|
1502
|
+
},
|
|
1503
|
+
description: "Display Medium"
|
|
1504
|
+
},
|
|
1505
|
+
lg: {
|
|
1506
|
+
fontSize: {
|
|
1507
|
+
source: "fontSize.60"
|
|
1508
|
+
},
|
|
1509
|
+
fontWeight: {
|
|
1510
|
+
source: "fontWeight.700"
|
|
1511
|
+
},
|
|
1512
|
+
lineHeight: {
|
|
1513
|
+
source: "lineHeight.125"
|
|
1514
|
+
},
|
|
1515
|
+
letterSpacing: {
|
|
1516
|
+
source: "letterSpacing.0"
|
|
1517
|
+
},
|
|
1518
|
+
fontFamily: {
|
|
1519
|
+
source: "fontFamily.sans"
|
|
1520
|
+
},
|
|
1521
|
+
description: "Display Large"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
label: {
|
|
1525
|
+
sm: {
|
|
1526
|
+
fontSize: {
|
|
1527
|
+
source: "fontSize.12"
|
|
1528
|
+
},
|
|
1529
|
+
fontWeight: {
|
|
1530
|
+
source: "fontWeight.500"
|
|
1531
|
+
},
|
|
1532
|
+
lineHeight: {
|
|
1533
|
+
source: "lineHeight.100"
|
|
1534
|
+
},
|
|
1535
|
+
letterSpacing: {
|
|
1536
|
+
source: "letterSpacing.0"
|
|
1537
|
+
},
|
|
1538
|
+
fontFamily: {
|
|
1539
|
+
source: "fontFamily.sans"
|
|
1540
|
+
},
|
|
1541
|
+
description: "Label Small"
|
|
1542
|
+
},
|
|
1543
|
+
md: {
|
|
1544
|
+
fontSize: {
|
|
1545
|
+
source: "fontSize.14"
|
|
1546
|
+
},
|
|
1547
|
+
fontWeight: {
|
|
1548
|
+
source: "fontWeight.500"
|
|
1549
|
+
},
|
|
1550
|
+
lineHeight: {
|
|
1551
|
+
source: "lineHeight.100"
|
|
1552
|
+
},
|
|
1553
|
+
letterSpacing: {
|
|
1554
|
+
source: "letterSpacing.0"
|
|
1555
|
+
},
|
|
1556
|
+
fontFamily: {
|
|
1557
|
+
source: "fontFamily.sans"
|
|
1558
|
+
},
|
|
1559
|
+
description: "Label Medium"
|
|
1560
|
+
},
|
|
1561
|
+
lg: {
|
|
1562
|
+
fontSize: {
|
|
1563
|
+
source: "fontSize.16"
|
|
1564
|
+
},
|
|
1565
|
+
fontWeight: {
|
|
1566
|
+
source: "fontWeight.500"
|
|
1567
|
+
},
|
|
1568
|
+
lineHeight: {
|
|
1569
|
+
source: "lineHeight.100"
|
|
1570
|
+
},
|
|
1571
|
+
letterSpacing: {
|
|
1572
|
+
source: "letterSpacing.0"
|
|
1573
|
+
},
|
|
1574
|
+
fontFamily: {
|
|
1575
|
+
source: "fontFamily.sans"
|
|
1576
|
+
},
|
|
1577
|
+
description: "Label Large"
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
"label-semibold": {
|
|
1581
|
+
sm: {
|
|
1582
|
+
fontSize: {
|
|
1583
|
+
source: "fontSize.12"
|
|
1584
|
+
},
|
|
1585
|
+
fontWeight: {
|
|
1586
|
+
source: "fontWeight.600"
|
|
1587
|
+
},
|
|
1588
|
+
lineHeight: {
|
|
1589
|
+
source: "lineHeight.100"
|
|
1590
|
+
},
|
|
1591
|
+
letterSpacing: {
|
|
1592
|
+
source: "letterSpacing.0"
|
|
1593
|
+
},
|
|
1594
|
+
fontFamily: {
|
|
1595
|
+
source: "fontFamily.sans"
|
|
1596
|
+
},
|
|
1597
|
+
description: "Label Small - Semibold"
|
|
1598
|
+
},
|
|
1599
|
+
md: {
|
|
1600
|
+
fontSize: {
|
|
1601
|
+
source: "fontSize.14"
|
|
1602
|
+
},
|
|
1603
|
+
fontWeight: {
|
|
1604
|
+
source: "fontWeight.600"
|
|
1605
|
+
},
|
|
1606
|
+
lineHeight: {
|
|
1607
|
+
source: "lineHeight.100"
|
|
1608
|
+
},
|
|
1609
|
+
letterSpacing: {
|
|
1610
|
+
source: "letterSpacing.0"
|
|
1611
|
+
},
|
|
1612
|
+
fontFamily: {
|
|
1613
|
+
source: "fontFamily.sans"
|
|
1614
|
+
},
|
|
1615
|
+
description: "Label Medium - Semibold"
|
|
1616
|
+
},
|
|
1617
|
+
lg: {
|
|
1618
|
+
fontSize: {
|
|
1619
|
+
source: "fontSize.16"
|
|
1620
|
+
},
|
|
1621
|
+
fontWeight: {
|
|
1622
|
+
source: "fontWeight.600"
|
|
1623
|
+
},
|
|
1624
|
+
lineHeight: {
|
|
1625
|
+
source: "lineHeight.100"
|
|
1626
|
+
},
|
|
1627
|
+
letterSpacing: {
|
|
1628
|
+
source: "letterSpacing.0"
|
|
1629
|
+
},
|
|
1630
|
+
fontFamily: {
|
|
1631
|
+
source: "fontFamily.sans"
|
|
1632
|
+
},
|
|
1633
|
+
description: "Label Large - Semibold"
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
// src/data/space.json
|
|
1640
|
+
var space_default = {
|
|
1641
|
+
primitive: {
|
|
1642
|
+
"0": "0",
|
|
1643
|
+
"1": "0.25rem",
|
|
1644
|
+
"2": "0.5rem",
|
|
1645
|
+
"3": "0.75rem",
|
|
1646
|
+
"4": "1rem",
|
|
1647
|
+
"5": "1.25rem",
|
|
1648
|
+
"6": "1.5rem",
|
|
1649
|
+
"8": "2rem",
|
|
1650
|
+
"10": "2.5rem",
|
|
1651
|
+
"12": "3rem",
|
|
1652
|
+
"16": "4rem",
|
|
1653
|
+
"20": "5rem",
|
|
1654
|
+
"24": "6rem",
|
|
1655
|
+
"32": "8rem",
|
|
1656
|
+
"40": "10rem",
|
|
1657
|
+
"48": "12rem",
|
|
1658
|
+
"56": "14rem",
|
|
1659
|
+
"64": "16rem",
|
|
1660
|
+
px: "1px"
|
|
1661
|
+
},
|
|
1662
|
+
semantic: {
|
|
1663
|
+
padding: {
|
|
1664
|
+
none: {
|
|
1665
|
+
source: "0",
|
|
1666
|
+
description: "No padding (0px)"
|
|
1667
|
+
},
|
|
1668
|
+
"2xs": {
|
|
1669
|
+
source: "1",
|
|
1670
|
+
description: "2X extra small padding (4px)"
|
|
1671
|
+
},
|
|
1672
|
+
xs: {
|
|
1673
|
+
source: "2",
|
|
1674
|
+
description: "Extra small padding (4px)"
|
|
1675
|
+
},
|
|
1676
|
+
sm: {
|
|
1677
|
+
source: "3",
|
|
1678
|
+
description: "Small padding (8px)"
|
|
1679
|
+
},
|
|
1680
|
+
md: {
|
|
1681
|
+
source: "4",
|
|
1682
|
+
description: "Medium padding (16px)"
|
|
1683
|
+
},
|
|
1684
|
+
lg: {
|
|
1685
|
+
source: "6",
|
|
1686
|
+
description: "Large padding (24px)"
|
|
1687
|
+
},
|
|
1688
|
+
xl: {
|
|
1689
|
+
source: "8",
|
|
1690
|
+
description: "Extra large padding (32px)"
|
|
1691
|
+
},
|
|
1692
|
+
"2xl": {
|
|
1693
|
+
source: "10",
|
|
1694
|
+
description: "2X large padding (48px)"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
gap: {
|
|
1698
|
+
none: {
|
|
1699
|
+
source: "0",
|
|
1700
|
+
description: "No gap (0px)"
|
|
1701
|
+
},
|
|
1702
|
+
xs: {
|
|
1703
|
+
source: "1",
|
|
1704
|
+
description: "Extra small gap (4px)"
|
|
1705
|
+
},
|
|
1706
|
+
sm: {
|
|
1707
|
+
source: "2",
|
|
1708
|
+
description: "Small gap (8px)"
|
|
1709
|
+
},
|
|
1710
|
+
md: {
|
|
1711
|
+
source: "4",
|
|
1712
|
+
description: "Medium gap (16px)"
|
|
1713
|
+
},
|
|
1714
|
+
lg: {
|
|
1715
|
+
source: "6",
|
|
1716
|
+
description: "Large gap (24px)"
|
|
1717
|
+
},
|
|
1718
|
+
xl: {
|
|
1719
|
+
source: "8",
|
|
1720
|
+
description: "Extra large gap (32px)"
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
// src/data/shadow.json
|
|
1727
|
+
var shadow_default = {
|
|
1728
|
+
primitive: {
|
|
1729
|
+
"0": "none",
|
|
1730
|
+
"1": "0 1px 2px 0 rgb(0 0 0 / 0.12)",
|
|
1731
|
+
"2": "0 1px 3px 0 rgb(0 0 0 / 0.12)",
|
|
1732
|
+
"3": "0 2px 8px -1px rgb(0 0 0 / 0.12)",
|
|
1733
|
+
"4": "0 4px 15px -3px rgb(0 0 0 / 0.12)",
|
|
1734
|
+
"5": "0 5px 25px -5px rgb(0 0 0 / 0.12)",
|
|
1735
|
+
"6": "0 6px 50px -12px rgb(0 0 0 / 0.12)",
|
|
1736
|
+
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
|
|
1737
|
+
"dark-1": "0 1px 2px 0 rgb(0 0 0 / 0.3)",
|
|
1738
|
+
"dark-2": "0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.3)",
|
|
1739
|
+
"dark-3": "0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3)",
|
|
1740
|
+
"dark-4": "0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3)",
|
|
1741
|
+
"dark-5": "0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3)",
|
|
1742
|
+
"dark-6": "0 25px 50px -12px rgb(0 0 0 / 0.6)"
|
|
1743
|
+
},
|
|
1744
|
+
semantic: {
|
|
1745
|
+
elevation: {
|
|
1746
|
+
none: {
|
|
1747
|
+
light: {
|
|
1748
|
+
source: "0"
|
|
1749
|
+
},
|
|
1750
|
+
dark: {
|
|
1751
|
+
source: "0"
|
|
1752
|
+
},
|
|
1753
|
+
description: "No shadow"
|
|
1754
|
+
},
|
|
1755
|
+
sm: {
|
|
1756
|
+
light: {
|
|
1757
|
+
source: "1"
|
|
1758
|
+
},
|
|
1759
|
+
dark: {
|
|
1760
|
+
source: "dark-1"
|
|
1761
|
+
},
|
|
1762
|
+
description: "Subtle shadow"
|
|
1763
|
+
},
|
|
1764
|
+
md: {
|
|
1765
|
+
light: {
|
|
1766
|
+
source: "2"
|
|
1767
|
+
},
|
|
1768
|
+
dark: {
|
|
1769
|
+
source: "dark-2"
|
|
1770
|
+
},
|
|
1771
|
+
description: "Default shadow"
|
|
1772
|
+
},
|
|
1773
|
+
lg: {
|
|
1774
|
+
light: {
|
|
1775
|
+
source: "3"
|
|
1776
|
+
},
|
|
1777
|
+
dark: {
|
|
1778
|
+
source: "dark-3"
|
|
1779
|
+
},
|
|
1780
|
+
description: "Elevated shadow"
|
|
1781
|
+
},
|
|
1782
|
+
xl: {
|
|
1783
|
+
light: {
|
|
1784
|
+
source: "4"
|
|
1785
|
+
},
|
|
1786
|
+
dark: {
|
|
1787
|
+
source: "dark-4"
|
|
1788
|
+
},
|
|
1789
|
+
description: "High elevation"
|
|
1790
|
+
},
|
|
1791
|
+
"2xl": {
|
|
1792
|
+
light: {
|
|
1793
|
+
source: "5"
|
|
1794
|
+
},
|
|
1795
|
+
dark: {
|
|
1796
|
+
source: "dark-5"
|
|
1797
|
+
},
|
|
1798
|
+
description: "Highest elevation"
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
// src/data/radius.json
|
|
1805
|
+
var radius_default = {
|
|
1806
|
+
primitive: {
|
|
1807
|
+
"0": "0px",
|
|
1808
|
+
"2": "2px",
|
|
1809
|
+
"4": "4px",
|
|
1810
|
+
"6": "6px",
|
|
1811
|
+
"8": "8px",
|
|
1812
|
+
"12": "12px",
|
|
1813
|
+
"16": "16px",
|
|
1814
|
+
"20": "20px",
|
|
1815
|
+
"24": "24px",
|
|
1816
|
+
full: "9999px"
|
|
1817
|
+
},
|
|
1818
|
+
semantic: {
|
|
1819
|
+
corner: {
|
|
1820
|
+
none: { source: "0", description: "No border radius" },
|
|
1821
|
+
sm: { source: "4", description: "Small corner" },
|
|
1822
|
+
md: { source: "8", description: "Medium corner" },
|
|
1823
|
+
lg: { source: "12", description: "Large corner" },
|
|
1824
|
+
xl: { source: "16", description: "Extra large corner" },
|
|
1825
|
+
"2xl": { source: "24", description: "2X large corner" },
|
|
1826
|
+
full: { source: "full", description: "Fully rounded" }
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
// src/data/borderWidth.json
|
|
1832
|
+
var borderWidth_default = {
|
|
1833
|
+
primitive: {
|
|
1834
|
+
"0": "0px",
|
|
1835
|
+
"1": "1px",
|
|
1836
|
+
"2": "2px",
|
|
1837
|
+
"4": "4px",
|
|
1838
|
+
"0.5": "0.5px",
|
|
1839
|
+
"1.5": "1.5px"
|
|
1840
|
+
},
|
|
1841
|
+
semantic: {
|
|
1842
|
+
stroke: {
|
|
1843
|
+
none: {
|
|
1844
|
+
source: "0",
|
|
1845
|
+
description: "No border"
|
|
1846
|
+
},
|
|
1847
|
+
hairline: {
|
|
1848
|
+
source: "0.5",
|
|
1849
|
+
description: "Hairline border (0.5px)"
|
|
1850
|
+
},
|
|
1851
|
+
thin: {
|
|
1852
|
+
source: "1",
|
|
1853
|
+
description: "Thin border"
|
|
1854
|
+
},
|
|
1855
|
+
default: {
|
|
1856
|
+
source: "1",
|
|
1857
|
+
description: "Default border"
|
|
1858
|
+
},
|
|
1859
|
+
thick: {
|
|
1860
|
+
source: "1.5",
|
|
1861
|
+
description: "Thick border"
|
|
1862
|
+
},
|
|
1863
|
+
heavy: {
|
|
1864
|
+
source: "2",
|
|
1865
|
+
description: "Heavy border"
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
// src/data/size.json
|
|
1872
|
+
var size_default = {
|
|
1873
|
+
primitive: {
|
|
1874
|
+
"12": "12px",
|
|
1875
|
+
"14": "14px",
|
|
1876
|
+
"16": "16px",
|
|
1877
|
+
"18": "18px",
|
|
1878
|
+
"20": "20px",
|
|
1879
|
+
"24": "24px",
|
|
1880
|
+
"28": "28px",
|
|
1881
|
+
"32": "32px",
|
|
1882
|
+
"36": "36px",
|
|
1883
|
+
"40": "40px",
|
|
1884
|
+
"44": "44px",
|
|
1885
|
+
"48": "48px",
|
|
1886
|
+
"56": "56px",
|
|
1887
|
+
"64": "64px",
|
|
1888
|
+
"80": "80px",
|
|
1889
|
+
"96": "96px"
|
|
1890
|
+
},
|
|
1891
|
+
semantic: {
|
|
1892
|
+
icon: {
|
|
1893
|
+
xs: { source: "12", description: "Extra small icon" },
|
|
1894
|
+
sm: { source: "16", description: "Small icon" },
|
|
1895
|
+
md: { source: "20", description: "Medium icon" },
|
|
1896
|
+
lg: { source: "24", description: "Large icon" },
|
|
1897
|
+
xl: { source: "32", description: "Extra large icon" }
|
|
1898
|
+
},
|
|
1899
|
+
control: {
|
|
1900
|
+
xs: { source: "24", description: "Extra small control" },
|
|
1901
|
+
sm: { source: "32", description: "Small control" },
|
|
1902
|
+
md: { source: "40", description: "Medium control" },
|
|
1903
|
+
lg: { source: "48", description: "Large control" }
|
|
1904
|
+
},
|
|
1905
|
+
touch: {
|
|
1906
|
+
min: { source: "44", description: "Minimum touch target" }
|
|
1907
|
+
},
|
|
1908
|
+
avatar: {
|
|
1909
|
+
xs: { source: "24", description: "Extra small avatar" },
|
|
1910
|
+
sm: { source: "32", description: "Small avatar" },
|
|
1911
|
+
md: { source: "40", description: "Medium avatar" },
|
|
1912
|
+
lg: { source: "48", description: "Large avatar" },
|
|
1913
|
+
xl: { source: "64", description: "Extra large avatar" },
|
|
1914
|
+
"2xl": { source: "96", description: "2X large avatar" }
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
// src/data/opacity.json
|
|
1920
|
+
var opacity_default = {
|
|
1921
|
+
primitive: {
|
|
1922
|
+
"0": "0",
|
|
1923
|
+
"5": "0.05",
|
|
1924
|
+
"10": "0.1",
|
|
1925
|
+
"20": "0.2",
|
|
1926
|
+
"25": "0.25",
|
|
1927
|
+
"30": "0.3",
|
|
1928
|
+
"40": "0.4",
|
|
1929
|
+
"50": "0.5",
|
|
1930
|
+
"60": "0.6",
|
|
1931
|
+
"70": "0.7",
|
|
1932
|
+
"75": "0.75",
|
|
1933
|
+
"80": "0.8",
|
|
1934
|
+
"90": "0.9",
|
|
1935
|
+
"95": "0.95",
|
|
1936
|
+
"100": "1"
|
|
1937
|
+
},
|
|
1938
|
+
semantic: {
|
|
1939
|
+
overlay: {
|
|
1940
|
+
dim: {
|
|
1941
|
+
source: "50",
|
|
1942
|
+
description: "Standard overlay"
|
|
1943
|
+
},
|
|
1944
|
+
light: {
|
|
1945
|
+
source: "30",
|
|
1946
|
+
description: "Light overlay"
|
|
1947
|
+
},
|
|
1948
|
+
heavy: {
|
|
1949
|
+
source: "70",
|
|
1950
|
+
description: "Heavy overlay"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
disabled: {
|
|
1954
|
+
element: {
|
|
1955
|
+
source: "40",
|
|
1956
|
+
description: "Disabled element opacity"
|
|
1957
|
+
},
|
|
1958
|
+
text: {
|
|
1959
|
+
source: "50",
|
|
1960
|
+
description: "Disabled text opacity"
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
hover: {
|
|
1964
|
+
subtle: {
|
|
1965
|
+
source: "5",
|
|
1966
|
+
description: "Subtle hover"
|
|
1967
|
+
},
|
|
1968
|
+
default: {
|
|
1969
|
+
source: "10",
|
|
1970
|
+
description: "Default hover"
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
pressed: {
|
|
1974
|
+
subtle: {
|
|
1975
|
+
source: "10",
|
|
1976
|
+
description: "Subtle pressed"
|
|
1977
|
+
},
|
|
1978
|
+
default: {
|
|
1979
|
+
source: "20",
|
|
1980
|
+
description: "Default pressed"
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
// src/data/zIndex.json
|
|
1987
|
+
var zIndex_default = {
|
|
1988
|
+
primitive: {
|
|
1989
|
+
"0": "0",
|
|
1990
|
+
"10": "10",
|
|
1991
|
+
"20": "20",
|
|
1992
|
+
"30": "30",
|
|
1993
|
+
"40": "40",
|
|
1994
|
+
"50": "50",
|
|
1995
|
+
"100": "100"
|
|
1996
|
+
},
|
|
1997
|
+
semantic: {
|
|
1998
|
+
layer: {
|
|
1999
|
+
base: { source: "0", description: "Base layer" },
|
|
2000
|
+
dropdown: { source: "10", description: "Dropdown layer" },
|
|
2001
|
+
sticky: { source: "20", description: "Sticky layer" },
|
|
2002
|
+
popover: { source: "30", description: "Popover layer" },
|
|
2003
|
+
modal: { source: "40", description: "Modal layer" },
|
|
2004
|
+
toast: { source: "50", description: "Toast layer" },
|
|
2005
|
+
tooltip: { source: "100", description: "Tooltip layer" }
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
// src/data/motion.json
|
|
2011
|
+
var motion_default = {
|
|
2012
|
+
primitive: {
|
|
2013
|
+
duration: {
|
|
2014
|
+
"0": "0ms",
|
|
2015
|
+
"75": "75ms",
|
|
2016
|
+
"100": "100ms",
|
|
2017
|
+
"150": "150ms",
|
|
2018
|
+
"200": "200ms",
|
|
2019
|
+
"300": "300ms",
|
|
2020
|
+
"500": "500ms",
|
|
2021
|
+
"700": "700ms",
|
|
2022
|
+
"1000": "1000ms"
|
|
2023
|
+
},
|
|
2024
|
+
easing: {
|
|
2025
|
+
linear: "linear",
|
|
2026
|
+
ease: "ease",
|
|
2027
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2028
|
+
easeOut: "cubic-bezier(0, 0, 0.2, 1)",
|
|
2029
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2030
|
+
spring: "cubic-bezier(0.175, 0.885, 0.32, 1.275)"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
semantic: {
|
|
2034
|
+
transition: {
|
|
2035
|
+
instant: {
|
|
2036
|
+
duration: { source: "duration.0" },
|
|
2037
|
+
easing: { source: "easing.linear" },
|
|
2038
|
+
description: "No transition"
|
|
2039
|
+
},
|
|
2040
|
+
fast: {
|
|
2041
|
+
duration: { source: "duration.150" },
|
|
2042
|
+
easing: { source: "easing.easeOut" },
|
|
2043
|
+
description: "Fast transition"
|
|
2044
|
+
},
|
|
2045
|
+
normal: {
|
|
2046
|
+
duration: { source: "duration.200" },
|
|
2047
|
+
easing: { source: "easing.easeOut" },
|
|
2048
|
+
description: "Normal transition"
|
|
2049
|
+
},
|
|
2050
|
+
slow: {
|
|
2051
|
+
duration: { source: "duration.300" },
|
|
2052
|
+
easing: { source: "easing.easeOut" },
|
|
2053
|
+
description: "Slow transition"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
animation: {
|
|
2057
|
+
enter: {
|
|
2058
|
+
duration: { source: "duration.200" },
|
|
2059
|
+
easing: { source: "easing.easeOut" },
|
|
2060
|
+
description: "Enter animation"
|
|
2061
|
+
},
|
|
2062
|
+
exit: {
|
|
2063
|
+
duration: { source: "duration.150" },
|
|
2064
|
+
easing: { source: "easing.easeIn" },
|
|
2065
|
+
description: "Exit animation"
|
|
2066
|
+
},
|
|
2067
|
+
bounce: {
|
|
2068
|
+
duration: { source: "duration.500" },
|
|
2069
|
+
easing: { source: "easing.spring" },
|
|
2070
|
+
description: "Bounce animation"
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
// src/data/breakpoint.json
|
|
2077
|
+
var breakpoint_default = {
|
|
2078
|
+
primitive: {
|
|
2079
|
+
"320": "320px",
|
|
2080
|
+
"375": "375px",
|
|
2081
|
+
"480": "480px",
|
|
2082
|
+
"640": "640px",
|
|
2083
|
+
"768": "768px",
|
|
2084
|
+
"1024": "1024px",
|
|
2085
|
+
"1280": "1280px",
|
|
2086
|
+
"1440": "1440px",
|
|
2087
|
+
"1920": "1920px"
|
|
2088
|
+
},
|
|
2089
|
+
semantic: {
|
|
2090
|
+
screen: {
|
|
2091
|
+
xs: { source: "320", description: "Extra small screens" },
|
|
2092
|
+
sm: { source: "640", description: "Small screens" },
|
|
2093
|
+
md: { source: "768", description: "Medium screens" },
|
|
2094
|
+
lg: { source: "1024", description: "Large screens" },
|
|
2095
|
+
xl: { source: "1280", description: "Extra large screens" },
|
|
2096
|
+
"2xl": { source: "1440", description: "2X large screens" }
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
};
|
|
2100
|
+
|
|
2101
|
+
// src/data/index.ts
|
|
2102
|
+
var rawColorData = color_default;
|
|
2103
|
+
var rawTypographyData = typography_default;
|
|
2104
|
+
var rawSpaceData = space_default;
|
|
2105
|
+
var rawShadowData = shadow_default;
|
|
2106
|
+
var rawRadiusData = radius_default;
|
|
2107
|
+
var rawBorderWidthData = borderWidth_default;
|
|
2108
|
+
var rawSizeData = size_default;
|
|
2109
|
+
var rawOpacityData = opacity_default;
|
|
2110
|
+
var rawZIndexData = zIndex_default;
|
|
2111
|
+
var rawMotionData = motion_default;
|
|
2112
|
+
var rawBreakpointData = breakpoint_default;
|
|
2113
|
+
var allCategoryData = {
|
|
2114
|
+
color: rawColorData,
|
|
2115
|
+
typography: rawTypographyData,
|
|
2116
|
+
space: rawSpaceData,
|
|
2117
|
+
shadow: rawShadowData,
|
|
2118
|
+
radius: rawRadiusData,
|
|
2119
|
+
borderWidth: rawBorderWidthData,
|
|
2120
|
+
size: rawSizeData,
|
|
2121
|
+
opacity: rawOpacityData,
|
|
2122
|
+
zIndex: rawZIndexData,
|
|
2123
|
+
motion: rawMotionData,
|
|
2124
|
+
breakpoint: rawBreakpointData
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
// src/colors/index.ts
|
|
2128
|
+
function createPalette() {
|
|
2129
|
+
const result = {};
|
|
2130
|
+
const primitives5 = rawColorData.primitive;
|
|
2131
|
+
for (const [family, scales] of Object.entries(primitives5)) {
|
|
2132
|
+
if (family === "special") {
|
|
2133
|
+
const special = scales;
|
|
2134
|
+
result.white = special.white;
|
|
2135
|
+
result.black = special.black;
|
|
2136
|
+
result.transparent = special.transparent;
|
|
2137
|
+
} else {
|
|
2138
|
+
result[family] = {};
|
|
2139
|
+
for (const [scale, value] of Object.entries(scales)) {
|
|
2140
|
+
result[family][scale] = value;
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
return result;
|
|
2145
|
+
}
|
|
2146
|
+
var palette = createPalette();
|
|
2147
|
+
|
|
2148
|
+
// src/themes/semantic.ts
|
|
2149
|
+
function hexToRgba(hex, opacity) {
|
|
2150
|
+
const cleanHex = hex.replace("#", "");
|
|
2151
|
+
const r = parseInt(cleanHex.slice(0, 2), 16);
|
|
2152
|
+
const g = parseInt(cleanHex.slice(2, 4), 16);
|
|
2153
|
+
const b = parseInt(cleanHex.slice(4, 6), 16);
|
|
2154
|
+
return `rgba(${r}, ${g}, ${b}, ${opacity})`;
|
|
2155
|
+
}
|
|
2156
|
+
function resolveOpacity(opacitySource) {
|
|
2157
|
+
const parts = opacitySource.split(".");
|
|
2158
|
+
const opacitySemantic = rawOpacityData.semantic;
|
|
2159
|
+
const opacityPrimitive = rawOpacityData.primitive;
|
|
2160
|
+
let current = opacitySemantic;
|
|
2161
|
+
for (const part of parts) {
|
|
2162
|
+
if (current && typeof current === "object") {
|
|
2163
|
+
current = current[part];
|
|
2164
|
+
} else {
|
|
2165
|
+
return 1;
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
if (current && typeof current === "object" && "source" in current) {
|
|
2169
|
+
const primitiveKey = current.source;
|
|
2170
|
+
const value = opacityPrimitive[primitiveKey];
|
|
2171
|
+
return value ? parseFloat(value) : 1;
|
|
2172
|
+
}
|
|
2173
|
+
return 1;
|
|
2174
|
+
}
|
|
2175
|
+
function resolveSource(source, palette2) {
|
|
2176
|
+
const parts = source.split(".");
|
|
2177
|
+
const family = parts[0];
|
|
2178
|
+
const scale = parts[1];
|
|
2179
|
+
if (family === "special") {
|
|
2180
|
+
return palette2[scale];
|
|
2181
|
+
}
|
|
2182
|
+
if (family === "white" || family === "black" || family === "transparent") {
|
|
2183
|
+
return palette2[family];
|
|
2184
|
+
}
|
|
2185
|
+
const familyColors = palette2[family];
|
|
2186
|
+
if (typeof familyColors === "object" && scale) {
|
|
2187
|
+
return familyColors[scale] || source;
|
|
2188
|
+
}
|
|
2189
|
+
return source;
|
|
2190
|
+
}
|
|
2191
|
+
function processModeAwareValue(value, palette2, mode) {
|
|
2192
|
+
if (value[mode] && typeof value[mode] === "object" && "source" in value[mode]) {
|
|
2193
|
+
const source = value[mode].source;
|
|
2194
|
+
const color = resolveSource(source, palette2);
|
|
2195
|
+
if (value.opacity) {
|
|
2196
|
+
const opacityValue = resolveOpacity(value.opacity);
|
|
2197
|
+
return hexToRgba(color, opacityValue);
|
|
2198
|
+
}
|
|
2199
|
+
return color;
|
|
2200
|
+
}
|
|
2201
|
+
return "#000000";
|
|
2202
|
+
}
|
|
2203
|
+
function processSemanticValue(value, palette2, mode) {
|
|
2204
|
+
if (value === null || value === void 0) return value;
|
|
2205
|
+
if (typeof value === "object" && "light" in value && "dark" in value) {
|
|
2206
|
+
return processModeAwareValue(value, palette2, mode);
|
|
2207
|
+
}
|
|
2208
|
+
if (typeof value === "object") {
|
|
2209
|
+
const result = {};
|
|
2210
|
+
for (const [key, v] of Object.entries(value)) {
|
|
2211
|
+
if (key !== "description") {
|
|
2212
|
+
result[key] = processSemanticValue(v, palette2, mode);
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
return result;
|
|
2216
|
+
}
|
|
2217
|
+
return value;
|
|
2218
|
+
}
|
|
2219
|
+
function createSemantic(palette2, mode) {
|
|
2220
|
+
const semanticData = rawColorData.semantic;
|
|
2221
|
+
const result = {};
|
|
2222
|
+
for (const [namespace, slots] of Object.entries(semanticData)) {
|
|
2223
|
+
result[namespace] = processSemanticValue(slots, palette2, mode);
|
|
2224
|
+
}
|
|
2225
|
+
return result;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
// src/themes/index.ts
|
|
2229
|
+
var light = createSemantic(palette, "light");
|
|
2230
|
+
var dark = createSemantic(palette, "dark");
|
|
2231
|
+
function getTheme(mode) {
|
|
2232
|
+
const pal = createPalette();
|
|
2233
|
+
const semantic = createSemantic(pal, mode);
|
|
2234
|
+
return {
|
|
2235
|
+
mode,
|
|
2236
|
+
palette: pal,
|
|
2237
|
+
semantic
|
|
2238
|
+
};
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
// src/typography/index.ts
|
|
2242
|
+
var primitives = rawTypographyData.primitive;
|
|
2243
|
+
var semantics = rawTypographyData.semantic;
|
|
2244
|
+
function resolveSource2(source) {
|
|
2245
|
+
const parts = source.split(".");
|
|
2246
|
+
const ns = parts[0];
|
|
2247
|
+
const key = parts[1];
|
|
2248
|
+
const nsData = primitives[ns];
|
|
2249
|
+
if (nsData && key) {
|
|
2250
|
+
const value = nsData[key];
|
|
2251
|
+
if (Array.isArray(value)) {
|
|
2252
|
+
return value.join(", ");
|
|
2253
|
+
}
|
|
2254
|
+
return value;
|
|
2255
|
+
}
|
|
2256
|
+
return source;
|
|
2257
|
+
}
|
|
2258
|
+
function buildSemanticTypography() {
|
|
2259
|
+
const result = {
|
|
2260
|
+
fontFamily: {},
|
|
2261
|
+
fontWeight: {}
|
|
2262
|
+
};
|
|
2263
|
+
for (const [key, value] of Object.entries(primitives.fontFamily)) {
|
|
2264
|
+
result.fontFamily[key] = Array.isArray(value) ? value.join(", ") : value;
|
|
2265
|
+
}
|
|
2266
|
+
for (const [key, value] of Object.entries(primitives.fontWeight)) {
|
|
2267
|
+
result.fontWeight[key] = parseInt(value);
|
|
2268
|
+
}
|
|
2269
|
+
for (const [namespace, slots] of Object.entries(semantics)) {
|
|
2270
|
+
result[namespace] = {};
|
|
2271
|
+
for (const [slot, def] of Object.entries(slots)) {
|
|
2272
|
+
result[namespace][slot] = {};
|
|
2273
|
+
if (def.fontSize?.source) {
|
|
2274
|
+
result[namespace][slot].fontSize = resolveSource2(def.fontSize.source);
|
|
2275
|
+
}
|
|
2276
|
+
if (def.lineHeight?.source) {
|
|
2277
|
+
result[namespace][slot].lineHeight = resolveSource2(def.lineHeight.source);
|
|
2278
|
+
}
|
|
2279
|
+
if (def.fontWeight?.source) {
|
|
2280
|
+
result[namespace][slot].fontWeight = parseInt(String(resolveSource2(def.fontWeight.source)));
|
|
2281
|
+
}
|
|
2282
|
+
if (def.letterSpacing?.source) {
|
|
2283
|
+
result[namespace][slot].letterSpacing = resolveSource2(def.letterSpacing.source);
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
return result;
|
|
2288
|
+
}
|
|
2289
|
+
var typography = buildSemanticTypography();
|
|
2290
|
+
|
|
2291
|
+
// src/spacing/index.ts
|
|
2292
|
+
var primitives2 = rawSpaceData.primitive;
|
|
2293
|
+
var spacing = {
|
|
2294
|
+
0: primitives2["0"],
|
|
2295
|
+
1: primitives2["1"],
|
|
2296
|
+
2: primitives2["2"],
|
|
2297
|
+
3: primitives2["3"],
|
|
2298
|
+
4: primitives2["4"],
|
|
2299
|
+
5: primitives2["5"],
|
|
2300
|
+
6: primitives2["6"],
|
|
2301
|
+
8: primitives2["8"],
|
|
2302
|
+
10: primitives2["10"],
|
|
2303
|
+
12: primitives2["12"],
|
|
2304
|
+
16: primitives2["16"],
|
|
2305
|
+
20: primitives2["20"],
|
|
2306
|
+
24: primitives2["24"]
|
|
2307
|
+
};
|
|
2308
|
+
var semanticPadding = rawSpaceData.semantic.padding;
|
|
2309
|
+
var space = {
|
|
2310
|
+
none: primitives2[semanticPadding.none.source],
|
|
2311
|
+
xs: primitives2[semanticPadding.xs.source],
|
|
2312
|
+
sm: primitives2[semanticPadding.sm.source],
|
|
2313
|
+
md: primitives2[semanticPadding.md.source],
|
|
2314
|
+
lg: primitives2[semanticPadding.lg.source],
|
|
2315
|
+
xl: primitives2[semanticPadding.xl.source]
|
|
2316
|
+
};
|
|
2317
|
+
var spaceSemantic = (() => {
|
|
2318
|
+
const result = {};
|
|
2319
|
+
const semantics3 = rawSpaceData.semantic;
|
|
2320
|
+
for (const [namespace, slots] of Object.entries(semantics3)) {
|
|
2321
|
+
result[namespace] = {};
|
|
2322
|
+
for (const [key, def] of Object.entries(slots)) {
|
|
2323
|
+
result[namespace][key] = primitives2[def.source] || def.source;
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
return result;
|
|
2327
|
+
})();
|
|
2328
|
+
|
|
2329
|
+
// src/shadows/index.ts
|
|
2330
|
+
var primitives3 = rawShadowData.primitive;
|
|
2331
|
+
var shadows = {
|
|
2332
|
+
none: primitives3["0"],
|
|
2333
|
+
sm: primitives3["1"],
|
|
2334
|
+
md: primitives3["2"],
|
|
2335
|
+
lg: primitives3["3"],
|
|
2336
|
+
xl: primitives3["4"],
|
|
2337
|
+
"2xl": primitives3["5"],
|
|
2338
|
+
inner: primitives3["inner"]
|
|
2339
|
+
};
|
|
2340
|
+
var semantics2 = rawShadowData.semantic;
|
|
2341
|
+
function createShadowSemantic(mode) {
|
|
2342
|
+
const result = {};
|
|
2343
|
+
for (const [namespace, slots] of Object.entries(semantics2)) {
|
|
2344
|
+
result[namespace] = {};
|
|
2345
|
+
for (const [key, def] of Object.entries(slots)) {
|
|
2346
|
+
if ("light" in def && "dark" in def) {
|
|
2347
|
+
const source = def[mode].source;
|
|
2348
|
+
result[namespace][key] = primitives3[source] || source;
|
|
2349
|
+
} else if ("source" in def) {
|
|
2350
|
+
result[namespace][key] = primitives3[def.source] || def.source;
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
return result;
|
|
2355
|
+
}
|
|
2356
|
+
var shadowSemantic = createShadowSemantic("light");
|
|
2357
|
+
|
|
2358
|
+
// src/breakpoints/index.ts
|
|
2359
|
+
var primitives4 = rawBreakpointData.primitive;
|
|
2360
|
+
var semanticScreen = rawBreakpointData.semantic.screen;
|
|
2361
|
+
var breakpoints = {
|
|
2362
|
+
xs: primitives4[semanticScreen.xs.source] || "0px",
|
|
2363
|
+
sm: primitives4[semanticScreen.sm.source],
|
|
2364
|
+
md: primitives4[semanticScreen.md.source],
|
|
2365
|
+
lg: primitives4[semanticScreen.lg.source],
|
|
2366
|
+
xl: primitives4[semanticScreen.xl.source],
|
|
2367
|
+
"2xl": primitives4[semanticScreen["2xl"].source]
|
|
2368
|
+
};
|
|
2369
|
+
var breakpointSemantic = (() => {
|
|
2370
|
+
const result = {};
|
|
2371
|
+
const semantics3 = rawBreakpointData.semantic;
|
|
2372
|
+
for (const [namespace, slots] of Object.entries(semantics3)) {
|
|
2373
|
+
result[namespace] = {};
|
|
2374
|
+
for (const [key, def] of Object.entries(slots)) {
|
|
2375
|
+
result[namespace][key] = primitives4[def.source] || def.source;
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
return result;
|
|
2379
|
+
})();
|
|
2380
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2381
|
+
0 && (module.exports = {
|
|
2382
|
+
allCategoryData,
|
|
2383
|
+
breakpointSemantic,
|
|
2384
|
+
breakpoints,
|
|
2385
|
+
createPalette,
|
|
2386
|
+
createSemantic,
|
|
2387
|
+
dark,
|
|
2388
|
+
getTheme,
|
|
2389
|
+
getTokens,
|
|
2390
|
+
light,
|
|
2391
|
+
palette,
|
|
2392
|
+
rawBorderWidthData,
|
|
2393
|
+
rawBreakpointData,
|
|
2394
|
+
rawColorData,
|
|
2395
|
+
rawMotionData,
|
|
2396
|
+
rawOpacityData,
|
|
2397
|
+
rawRadiusData,
|
|
2398
|
+
rawShadowData,
|
|
2399
|
+
rawSizeData,
|
|
2400
|
+
rawSpaceData,
|
|
2401
|
+
rawTypographyData,
|
|
2402
|
+
rawZIndexData,
|
|
2403
|
+
shadowSemantic,
|
|
2404
|
+
shadows,
|
|
2405
|
+
space,
|
|
2406
|
+
spacing,
|
|
2407
|
+
typography
|
|
2408
|
+
});
|