@ckwag/elements-tokens 0.0.1-dev.4ce9c14

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,593 @@
1
+ /**
2
+ * CKW Elements Design Tokens
3
+ * Generated by Style Dictionary — DO NOT EDIT MANUALLY
4
+ * Source: tokens.json (from Figma Variables via Tokens Studio)
5
+ */
6
+ /* ============================================
7
+ Layer 1 — Primitive Tokens
8
+ ============================================ */
9
+
10
+ /* Colors */
11
+ :root {
12
+ /* green */
13
+ --color-green-50: #f1f9e8;
14
+ --color-green-75: #e4f3d3;
15
+ --color-green-100: #c8e6a4;
16
+ --color-green-200: #a4d270;
17
+ --color-green-300: #86bc46;
18
+ --color-green-400: #6c9c30;
19
+ --color-green-500: #53821f;
20
+ --color-green-600: #365f10;
21
+ --color-green-700: #21420b;
22
+ --color-green-800: #1a330b;
23
+ --color-green-900: #060e03;
24
+
25
+ /* neutrals */
26
+ --color-neutrals-white: #ffffff;
27
+ --color-neutrals-black: #000000;
28
+
29
+ /* grey */
30
+ --color-grey-50: #fafafa;
31
+ --color-grey-75: #f4f5f4;
32
+ --color-grey-100: #eff0ef;
33
+ --color-grey-200: #d5d8d5;
34
+ --color-grey-300: #bfc4bf;
35
+ --color-grey-400: #8d968d;
36
+ --color-grey-500: #6a716a;
37
+ --color-grey-600: #4f544f;
38
+ --color-grey-700: #3c403c;
39
+ --color-grey-800: #232623;
40
+ --color-grey-900: #090a09;
41
+
42
+ /* khaki */
43
+ --color-khaki-50: #fbfce2;
44
+ --color-khaki-75: #f7fbcb;
45
+ --color-khaki-100: #f3fbae;
46
+ --color-khaki-200: #dbe873;
47
+ --color-khaki-300: #c8dd2d;
48
+ --color-khaki-400: #a7b805;
49
+ --color-khaki-500: #8a9c0b;
50
+ --color-khaki-600: #6d7e21;
51
+ --color-khaki-700: #435505;
52
+ --color-khaki-800: #2f3905;
53
+ --color-khaki-900: #101000;
54
+
55
+ /* blue */
56
+ --color-blue-50: #f0f9fc;
57
+ --color-blue-75: #d7eef7;
58
+ --color-blue-100: #bfe3f4;
59
+ --color-blue-200: #83d0f5;
60
+ --color-blue-300: #44bff5;
61
+ --color-blue-400: #00acf5;
62
+ --color-blue-500: #01a3e8;
63
+ --color-blue-600: #0099db;
64
+ --color-blue-700: #007db2;
65
+ --color-blue-800: #014f70;
66
+ --color-blue-900: #011f2c;
67
+
68
+ /* yellow */
69
+ --color-yellow-50: #fffbe6;
70
+ --color-yellow-75: #fff7d7;
71
+ --color-yellow-100: #fdf2a8;
72
+ --color-yellow-200: #feef88;
73
+ --color-yellow-300: #ffec6e;
74
+ --color-yellow-400: #ffe500;
75
+ --color-yellow-500: #ffde01;
76
+ --color-yellow-600: #fdc300;
77
+ --color-yellow-700: #b98f00;
78
+ --color-yellow-800: #785c01;
79
+ --color-yellow-900: #362a01;
80
+
81
+ /* orange */
82
+ --color-orange-50: #fff5f0;
83
+ --color-orange-75: #fce2d5;
84
+ --color-orange-100: #facaa6;
85
+ --color-orange-200: #f5a376;
86
+ --color-orange-300: #f0843b;
87
+ --color-orange-400: #ec6a08;
88
+ --color-orange-500: #e55312;
89
+ --color-orange-600: #d73d19;
90
+ --color-orange-700: #a52f14;
91
+ --color-orange-800: #681e0d;
92
+ --color-orange-900: #2d0d06;
93
+
94
+ /* violet */
95
+ --color-violet-50: #f7edf7;
96
+ --color-violet-75: #e8d8e7;
97
+ --color-violet-100: #d9b6d2;
98
+ --color-violet-200: #c692bc;
99
+ --color-violet-300: #b161a2;
100
+ --color-violet-400: #9f358b;
101
+ --color-violet-500: #972784;
102
+ --color-violet-600: #901a7d;
103
+ --color-violet-700: #69135b;
104
+ --color-violet-800: #440c3b;
105
+ --color-violet-900: #260721;
106
+ }
107
+
108
+ /* Spacing */
109
+ :root {
110
+ --spacing-none: 0px;
111
+ --spacing-3xs: 2px;
112
+ --spacing-2xs: 4px;
113
+ --spacing-xs: 8px;
114
+ --spacing-s: 12px;
115
+ --spacing-m: 16px;
116
+ --spacing-l: 20px;
117
+ --spacing-xl: 24px;
118
+ --spacing-2xl: 32px;
119
+ --spacing-3xl: 40px;
120
+ --spacing-4xl: 48px;
121
+ --spacing-5xl: 64px;
122
+ --spacing-6xl: 80px;
123
+ --spacing-7xl: 96px;
124
+ --spacing-8xl: 120px;
125
+ }
126
+
127
+ /* Border Radius */
128
+ :root {
129
+ --border-radius-none: 0px;
130
+ --border-radius-xs: 2px;
131
+ --border-radius-s: 8px;
132
+ --border-radius-m: 16px;
133
+ --border-radius-l: 24px;
134
+ --border-radius-xl: 32px;
135
+ --border-radius-full: 99999px;
136
+ }
137
+
138
+ /* Border Weight */
139
+ :root {
140
+ --border-weight-none: 0px;
141
+ --border-weight-s: 1px;
142
+ --border-weight-m: 2px;
143
+ --border-weight-l: 3px;
144
+ }
145
+
146
+ /* Shadows */
147
+ :root {
148
+ --shadow-xs: 0px 1px 2px 0px rgba(0, 0, 0, 0.04);
149
+ --shadow-s: 0px 2px 20px 0px rgba(0, 0, 0, 0.06);
150
+ --shadow-m: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
151
+ --shadow-l: 0px 8px 32px 0px rgba(0, 0, 0, 0.1);
152
+ --shadow-xl: 0px 16px 48px 0px rgba(0, 0, 0, 0.14);
153
+ }
154
+
155
+ /* Gradient */
156
+ :root {
157
+ --gradient-brand: linear-gradient(210deg, #9ab20f 0%, #4e7818 100%);
158
+ }
159
+
160
+ /* Font Family */
161
+ :root {
162
+ --font-family-brand: Gotham;
163
+ }
164
+
165
+ /* ============================================
166
+ Layer 2 — Semantic Color Tokens (Light)
167
+ ============================================ */
168
+
169
+ :root {
170
+ --text-primary: var(--color-grey-800);
171
+ --text-secondary: var(--color-grey-600);
172
+ --text-tertiary: var(--color-grey-400);
173
+ --text-on-interactive-primary: var(--color-neutrals-white);
174
+ --text-on-interactive-secondary: var(--color-green-600);
175
+ --text-inverted: var(--color-neutrals-white);
176
+ --interactive-primary: var(--color-green-600);
177
+ --interactive-primary-hover: var(--color-green-700);
178
+ --interactive-primary-active: var(--color-green-500);
179
+ --interactive-secondary: var(--color-neutrals-white);
180
+ --interactive-secondary-hover: var(--color-green-75);
181
+ --interactive-secondary-active: var(--color-green-100);
182
+ --interactive-text: var(--color-green-600);
183
+ --background-default: var(--color-neutrals-white);
184
+ --background-input: var(--color-neutrals-white);
185
+ --background-hover: var(--color-grey-100);
186
+ --background-active: var(--color-green-50);
187
+ --background-highlight: var(--color-khaki-75);
188
+ --background-info: var(--color-grey-700);
189
+ --background-canvas: var(--color-grey-50);
190
+ --background-control: var(--color-grey-75);
191
+ --border-soft: var(--color-grey-100);
192
+ --border-medium: var(--color-grey-200);
193
+ --border-strong: var(--color-grey-400);
194
+ --border-active: var(--color-green-500);
195
+ --border-highlight: var(--color-khaki-200);
196
+ --border-hover: var(--color-green-100);
197
+ --status-error: var(--color-orange-50);
198
+ --status-error-text: var(--color-orange-600);
199
+ --status-error-border: var(--color-orange-600);
200
+ --status-success: var(--color-green-50);
201
+ --status-success-text: var(--color-green-700);
202
+ --status-success-border: var(--color-green-300);
203
+ --status-warning: var(--color-yellow-50);
204
+ --status-warning-text: var(--color-yellow-800);
205
+ --status-warning-border: var(--color-yellow-400);
206
+ --status-info: var(--color-blue-50);
207
+ --status-info-text: var(--color-blue-800);
208
+ --status-info-border: var(--color-blue-300);
209
+ --chart-grey-very-dark: var(--color-grey-800);
210
+ --chart-grey-dark: var(--color-grey-600);
211
+ --chart-grey-light: var(--color-grey-200);
212
+ --chart-grey-very-light: var(--color-grey-75);
213
+ --chart-green-very-dark: var(--color-green-700);
214
+ --chart-green-very-light: var(--color-green-75);
215
+ --chart-green-dark: var(--color-green-600);
216
+ --chart-grey-medium: var(--color-grey-400);
217
+ --chart-green-medium: var(--color-green-400);
218
+ --chart-green-light: var(--color-green-200);
219
+ --chart-khaki-very-light: var(--color-khaki-75);
220
+ --chart-khaki-light: var(--color-khaki-200);
221
+ --chart-khaki-medium: var(--color-khaki-400);
222
+ --chart-khaki-dark: var(--color-khaki-600);
223
+ --chart-khaki-very-dark: var(--color-khaki-800);
224
+ --chart-blue-very-light: var(--color-blue-75);
225
+ --chart-blue-light: var(--color-blue-200);
226
+ --chart-blue-medium: var(--color-blue-400);
227
+ --chart-blue-dark: var(--color-blue-700);
228
+ --chart-blue-very-dark: var(--color-blue-800);
229
+ --chart-yellow-very-light: var(--color-yellow-75);
230
+ --chart-yellow-light: var(--color-yellow-100);
231
+ --chart-yellow-medium: var(--color-yellow-400);
232
+ --chart-yellow-dark: var(--color-yellow-600);
233
+ --chart-yellow-very-dark: var(--color-yellow-800);
234
+ --chart-orange-very-light: var(--color-orange-75);
235
+ --chart-orange-light: var(--color-orange-200);
236
+ --chart-orange-medium: var(--color-orange-400);
237
+ --chart-orange-dark: var(--color-orange-600);
238
+ --chart-orange-very-dark: var(--color-orange-800);
239
+ --chart-violet-very-light: var(--color-violet-75);
240
+ --chart-violet-light: var(--color-violet-100);
241
+ --chart-violet-medium: var(--color-violet-300);
242
+ --chart-violet-dark: var(--color-violet-500);
243
+ --chart-violet-very-dark: var(--color-violet-700);
244
+ --decorative-light: var(--color-green-100);
245
+ --decorative-dark: var(--color-green-600);
246
+ }
247
+
248
+ /* ============================================
249
+ Typography — Desktop (default)
250
+ ============================================ */
251
+
252
+ :root {
253
+ --lead-weight: 325;
254
+ --lead-height: 30px;
255
+ --lead-size: 22px;
256
+ --lead-emphasized-weight: 500;
257
+ --lead-emphasized-size: 22px;
258
+ --lead-emphasized-height: 30px;
259
+ --heading-xl-weight: 325;
260
+ --heading-xl-size: 48px;
261
+ --heading-xl-height: 52px;
262
+ --heading-l-weight: 500;
263
+ --heading-l-size: 36px;
264
+ --heading-l-height: 44px;
265
+ --heading-m-weight: 500;
266
+ --heading-m-size: 28px;
267
+ --heading-m-height: 36px;
268
+ --heading-s-weight: 500;
269
+ --heading-s-size: 24px;
270
+ --heading-s-height: 32px;
271
+ --body-l-weight: 325;
272
+ --body-l-size: 18px;
273
+ --body-l-height: 28px;
274
+ --body-l-emphasized-weight: 500;
275
+ --body-l-emphasized-size: 18px;
276
+ --body-l-emphasized-height: 28px;
277
+ --body-m-weight: 325;
278
+ --body-m-size: 16px;
279
+ --body-m-height: 24px;
280
+ --body-m-emphasized-weight: 500;
281
+ --body-m-emphasized-size: 16px;
282
+ --body-m-emphasized-height: 24px;
283
+ --body-s-weight: 325;
284
+ --body-s-size: 14px;
285
+ --body-s-height: 20px;
286
+ --body-s-emphasized-weight: 500;
287
+ --body-s-emphasized-size: 14px;
288
+ --body-s-emphasized-height: 20px;
289
+ --caption-weight: 325;
290
+ --caption-size: 12px;
291
+ --caption-height: 16px;
292
+ --caption-emphasized-weight: 500;
293
+ --caption-emphasized-size: 12px;
294
+ --caption-emphasized-height: 16px;
295
+ --display-l-weight: 325;
296
+ --display-l-size: 72px;
297
+ --display-l-height: 72px;
298
+ --display-s-weight: 325;
299
+ --display-s-size: 56px;
300
+ --display-s-height: 58px;
301
+ --label-l-weight: 500;
302
+ --label-l-size: 18px;
303
+ --label-l-height: 22px;
304
+ --label-m-weight: 500;
305
+ --label-m-size: 16px;
306
+ --label-m-height: 20px;
307
+ --label-s-weight: 500;
308
+ --label-s-size: 14px;
309
+ --label-s-height: 18px;
310
+ --overline-weight: 500;
311
+ --overline-size: 12px;
312
+ --overline-height: 16px;
313
+ --metric-l-weight: 325;
314
+ --metric-l-size: 18px;
315
+ --metric-l-height: 22px;
316
+ --metric-l-emphasized-weight: 700;
317
+ --metric-l-emphasized-size: 18px;
318
+ --metric-l-emphasized-height: 22px;
319
+ --metric-xl-weight: 325;
320
+ --metric-xl-size: 24px;
321
+ --metric-xl-height: 28px;
322
+ --metric-xl-emphasized-weight: 700;
323
+ --metric-xl-emphasized-size: 24px;
324
+ --metric-xl-emphasized-height: 28px;
325
+ --metric-m-emphasized-weight: 700;
326
+ --metric-m-emphasized-height: 20px;
327
+ --metric-m-emphasized-size: 16px;
328
+ --metric-m-weight: 325;
329
+ --metric-m-size: 16px;
330
+ --metric-m-height: 20px;
331
+ --metric-s-weight: 325;
332
+ --metric-s-size: 14px;
333
+ --metric-s-height: 18px;
334
+ --metric-s-emphasized-weight: 700;
335
+ --metric-s-emphasized-size: 14px;
336
+ --metric-s-emphasized-height: 18px;
337
+ --metric-xs-weight: 325;
338
+ --metric-xs-size: 12px;
339
+ --metric-xs-height: 16px;
340
+ --metric-xs-emphasized-weight: 700;
341
+ --metric-xs-emphasized-size: 12px;
342
+ --metric-xs-emphasized-height: 16px;
343
+ }
344
+
345
+ /* ============================================
346
+ Typography — Mobile (overrides)
347
+ ============================================ */
348
+
349
+ @media (max-width: 767px) {
350
+ :root {
351
+ --lead-height: 28px;
352
+ --lead-size: 20px;
353
+ --lead-emphasized-size: 20px;
354
+ --lead-emphasized-height: 28px;
355
+ --heading-xl-size: 32px;
356
+ --heading-xl-height: 38px;
357
+ --heading-l-size: 26px;
358
+ --heading-l-height: 34px;
359
+ --heading-m-size: 22px;
360
+ --heading-m-height: 28px;
361
+ --heading-s-size: 20px;
362
+ --heading-s-height: 26px;
363
+ --display-l-size: 48px;
364
+ --display-l-height: 50px;
365
+ --display-s-size: 42px;
366
+ --display-s-height: 46px;
367
+ }
368
+ }
369
+
370
+ /* ============================================
371
+ Dark Mode — Prepared, not yet active
372
+ When Dark Mode is designed in Figma, semantic
373
+ color overrides will be generated here.
374
+ ============================================ */
375
+
376
+ [data-theme="dark"] {
377
+ /* No dark mode tokens yet */
378
+ }
379
+
380
+ /* ============================================
381
+ Typography — Utility Classes
382
+ ============================================ */
383
+
384
+ .text-lead {
385
+ font-family: var(--font-family-brand);
386
+ font-size: var(--lead-size);
387
+ line-height: var(--lead-height);
388
+ font-weight: var(--lead-weight);
389
+ }
390
+
391
+ .text-lead-emphasized {
392
+ font-family: var(--font-family-brand);
393
+ font-size: var(--lead-emphasized-size);
394
+ line-height: var(--lead-emphasized-height);
395
+ font-weight: var(--lead-emphasized-weight);
396
+ }
397
+
398
+ .text-heading-xl {
399
+ font-family: var(--font-family-brand);
400
+ font-size: var(--heading-xl-size);
401
+ line-height: var(--heading-xl-height);
402
+ font-weight: var(--heading-xl-weight);
403
+ }
404
+
405
+ .text-heading-l {
406
+ font-family: var(--font-family-brand);
407
+ font-size: var(--heading-l-size);
408
+ line-height: var(--heading-l-height);
409
+ font-weight: var(--heading-l-weight);
410
+ }
411
+
412
+ .text-heading-m {
413
+ font-family: var(--font-family-brand);
414
+ font-size: var(--heading-m-size);
415
+ line-height: var(--heading-m-height);
416
+ font-weight: var(--heading-m-weight);
417
+ }
418
+
419
+ .text-heading-s {
420
+ font-family: var(--font-family-brand);
421
+ font-size: var(--heading-s-size);
422
+ line-height: var(--heading-s-height);
423
+ font-weight: var(--heading-s-weight);
424
+ }
425
+
426
+ .text-body-l {
427
+ font-family: var(--font-family-brand);
428
+ font-size: var(--body-l-size);
429
+ line-height: var(--body-l-height);
430
+ font-weight: var(--body-l-weight);
431
+ }
432
+
433
+ .text-body-l-emphasized {
434
+ font-family: var(--font-family-brand);
435
+ font-size: var(--body-l-emphasized-size);
436
+ line-height: var(--body-l-emphasized-height);
437
+ font-weight: var(--body-l-emphasized-weight);
438
+ }
439
+
440
+ .text-body-m {
441
+ font-family: var(--font-family-brand);
442
+ font-size: var(--body-m-size);
443
+ line-height: var(--body-m-height);
444
+ font-weight: var(--body-m-weight);
445
+ }
446
+
447
+ .text-body-m-emphasized {
448
+ font-family: var(--font-family-brand);
449
+ font-size: var(--body-m-emphasized-size);
450
+ line-height: var(--body-m-emphasized-height);
451
+ font-weight: var(--body-m-emphasized-weight);
452
+ }
453
+
454
+ .text-body-s {
455
+ font-family: var(--font-family-brand);
456
+ font-size: var(--body-s-size);
457
+ line-height: var(--body-s-height);
458
+ font-weight: var(--body-s-weight);
459
+ }
460
+
461
+ .text-body-s-emphasized {
462
+ font-family: var(--font-family-brand);
463
+ font-size: var(--body-s-emphasized-size);
464
+ line-height: var(--body-s-emphasized-height);
465
+ font-weight: var(--body-s-emphasized-weight);
466
+ }
467
+
468
+ .text-caption {
469
+ font-family: var(--font-family-brand);
470
+ font-size: var(--caption-size);
471
+ line-height: var(--caption-height);
472
+ font-weight: var(--caption-weight);
473
+ }
474
+
475
+ .text-caption-emphasized {
476
+ font-family: var(--font-family-brand);
477
+ font-size: var(--caption-emphasized-size);
478
+ line-height: var(--caption-emphasized-height);
479
+ font-weight: var(--caption-emphasized-weight);
480
+ }
481
+
482
+ .text-display-l {
483
+ font-family: var(--font-family-brand);
484
+ font-size: var(--display-l-size);
485
+ line-height: var(--display-l-height);
486
+ font-weight: var(--display-l-weight);
487
+ }
488
+
489
+ .text-display-s {
490
+ font-family: var(--font-family-brand);
491
+ font-size: var(--display-s-size);
492
+ line-height: var(--display-s-height);
493
+ font-weight: var(--display-s-weight);
494
+ }
495
+
496
+ .text-label-l {
497
+ font-family: var(--font-family-brand);
498
+ font-size: var(--label-l-size);
499
+ line-height: var(--label-l-height);
500
+ font-weight: var(--label-l-weight);
501
+ }
502
+
503
+ .text-label-m {
504
+ font-family: var(--font-family-brand);
505
+ font-size: var(--label-m-size);
506
+ line-height: var(--label-m-height);
507
+ font-weight: var(--label-m-weight);
508
+ }
509
+
510
+ .text-label-s {
511
+ font-family: var(--font-family-brand);
512
+ font-size: var(--label-s-size);
513
+ line-height: var(--label-s-height);
514
+ font-weight: var(--label-s-weight);
515
+ }
516
+
517
+ .text-overline {
518
+ font-family: var(--font-family-brand);
519
+ font-size: var(--overline-size);
520
+ line-height: var(--overline-height);
521
+ font-weight: var(--overline-weight);
522
+ }
523
+
524
+ .text-metric-l {
525
+ font-family: var(--font-family-brand);
526
+ font-size: var(--metric-l-size);
527
+ line-height: var(--metric-l-height);
528
+ font-weight: var(--metric-l-weight);
529
+ }
530
+
531
+ .text-metric-l-emphasized {
532
+ font-family: var(--font-family-brand);
533
+ font-size: var(--metric-l-emphasized-size);
534
+ line-height: var(--metric-l-emphasized-height);
535
+ font-weight: var(--metric-l-emphasized-weight);
536
+ }
537
+
538
+ .text-metric-xl {
539
+ font-family: var(--font-family-brand);
540
+ font-size: var(--metric-xl-size);
541
+ line-height: var(--metric-xl-height);
542
+ font-weight: var(--metric-xl-weight);
543
+ }
544
+
545
+ .text-metric-xl-emphasized {
546
+ font-family: var(--font-family-brand);
547
+ font-size: var(--metric-xl-emphasized-size);
548
+ line-height: var(--metric-xl-emphasized-height);
549
+ font-weight: var(--metric-xl-emphasized-weight);
550
+ }
551
+
552
+ .text-metric-m-emphasized {
553
+ font-family: var(--font-family-brand);
554
+ font-size: var(--metric-m-emphasized-size);
555
+ line-height: var(--metric-m-emphasized-height);
556
+ font-weight: var(--metric-m-emphasized-weight);
557
+ }
558
+
559
+ .text-metric-m {
560
+ font-family: var(--font-family-brand);
561
+ font-size: var(--metric-m-size);
562
+ line-height: var(--metric-m-height);
563
+ font-weight: var(--metric-m-weight);
564
+ }
565
+
566
+ .text-metric-s {
567
+ font-family: var(--font-family-brand);
568
+ font-size: var(--metric-s-size);
569
+ line-height: var(--metric-s-height);
570
+ font-weight: var(--metric-s-weight);
571
+ }
572
+
573
+ .text-metric-s-emphasized {
574
+ font-family: var(--font-family-brand);
575
+ font-size: var(--metric-s-emphasized-size);
576
+ line-height: var(--metric-s-emphasized-height);
577
+ font-weight: var(--metric-s-emphasized-weight);
578
+ }
579
+
580
+ .text-metric-xs {
581
+ font-family: var(--font-family-brand);
582
+ font-size: var(--metric-xs-size);
583
+ line-height: var(--metric-xs-height);
584
+ font-weight: var(--metric-xs-weight);
585
+ }
586
+
587
+ .text-metric-xs-emphasized {
588
+ font-family: var(--font-family-brand);
589
+ font-size: var(--metric-xs-emphasized-size);
590
+ line-height: var(--metric-xs-emphasized-height);
591
+ font-weight: var(--metric-xs-emphasized-weight);
592
+ }
593
+