@nyanyanya777/tokens 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ export { tokens, type Tokens } from "../generated/tokens.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { tokens } from "../generated/tokens.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,350 @@
1
+ {
2
+ "black": {
3
+ "$value": "#000000",
4
+ "$type": "color"
5
+ },
6
+ "white": {
7
+ "$value": "#ffffff",
8
+ "$type": "color"
9
+ },
10
+ "red": {
11
+ "50": {
12
+ "$value": "#fff6f5",
13
+ "$type": "color"
14
+ },
15
+ "100": {
16
+ "$value": "#ffe5e4",
17
+ "$type": "color"
18
+ },
19
+ "200": {
20
+ "$value": "#ffbbb9",
21
+ "$type": "color"
22
+ },
23
+ "300": {
24
+ "$value": "#ff8182",
25
+ "$type": "color"
26
+ },
27
+ "400": {
28
+ "$value": "#fa4549",
29
+ "$type": "color"
30
+ },
31
+ "500": {
32
+ "$value": "#cf222e",
33
+ "$type": "color"
34
+ },
35
+ "600": {
36
+ "$value": "#a40e26",
37
+ "$type": "color"
38
+ },
39
+ "700": {
40
+ "$value": "#82071e",
41
+ "$type": "color"
42
+ },
43
+ "800": {
44
+ "$value": "#660018",
45
+ "$type": "color"
46
+ },
47
+ "900": {
48
+ "$value": "#4c0014",
49
+ "$type": "color"
50
+ }
51
+ },
52
+ "orange": {
53
+ "50": {
54
+ "$value": "#fff1e5",
55
+ "$type": "color"
56
+ },
57
+ "100": {
58
+ "$value": "#ffd8b5",
59
+ "$type": "color"
60
+ },
61
+ "200": {
62
+ "$value": "#ffb77c",
63
+ "$type": "color"
64
+ },
65
+ "300": {
66
+ "$value": "#fb8f44",
67
+ "$type": "color"
68
+ },
69
+ "400": {
70
+ "$value": "#e16f24",
71
+ "$type": "color"
72
+ },
73
+ "500": {
74
+ "$value": "#bc4c00",
75
+ "$type": "color"
76
+ },
77
+ "600": {
78
+ "$value": "#953800",
79
+ "$type": "color"
80
+ },
81
+ "700": {
82
+ "$value": "#762c00",
83
+ "$type": "color"
84
+ },
85
+ "800": {
86
+ "$value": "#5b2100",
87
+ "$type": "color"
88
+ },
89
+ "900": {
90
+ "$value": "#471600",
91
+ "$type": "color"
92
+ }
93
+ },
94
+ "yellow": {
95
+ "50": {
96
+ "$value": "#fffbe2",
97
+ "$type": "color"
98
+ },
99
+ "100": {
100
+ "$value": "#fdedba",
101
+ "$type": "color"
102
+ },
103
+ "200": {
104
+ "$value": "#fad573",
105
+ "$type": "color"
106
+ },
107
+ "300": {
108
+ "$value": "#f0b800",
109
+ "$type": "color"
110
+ },
111
+ "400": {
112
+ "$value": "#cc8f00",
113
+ "$type": "color"
114
+ },
115
+ "500": {
116
+ "$value": "#9a6700",
117
+ "$type": "color"
118
+ },
119
+ "600": {
120
+ "$value": "#7d4e00",
121
+ "$type": "color"
122
+ },
123
+ "700": {
124
+ "$value": "#633c01",
125
+ "$type": "color"
126
+ },
127
+ "800": {
128
+ "$value": "#4d2d00",
129
+ "$type": "color"
130
+ },
131
+ "900": {
132
+ "$value": "#3b2300",
133
+ "$type": "color"
134
+ }
135
+ },
136
+ "green": {
137
+ "50": {
138
+ "$value": "#edfdf0",
139
+ "$type": "color"
140
+ },
141
+ "100": {
142
+ "$value": "#c5f7d0",
143
+ "$type": "color"
144
+ },
145
+ "200": {
146
+ "$value": "#6fdd8b",
147
+ "$type": "color"
148
+ },
149
+ "300": {
150
+ "$value": "#4ac26b",
151
+ "$type": "color"
152
+ },
153
+ "400": {
154
+ "$value": "#2da44e",
155
+ "$type": "color"
156
+ },
157
+ "500": {
158
+ "$value": "#1a7f37",
159
+ "$type": "color"
160
+ },
161
+ "600": {
162
+ "$value": "#116329",
163
+ "$type": "color"
164
+ },
165
+ "700": {
166
+ "$value": "#044f1e",
167
+ "$type": "color"
168
+ },
169
+ "800": {
170
+ "$value": "#003d16",
171
+ "$type": "color"
172
+ },
173
+ "900": {
174
+ "$value": "#002d11",
175
+ "$type": "color"
176
+ }
177
+ },
178
+ "blue": {
179
+ "50": {
180
+ "$value": "#e5f6ff",
181
+ "$type": "color"
182
+ },
183
+ "100": {
184
+ "$value": "#ceedff",
185
+ "$type": "color"
186
+ },
187
+ "200": {
188
+ "$value": "#97d3ff",
189
+ "$type": "color"
190
+ },
191
+ "300": {
192
+ "$value": "#61b3ff",
193
+ "$type": "color"
194
+ },
195
+ "400": {
196
+ "$value": "#218bff",
197
+ "$type": "color"
198
+ },
199
+ "500": {
200
+ "$value": "#0969da",
201
+ "$type": "color"
202
+ },
203
+ "600": {
204
+ "$value": "#0550ae",
205
+ "$type": "color"
206
+ },
207
+ "700": {
208
+ "$value": "#033d8b",
209
+ "$type": "color"
210
+ },
211
+ "800": {
212
+ "$value": "#0a3069",
213
+ "$type": "color"
214
+ },
215
+ "900": {
216
+ "$value": "#002155",
217
+ "$type": "color"
218
+ }
219
+ },
220
+ "purple": {
221
+ "50": {
222
+ "$value": "#fbefff",
223
+ "$type": "color"
224
+ },
225
+ "100": {
226
+ "$value": "#ecd8ff",
227
+ "$type": "color"
228
+ },
229
+ "200": {
230
+ "$value": "#d8b9ff",
231
+ "$type": "color"
232
+ },
233
+ "300": {
234
+ "$value": "#c297ff",
235
+ "$type": "color"
236
+ },
237
+ "400": {
238
+ "$value": "#a475f9",
239
+ "$type": "color"
240
+ },
241
+ "500": {
242
+ "$value": "#8250df",
243
+ "$type": "color"
244
+ },
245
+ "600": {
246
+ "$value": "#6639ba",
247
+ "$type": "color"
248
+ },
249
+ "700": {
250
+ "$value": "#512a97",
251
+ "$type": "color"
252
+ },
253
+ "800": {
254
+ "$value": "#3e1f79",
255
+ "$type": "color"
256
+ },
257
+ "900": {
258
+ "$value": "#2d1361",
259
+ "$type": "color"
260
+ }
261
+ },
262
+ "pink": {
263
+ "50": {
264
+ "$value": "#ffeff7",
265
+ "$type": "color"
266
+ },
267
+ "100": {
268
+ "$value": "#ffd3eb",
269
+ "$type": "color"
270
+ },
271
+ "200": {
272
+ "$value": "#ffadda",
273
+ "$type": "color"
274
+ },
275
+ "300": {
276
+ "$value": "#ff80c8",
277
+ "$type": "color"
278
+ },
279
+ "400": {
280
+ "$value": "#e85aad",
281
+ "$type": "color"
282
+ },
283
+ "500": {
284
+ "$value": "#bf3989",
285
+ "$type": "color"
286
+ },
287
+ "600": {
288
+ "$value": "#99286e",
289
+ "$type": "color"
290
+ },
291
+ "700": {
292
+ "$value": "#772057",
293
+ "$type": "color"
294
+ },
295
+ "800": {
296
+ "$value": "#611347",
297
+ "$type": "color"
298
+ },
299
+ "900": {
300
+ "$value": "#4d0336",
301
+ "$type": "color"
302
+ }
303
+ },
304
+ "gray": {
305
+ "50": {
306
+ "$value": "#f6f8fa",
307
+ "$type": "color"
308
+ },
309
+ "100": {
310
+ "$value": "#eaeef2",
311
+ "$type": "color"
312
+ },
313
+ "200": {
314
+ "$value": "#d0d7de",
315
+ "$type": "color"
316
+ },
317
+ "300": {
318
+ "$value": "#afb8c1",
319
+ "$type": "color"
320
+ },
321
+ "400": {
322
+ "$value": "#8c959f",
323
+ "$type": "color"
324
+ },
325
+ "500": {
326
+ "$value": "#6e7781",
327
+ "$type": "color"
328
+ },
329
+ "600": {
330
+ "$value": "#57606a",
331
+ "$type": "color"
332
+ },
333
+ "700": {
334
+ "$value": "#424a53",
335
+ "$type": "color"
336
+ },
337
+ "800": {
338
+ "$value": "#32383f",
339
+ "$type": "color"
340
+ },
341
+ "900": {
342
+ "$value": "#24292f",
343
+ "$type": "color"
344
+ }
345
+ },
346
+ "ring/normal": {
347
+ "$value": "#096bdc",
348
+ "$type": "color"
349
+ }
350
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "shadow-0": {
3
+ "$value": "0px 1px 2px rgba(0,0,0,0.05)",
4
+ "$type": "shadow",
5
+ "$description": "Doc/Box Shadow"
6
+ },
7
+ "shadow-1": {
8
+ "$value": "0px 0px 0px rgba(0,0,0,1.0)",
9
+ "$type": "shadow",
10
+ "$description": "example"
11
+ },
12
+ "shadow-2": {
13
+ "$value": "0px 1px 0px rgba(0,0,0,0.05)",
14
+ "$type": "shadow",
15
+ "$description": "example"
16
+ },
17
+ "shadow-3": {
18
+ "$value": "0px 1px 2px rgba(0,0,0,0.1)",
19
+ "$type": "shadow",
20
+ "$description": "example"
21
+ },
22
+ "shadow-4": {
23
+ "$value": "0px 1px 3px rgba(0,0,0,0.1)",
24
+ "$type": "shadow",
25
+ "$description": "example"
26
+ },
27
+ "shadow-5": {
28
+ "$value": "0px 2px 4px rgba(0,0,0,0.1)",
29
+ "$type": "shadow",
30
+ "$description": "example"
31
+ },
32
+ "shadow-6": {
33
+ "$value": "0px 4px 6px rgba(0,0,0,0.1)",
34
+ "$type": "shadow",
35
+ "$description": "example"
36
+ },
37
+ "shadow-7": {
38
+ "$value": "0px 10px 15px rgba(0,0,0,0.1)",
39
+ "$type": "shadow",
40
+ "$description": "example"
41
+ }
42
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "0": {
3
+ "$value": 0,
4
+ "$type": "dimension"
5
+ },
6
+ "0.5": {
7
+ "$value": 2,
8
+ "$type": "dimension"
9
+ },
10
+ "1": {
11
+ "$value": 4,
12
+ "$type": "dimension"
13
+ },
14
+ "1.5": {
15
+ "$value": 6,
16
+ "$type": "dimension"
17
+ },
18
+ "2": {
19
+ "$value": 8,
20
+ "$type": "dimension"
21
+ },
22
+ "3": {
23
+ "$value": 12,
24
+ "$type": "dimension"
25
+ },
26
+ "4": {
27
+ "$value": 16,
28
+ "$type": "dimension"
29
+ },
30
+ "5": {
31
+ "$value": 20,
32
+ "$type": "dimension"
33
+ },
34
+ "6": {
35
+ "$value": 24,
36
+ "$type": "dimension"
37
+ },
38
+ "8": {
39
+ "$value": 32,
40
+ "$type": "dimension"
41
+ },
42
+ "10": {
43
+ "$value": 40,
44
+ "$type": "dimension"
45
+ },
46
+ "12": {
47
+ "$value": 48,
48
+ "$type": "dimension"
49
+ },
50
+ "14": {
51
+ "$value": 56,
52
+ "$type": "dimension"
53
+ },
54
+ "16": {
55
+ "$value": 64,
56
+ "$type": "dimension"
57
+ },
58
+ "20": {
59
+ "$value": 80,
60
+ "$type": "dimension"
61
+ },
62
+ "24": {
63
+ "$value": 96,
64
+ "$type": "dimension"
65
+ },
66
+ "32": {
67
+ "$value": 128,
68
+ "$type": "dimension"
69
+ }
70
+ }
@@ -0,0 +1,151 @@
1
+ /* Auto-generated from Figma design tokens - Sparkle Design System */
2
+ /* Do not edit manually. Run `pnpm sync:tokens` to regenerate. */
3
+
4
+ :root {
5
+ --color-black: #000000;
6
+ --color-white: #ffffff;
7
+ --color-red-50: #fff6f5;
8
+ --color-red-100: #ffe5e4;
9
+ --color-red-200: #ffbbb9;
10
+ --color-red-300: #ff8182;
11
+ --color-red-400: #fa4549;
12
+ --color-red-500: #cf222e;
13
+ --color-red-600: #a40e26;
14
+ --color-red-700: #82071e;
15
+ --color-red-800: #660018;
16
+ --color-red-900: #4c0014;
17
+ --color-orange-50: #fff1e5;
18
+ --color-orange-100: #ffd8b5;
19
+ --color-orange-200: #ffb77c;
20
+ --color-orange-300: #fb8f44;
21
+ --color-orange-400: #e16f24;
22
+ --color-orange-500: #bc4c00;
23
+ --color-orange-600: #953800;
24
+ --color-orange-700: #762c00;
25
+ --color-orange-800: #5b2100;
26
+ --color-orange-900: #471600;
27
+ --color-yellow-50: #fffbe2;
28
+ --color-yellow-100: #fdedba;
29
+ --color-yellow-200: #fad573;
30
+ --color-yellow-300: #f0b800;
31
+ --color-yellow-400: #cc8f00;
32
+ --color-yellow-500: #9a6700;
33
+ --color-yellow-600: #7d4e00;
34
+ --color-yellow-700: #633c01;
35
+ --color-yellow-800: #4d2d00;
36
+ --color-yellow-900: #3b2300;
37
+ --color-green-50: #edfdf0;
38
+ --color-green-100: #c5f7d0;
39
+ --color-green-200: #6fdd8b;
40
+ --color-green-300: #4ac26b;
41
+ --color-green-400: #2da44e;
42
+ --color-green-500: #1a7f37;
43
+ --color-green-600: #116329;
44
+ --color-green-700: #044f1e;
45
+ --color-green-800: #003d16;
46
+ --color-green-900: #002d11;
47
+ --color-blue-50: #e5f6ff;
48
+ --color-blue-100: #ceedff;
49
+ --color-blue-200: #97d3ff;
50
+ --color-blue-300: #61b3ff;
51
+ --color-blue-400: #218bff;
52
+ --color-blue-500: #0969da;
53
+ --color-blue-600: #0550ae;
54
+ --color-blue-700: #033d8b;
55
+ --color-blue-800: #0a3069;
56
+ --color-blue-900: #002155;
57
+ --color-purple-50: #fbefff;
58
+ --color-purple-100: #ecd8ff;
59
+ --color-purple-200: #d8b9ff;
60
+ --color-purple-300: #c297ff;
61
+ --color-purple-400: #a475f9;
62
+ --color-purple-500: #8250df;
63
+ --color-purple-600: #6639ba;
64
+ --color-purple-700: #512a97;
65
+ --color-purple-800: #3e1f79;
66
+ --color-purple-900: #2d1361;
67
+ --color-pink-50: #ffeff7;
68
+ --color-pink-100: #ffd3eb;
69
+ --color-pink-200: #ffadda;
70
+ --color-pink-300: #ff80c8;
71
+ --color-pink-400: #e85aad;
72
+ --color-pink-500: #bf3989;
73
+ --color-pink-600: #99286e;
74
+ --color-pink-700: #772057;
75
+ --color-pink-800: #611347;
76
+ --color-pink-900: #4d0336;
77
+ --color-gray-50: #f6f8fa;
78
+ --color-gray-100: #eaeef2;
79
+ --color-gray-200: #d0d7de;
80
+ --color-gray-300: #afb8c1;
81
+ --color-gray-400: #8c959f;
82
+ --color-gray-500: #6e7781;
83
+ --color-gray-600: #57606a;
84
+ --color-gray-700: #424a53;
85
+ --color-gray-800: #32383f;
86
+ --color-gray-900: #24292f;
87
+ --color-ring/normal: #096bdc;
88
+
89
+ --typography-font-family-biz-udgothic: BIZ UDGothic;
90
+ --typography-font-family-biz-udpgothic: BIZ UDPGothic;
91
+ --typography-font-family-inter: Inter;
92
+ --typography-font-family-material-symbols-rounded: Material Symbols Rounded;
93
+ --typography-font-size-xs: 12.0px;
94
+ --typography-font-size-sm: 14.0px;
95
+ --typography-font-size-md: 16.0px;
96
+ --typography-font-size-lg: 18.0px;
97
+ --typography-font-size-xl: 20.0px;
98
+ --typography-font-size-2xl: 24.0px;
99
+ --typography-font-size-3xl: 28.0px;
100
+ --typography-font-size-4xl: 32.0px;
101
+ --typography-font-size-5xl: 36.0px;
102
+ --typography-font-size-6xl: 42.0px;
103
+ --typography-font-size-7xl: 48.0px;
104
+ --typography-font-size-8xl: 54.0px;
105
+ --typography-line-height-xs: 12.0px;
106
+ --typography-line-height-sm: 14.0px;
107
+ --typography-line-height-md: 16.0px;
108
+ --typography-line-height-lg: 18.0px;
109
+ --typography-line-height-xl: 20.0px;
110
+ --typography-line-height-2xl: 24.0px;
111
+ --typography-line-height-3xl: 28.0px;
112
+ --typography-line-height-4xl: 32.0px;
113
+ --typography-line-height-5xl: 36.0px;
114
+ --typography-line-height-6xl: 42.0px;
115
+ --typography-line-height-7xl: 44.0px;
116
+ --typography-line-height-8xl: 48.0px;
117
+ --typography-line-height-lh-54: 54.0px;
118
+ --typography-line-height-lh-56: 56.0px;
119
+ --typography-line-height-lh-64: 64.0px;
120
+ --typography-line-height-lh-72: 72.0px;
121
+ --typography-line-height-lh-84: 84.0px;
122
+ --typography-font-weight-regular: 400;
123
+ --typography-font-weight-bold: 700;
124
+
125
+ --spacing-0: 0px;
126
+ --spacing-0.5: 2px;
127
+ --spacing-1: 4px;
128
+ --spacing-1.5: 6px;
129
+ --spacing-2: 8px;
130
+ --spacing-3: 12px;
131
+ --spacing-4: 16px;
132
+ --spacing-5: 20px;
133
+ --spacing-6: 24px;
134
+ --spacing-8: 32px;
135
+ --spacing-10: 40px;
136
+ --spacing-12: 48px;
137
+ --spacing-14: 56px;
138
+ --spacing-16: 64px;
139
+ --spacing-20: 80px;
140
+ --spacing-24: 96px;
141
+ --spacing-32: 128px;
142
+
143
+ --effect-shadow-0: 0px 1px 2px rgba(0,0,0,0.05);
144
+ --effect-shadow-1: 0px 0px 0px rgba(0,0,0,1.0);
145
+ --effect-shadow-2: 0px 1px 0px rgba(0,0,0,0.05);
146
+ --effect-shadow-3: 0px 1px 2px rgba(0,0,0,0.1);
147
+ --effect-shadow-4: 0px 1px 3px rgba(0,0,0,0.1);
148
+ --effect-shadow-5: 0px 2px 4px rgba(0,0,0,0.1);
149
+ --effect-shadow-6: 0px 4px 6px rgba(0,0,0,0.1);
150
+ --effect-shadow-7: 0px 10px 15px rgba(0,0,0,0.1);
151
+ }