@kinetixui/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,489 @@
1
+ // Do not edit directly — generated by Style Dictionary (pnpm build:tokens)
2
+
3
+ export const tokens = {
4
+ "color": {
5
+ "blue": {
6
+ "0": "#f6fbff",
7
+ "50": "#f0f7ff",
8
+ "100": "#92b2c8",
9
+ "150": "#83a4b9",
10
+ "200": "#7495ab",
11
+ "300": "#57778d",
12
+ "400": "#395a70",
13
+ "500": "#1b3c53",
14
+ "600": "#163042",
15
+ "700": "#102432",
16
+ "800": "#0b1821",
17
+ "850": "#081219",
18
+ "900": "#050c11",
19
+ "950": "#030608",
20
+ "1000": "#000000"
21
+ },
22
+ "green": {
23
+ "0": "#ffffff",
24
+ "50": "#f1f3f1",
25
+ "100": "#e3e7e3",
26
+ "150": "#d5dbd5",
27
+ "200": "#c7cfc7",
28
+ "300": "#acb8ab",
29
+ "400": "#90a08f",
30
+ "500": "#748873",
31
+ "600": "#5d6d5c",
32
+ "700": "#465245",
33
+ "800": "#2e362e",
34
+ "850": "#232923",
35
+ "900": "#171b17",
36
+ "950": "#0c0e0c",
37
+ "1000": "#000000"
38
+ },
39
+ "taupe": {
40
+ "0": "#ffffff",
41
+ "50": "#fbf9f8",
42
+ "100": "#f6f3f0",
43
+ "150": "#f2ece9",
44
+ "200": "#ede6e2",
45
+ "300": "#e4dad3",
46
+ "400": "#dbcdc5",
47
+ "500": "#d2c1b6",
48
+ "600": "#b4a499",
49
+ "700": "#96867c",
50
+ "800": "#78695f",
51
+ "850": "#695a51",
52
+ "900": "#5a4b42",
53
+ "950": "#4b3d34",
54
+ "1000": "#3c2e25"
55
+ },
56
+ "cream": {
57
+ "0": "#ffffff",
58
+ "50": "#fefefd",
59
+ "100": "#fefdfc",
60
+ "150": "#fdfbfa",
61
+ "200": "#fdfaf9",
62
+ "300": "#fbf8f5",
63
+ "400": "#faf5f2",
64
+ "500": "#f9f3ef",
65
+ "600": "#e3d4ca",
66
+ "700": "#cdb5a4",
67
+ "800": "#b8957f",
68
+ "850": "#ad866c",
69
+ "900": "#a27659",
70
+ "950": "#976747",
71
+ "1000": "#8c5734"
72
+ },
73
+ "amber": {
74
+ "0": "#ffffff",
75
+ "50": "#fff8ee",
76
+ "100": "#fff2dd",
77
+ "150": "#ffebcb",
78
+ "200": "#ffe4ba",
79
+ "300": "#ffd798",
80
+ "400": "#ffc975",
81
+ "500": "#ffbc53",
82
+ "600": "#d49c42",
83
+ "700": "#aa7b32",
84
+ "800": "#7f5b21",
85
+ "850": "#6a4b19",
86
+ "900": "#553a11",
87
+ "950": "#3f2a08",
88
+ "1000": "#2a1a00"
89
+ },
90
+ "red": {
91
+ "0": "#fff9f9",
92
+ "50": "#f9e1e1",
93
+ "100": "#f4c9c9",
94
+ "150": "#eeb1b1",
95
+ "200": "#e89999",
96
+ "300": "#dd6a6a",
97
+ "400": "#d13a3a",
98
+ "500": "#c60a0a",
99
+ "600": "#9e0808",
100
+ "700": "#770606",
101
+ "800": "#4f0404",
102
+ "850": "#3b0303",
103
+ "900": "#280202",
104
+ "950": "#140101",
105
+ "1000": "#000000"
106
+ },
107
+ "neutral": {
108
+ "0": "#ffffff",
109
+ "50": "#fafafa",
110
+ "100": "#f6f6f6",
111
+ "200": "#ededed",
112
+ "300": "#e0e0e0",
113
+ "400": "#c2c2c2",
114
+ "500": "#9e9e9e",
115
+ "600": "#6d6d6d",
116
+ "700": "#4f4f4f",
117
+ "800": "#333333",
118
+ "900": "#1f1f1f",
119
+ "1000": "#000000"
120
+ },
121
+ "static": {
122
+ "white": "#ffffff",
123
+ "black": "#000000"
124
+ },
125
+ "background": "#ffffff",
126
+ "foreground": "#050c11",
127
+ "card": "#ffffff",
128
+ "card-foreground": "#050c11",
129
+ "popover": "#ffffff",
130
+ "popover-foreground": "#050c11",
131
+ "primary": "#1b3c53",
132
+ "primary-foreground": "#f0f7ff",
133
+ "secondary": "#f1f3f1",
134
+ "secondary-foreground": "#748873",
135
+ "muted": "#f6f6f6",
136
+ "muted-foreground": "#6d6d6d",
137
+ "accent": "#f0f7ff",
138
+ "accent-foreground": "#1b3c53",
139
+ "destructive": "#ec5047",
140
+ "destructive-foreground": "#fef3f2",
141
+ "success": "#5d6d5c",
142
+ "success-foreground": "#f1f3f1",
143
+ "warning": "#f97907",
144
+ "warning-foreground": "#fff8eb",
145
+ "border": "#92b2c8",
146
+ "input": "#92b2c8",
147
+ "ring": "#1b3c53",
148
+ "semantic": {
149
+ "error": "#ec5047",
150
+ "on-error": "#fef3f2",
151
+ "error-container": "#fef3f2",
152
+ "on-error-container": "#ec5047",
153
+ "warning-container": "#fff8eb",
154
+ "on-warning-container": "#f97907",
155
+ "success-container": "#f1f3f1",
156
+ "on-success-container": "#465245",
157
+ "warning": "#f97907",
158
+ "info-container": "#f0f7ff",
159
+ "on-info-container": "#395a70"
160
+ },
161
+ "chart-1": "#1b3c53",
162
+ "chart-2": "#748873",
163
+ "chart-3": "#ffbc53",
164
+ "chart-4": "#d13a3a",
165
+ "chart-5": "#b4a499",
166
+ "sidebar": "#fafafa",
167
+ "sidebar-foreground": "#050c11",
168
+ "sidebar-primary": "#1b3c53",
169
+ "sidebar-primary-foreground": "#f0f7ff",
170
+ "sidebar-accent": "#f0f7ff",
171
+ "sidebar-accent-foreground": "#1b3c53",
172
+ "sidebar-border": "#e0e0e0",
173
+ "sidebar-ring": "#1b3c53",
174
+ "tertiary": "#b0b0b0",
175
+ "tertiary-foreground": "#f0f7ff",
176
+ "info": "#57778d",
177
+ "info-foreground": "#f0f7ff"
178
+ },
179
+ "spacing": {
180
+ "0": "0",
181
+ "1": "4px",
182
+ "2": "8px",
183
+ "3": "12px",
184
+ "4": "16px",
185
+ "5": "20px",
186
+ "6": "24px",
187
+ "7": "28px",
188
+ "8": "32px"
189
+ },
190
+ "radius": {
191
+ "none": "0",
192
+ "sm": "4px",
193
+ "md": "8px",
194
+ "lg": "12px",
195
+ "xl": "16px",
196
+ "full": "9999px"
197
+ },
198
+ "borderWidth": {
199
+ "default": "1px",
200
+ "focus": "2px"
201
+ },
202
+ "font": {
203
+ "family": {
204
+ "sans": "Montserrat, ui-sans-serif, system-ui, sans-serif"
205
+ },
206
+ "weight": {
207
+ "regular": "400",
208
+ "medium": "500",
209
+ "semibold": "600"
210
+ }
211
+ },
212
+ "fontSize": {
213
+ "display-lg": "57px",
214
+ "display-md": "45px",
215
+ "display-sm": "36px",
216
+ "headline-lg": "32px",
217
+ "headline-md": "28px",
218
+ "headline-sm": "24px",
219
+ "title-lg": "22px",
220
+ "title-md": "16px",
221
+ "title-sm": "14px",
222
+ "title-dialog": "18px",
223
+ "label-lg": "14px",
224
+ "label-md": "12px",
225
+ "label-sm": "11px",
226
+ "body-lg": "16px",
227
+ "body-md": "14px",
228
+ "body-sm": "12px"
229
+ },
230
+ "lineHeight": {
231
+ "display-lg": "64px",
232
+ "display-md": "52px",
233
+ "display-sm": "44px",
234
+ "headline-lg": "40px",
235
+ "headline-md": "36px",
236
+ "headline-sm": "32px",
237
+ "title-lg": "28px",
238
+ "title-md": "24px",
239
+ "title-sm": "20px",
240
+ "title-dialog": "24px",
241
+ "label-lg": "20px",
242
+ "label-md": "16px",
243
+ "label-sm": "16px",
244
+ "body-lg": "24px",
245
+ "body-md": "20px",
246
+ "body-sm": "16px"
247
+ },
248
+ "letterSpacing": {
249
+ "tighter": "-0.25px",
250
+ "normal": "0",
251
+ "wide-1": "0.1px",
252
+ "wide-15": "0.15px",
253
+ "wide-25": "0.25px",
254
+ "wide-5": "0.5px"
255
+ },
256
+ "shadow": {
257
+ "sm": [
258
+ {
259
+ "color": "#0000000d",
260
+ "offsetX": "0",
261
+ "offsetY": "1",
262
+ "blur": "2",
263
+ "spread": "0"
264
+ }
265
+ ],
266
+ "md": [
267
+ {
268
+ "color": "#0000001f",
269
+ "offsetX": "0",
270
+ "offsetY": "1",
271
+ "blur": "1",
272
+ "spread": "0"
273
+ },
274
+ {
275
+ "color": "#676e7614",
276
+ "offsetX": "0",
277
+ "offsetY": "2",
278
+ "blur": "5",
279
+ "spread": "0"
280
+ }
281
+ ],
282
+ "lg": [
283
+ {
284
+ "color": "#00000012",
285
+ "offsetX": "0",
286
+ "offsetY": "4",
287
+ "blur": "6",
288
+ "spread": "-1"
289
+ },
290
+ {
291
+ "color": "#0000000f",
292
+ "offsetX": "0",
293
+ "offsetY": "2",
294
+ "blur": "4",
295
+ "spread": "-2"
296
+ }
297
+ ],
298
+ "xl": [
299
+ {
300
+ "color": "#0000001f",
301
+ "offsetX": "0",
302
+ "offsetY": "4",
303
+ "blur": "24",
304
+ "spread": "0"
305
+ }
306
+ ],
307
+ "focus": [
308
+ {
309
+ "color": "#1b3c53",
310
+ "offsetX": "0",
311
+ "offsetY": "0",
312
+ "blur": "0",
313
+ "spread": "1"
314
+ },
315
+ {
316
+ "color": "#1b3c5333",
317
+ "offsetX": "0",
318
+ "offsetY": "0",
319
+ "blur": "0",
320
+ "spread": "4"
321
+ }
322
+ ],
323
+ "focus-destructive": [
324
+ {
325
+ "color": "#ec5047",
326
+ "offsetX": "0",
327
+ "offsetY": "0",
328
+ "blur": "0",
329
+ "spread": "1"
330
+ },
331
+ {
332
+ "color": "#ec504733",
333
+ "offsetX": "0",
334
+ "offsetY": "0",
335
+ "blur": "0",
336
+ "spread": "4"
337
+ }
338
+ ],
339
+ "focus-success": [
340
+ {
341
+ "color": "#5d6d5c",
342
+ "offsetX": "0",
343
+ "offsetY": "0",
344
+ "blur": "0",
345
+ "spread": "1"
346
+ },
347
+ {
348
+ "color": "#5d6d5c33",
349
+ "offsetX": "0",
350
+ "offsetY": "0",
351
+ "blur": "0",
352
+ "spread": "4"
353
+ }
354
+ ],
355
+ "focus-warning": [
356
+ {
357
+ "color": "#f97907",
358
+ "offsetX": "0",
359
+ "offsetY": "0",
360
+ "blur": "0",
361
+ "spread": "1"
362
+ },
363
+ {
364
+ "color": "#f9790733",
365
+ "offsetX": "0",
366
+ "offsetY": "0",
367
+ "blur": "0",
368
+ "spread": "4"
369
+ }
370
+ ]
371
+ },
372
+ "text": {
373
+ "display-lg": {
374
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
375
+ "fontWeight": "500",
376
+ "fontSize": "57px",
377
+ "lineHeight": "64px",
378
+ "letterSpacing": "-0.25px"
379
+ },
380
+ "display-md": {
381
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
382
+ "fontWeight": "500",
383
+ "fontSize": "45px",
384
+ "lineHeight": "52px",
385
+ "letterSpacing": "0"
386
+ },
387
+ "display-sm": {
388
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
389
+ "fontWeight": "400",
390
+ "fontSize": "36px",
391
+ "lineHeight": "44px",
392
+ "letterSpacing": "0"
393
+ },
394
+ "headline-lg": {
395
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
396
+ "fontWeight": "600",
397
+ "fontSize": "32px",
398
+ "lineHeight": "40px",
399
+ "letterSpacing": "0"
400
+ },
401
+ "headline-md": {
402
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
403
+ "fontWeight": "400",
404
+ "fontSize": "28px",
405
+ "lineHeight": "36px",
406
+ "letterSpacing": "0"
407
+ },
408
+ "headline-sm": {
409
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
410
+ "fontWeight": "400",
411
+ "fontSize": "24px",
412
+ "lineHeight": "32px",
413
+ "letterSpacing": "0"
414
+ },
415
+ "title-lg": {
416
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
417
+ "fontWeight": "400",
418
+ "fontSize": "22px",
419
+ "lineHeight": "28px",
420
+ "letterSpacing": "0"
421
+ },
422
+ "title-md": {
423
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
424
+ "fontWeight": "500",
425
+ "fontSize": "16px",
426
+ "lineHeight": "24px",
427
+ "letterSpacing": "0.15px"
428
+ },
429
+ "title-sm": {
430
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
431
+ "fontWeight": "500",
432
+ "fontSize": "14px",
433
+ "lineHeight": "20px",
434
+ "letterSpacing": "0.1px"
435
+ },
436
+ "title-dialog": {
437
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
438
+ "fontWeight": "600",
439
+ "fontSize": "18px",
440
+ "lineHeight": "24px",
441
+ "letterSpacing": "0"
442
+ },
443
+ "label-lg": {
444
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
445
+ "fontWeight": "500",
446
+ "fontSize": "14px",
447
+ "lineHeight": "20px",
448
+ "letterSpacing": "0.1px"
449
+ },
450
+ "label-md": {
451
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
452
+ "fontWeight": "500",
453
+ "fontSize": "12px",
454
+ "lineHeight": "16px",
455
+ "letterSpacing": "0.5px"
456
+ },
457
+ "label-sm": {
458
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
459
+ "fontWeight": "500",
460
+ "fontSize": "11px",
461
+ "lineHeight": "16px",
462
+ "letterSpacing": "0.5px"
463
+ },
464
+ "body-lg": {
465
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
466
+ "fontWeight": "400",
467
+ "fontSize": "16px",
468
+ "lineHeight": "24px",
469
+ "letterSpacing": "0.5px"
470
+ },
471
+ "body-md": {
472
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
473
+ "fontWeight": "400",
474
+ "fontSize": "14px",
475
+ "lineHeight": "20px",
476
+ "letterSpacing": "0.25px"
477
+ },
478
+ "body-sm": {
479
+ "fontFamily": "Montserrat, ui-sans-serif, system-ui, sans-serif",
480
+ "fontWeight": "400",
481
+ "fontSize": "12px",
482
+ "lineHeight": "16px",
483
+ "letterSpacing": "0"
484
+ }
485
+ }
486
+ } as const;
487
+
488
+ export type Tokens = typeof tokens;
489
+ export default tokens;
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@kinetixui/tokens",
3
+ "version": "0.1.0",
4
+ "description": "KinetixUI design tokens — CSS variables, a TypeScript object, and native SwiftUI / Jetpack Compose / Flutter text styles, compiled by Style Dictionary.",
5
+ "keywords": [
6
+ "design-tokens",
7
+ "design-system",
8
+ "style-dictionary",
9
+ "css-variables",
10
+ "kinetixui"
11
+ ],
12
+ "license": "MIT",
13
+ "author": "KinetixUI",
14
+ "homepage": "https://kinetixui.com",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/ziadfteha/kinetixui.git",
18
+ "directory": "packages/tokens"
19
+ },
20
+ "type": "module",
21
+ "sideEffects": [
22
+ "*.css"
23
+ ],
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/web/tokens.d.ts",
27
+ "import": "./dist/web/tokens.js"
28
+ },
29
+ "./css": "./dist/web/globals.css",
30
+ "./css/dark": "./dist/web/globals.dark.css",
31
+ "./css/extras": "./dist/web/extras.css",
32
+ "./package.json": "./package.json"
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "devDependencies": {
41
+ "rimraf": "^6.0.1",
42
+ "style-dictionary": "^4.3.0"
43
+ },
44
+ "scripts": {
45
+ "build": "node ../../style-dictionary/build.mjs",
46
+ "clean": "rimraf dist"
47
+ }
48
+ }