@gnist/themes 0.0.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.
Files changed (75) hide show
  1. package/README.md +253 -0
  2. package/dist/atoms.css.d.ts +140 -0
  3. package/dist/atoms.css.js +147 -0
  4. package/dist/build-utils/generate-themes.d.ts +1 -0
  5. package/dist/build-utils/generate-themes.js +94 -0
  6. package/dist/build-utils/theme-utils/formats/typescriptEsModule.d.ts +2 -0
  7. package/dist/build-utils/theme-utils/formats/typescriptEsModule.js +35 -0
  8. package/dist/build-utils/theme-utils/toCamelCase.d.ts +1 -0
  9. package/dist/build-utils/theme-utils/toCamelCase.js +14 -0
  10. package/dist/build-utils/theme-utils/transforms/figmaSizePx.d.ts +4 -0
  11. package/dist/build-utils/theme-utils/transforms/figmaSizePx.js +10 -0
  12. package/dist/build-utils/theme-utils/transforms/figmaSizeRem.d.ts +4 -0
  13. package/dist/build-utils/theme-utils/transforms/figmaSizeRem.js +16 -0
  14. package/dist/build-utils/theme-utils/transforms/figmaTypography.d.ts +2 -0
  15. package/dist/build-utils/theme-utils/transforms/figmaTypography.js +19 -0
  16. package/dist/build-utils/theme-utils/transforms/lineHeightUnitless.d.ts +4 -0
  17. package/dist/build-utils/theme-utils/transforms/lineHeightUnitless.js +24 -0
  18. package/dist/build-utils/theme-utils/transforms/shadowCss.d.ts +2 -0
  19. package/dist/build-utils/theme-utils/transforms/shadowCss.js +20 -0
  20. package/dist/colors.css.d.ts +16 -0
  21. package/dist/colors.css.js +23 -0
  22. package/dist/layers.css.d.ts +2 -0
  23. package/dist/layers.css.js +3 -0
  24. package/dist/themes/audi.css.d.ts +1 -0
  25. package/dist/themes/audi.css.js +4 -0
  26. package/dist/themes/audiTokens.d.ts +550 -0
  27. package/dist/themes/audiTokens.js +551 -0
  28. package/dist/themes/autoria.css.d.ts +1 -0
  29. package/dist/themes/autoria.css.js +4 -0
  30. package/dist/themes/autoriaTokens.d.ts +550 -0
  31. package/dist/themes/autoriaTokens.js +551 -0
  32. package/dist/themes/bilholdLight.css.d.ts +1 -0
  33. package/dist/themes/bilholdLight.css.js +4 -0
  34. package/dist/themes/bilholdLightTokens.d.ts +550 -0
  35. package/dist/themes/bilholdLightTokens.js +551 -0
  36. package/dist/themes/brandless.css.d.ts +1 -0
  37. package/dist/themes/brandless.css.js +4 -0
  38. package/dist/themes/brandlessTokens.d.ts +550 -0
  39. package/dist/themes/brandlessTokens.js +551 -0
  40. package/dist/themes/cupra.css.d.ts +1 -0
  41. package/dist/themes/cupra.css.js +4 -0
  42. package/dist/themes/cupraTokens.d.ts +550 -0
  43. package/dist/themes/cupraTokens.js +551 -0
  44. package/dist/themes/dahles.css.d.ts +1 -0
  45. package/dist/themes/dahles.css.js +4 -0
  46. package/dist/themes/dahlesTokens.d.ts +550 -0
  47. package/dist/themes/dahlesTokens.js +551 -0
  48. package/dist/themes/gumpen.css.d.ts +1 -0
  49. package/dist/themes/gumpen.css.js +4 -0
  50. package/dist/themes/gumpenTokens.d.ts +550 -0
  51. package/dist/themes/gumpenTokens.js +551 -0
  52. package/dist/themes/mollerBil.css.d.ts +1 -0
  53. package/dist/themes/mollerBil.css.js +4 -0
  54. package/dist/themes/mollerBilTokens.d.ts +550 -0
  55. package/dist/themes/mollerBilTokens.js +551 -0
  56. package/dist/themes/skodaDark.css.d.ts +1 -0
  57. package/dist/themes/skodaDark.css.js +4 -0
  58. package/dist/themes/skodaDarkTokens.d.ts +550 -0
  59. package/dist/themes/skodaDarkTokens.js +551 -0
  60. package/dist/themes/tools.css.d.ts +1 -0
  61. package/dist/themes/tools.css.js +4 -0
  62. package/dist/themes/toolsTokens.d.ts +550 -0
  63. package/dist/themes/toolsTokens.js +551 -0
  64. package/dist/themes/vw.css.d.ts +1 -0
  65. package/dist/themes/vw.css.js +4 -0
  66. package/dist/themes/vwTokens.d.ts +550 -0
  67. package/dist/themes/vwTokens.js +551 -0
  68. package/dist/themes.css.d.ts +11 -0
  69. package/dist/themes.css.js +11 -0
  70. package/dist/tokens.css.d.ts +550 -0
  71. package/dist/tokens.css.js +8 -0
  72. package/dist/tsconfig.build.tsbuildinfo +1 -0
  73. package/dist/typography.css.d.ts +16 -0
  74. package/dist/typography.css.js +34 -0
  75. package/package.json +53 -0
@@ -0,0 +1,551 @@
1
+ // Generated by style-dictionary. Do not edit directly.
2
+ export const toolsTokens = {
3
+ spacing: {
4
+ none: "0px",
5
+ base: "4px",
6
+ xxs: "8px",
7
+ xs: "12px",
8
+ s: "16px",
9
+ m: "20px",
10
+ l: "24px",
11
+ xl: "32px",
12
+ xxl: "40px",
13
+ "3xl": "48px",
14
+ },
15
+ size: {
16
+ base: "4px",
17
+ xxs: "8px",
18
+ xs: "12px",
19
+ s: "16px",
20
+ m: "20px",
21
+ l: "24px",
22
+ xl: "32px",
23
+ xxl: "40px",
24
+ "3xl": "48px",
25
+ "4xl": "64px",
26
+ },
27
+ keycolor: {
28
+ primary: "#222222",
29
+ secondary: "#5D5D60",
30
+ tertiary: "#FBFC83",
31
+ "tertiary-variant": "#CD9AEB",
32
+ neutral: "#F6F6F8",
33
+ "neutral-variant": "#E6E6E6",
34
+ error: "#FA6058",
35
+ warning: "#FB9C5D",
36
+ success: "#77CB9A",
37
+ info: "#20A3D4",
38
+ Interactive: "#D6CCEF",
39
+ },
40
+ palette: {
41
+ black: "#222222",
42
+ white: "#ffffff",
43
+ primary: {
44
+ "10": "#0a0d0f",
45
+ "20": "#15191f",
46
+ "30": "#1f262e",
47
+ "40": "#222222",
48
+ "50": "#424242",
49
+ "60": "#616161",
50
+ "70": "#818181",
51
+ "80": "#A0A0A0",
52
+ "90": "#C0C0C0",
53
+ "95": "#DFDFDF",
54
+ },
55
+ secondary: {
56
+ "10": "#181819",
57
+ "20": "#2F2F31",
58
+ "30": "#464649",
59
+ "40": "#5D5D60",
60
+ "50": "#747477",
61
+ "60": "#8B8B8E",
62
+ "70": "#A2A2A5",
63
+ "80": "#BAB9BB",
64
+ "90": "#D1D0D2",
65
+ "95": "#E8E8E9",
66
+ },
67
+ tertiary: {
68
+ "10": "#424216",
69
+ "20": "#818133",
70
+ "30": "#C0C057",
71
+ "40": "#FBFC83",
72
+ "50": "#FFFF8D",
73
+ "60": "#FFFF9A",
74
+ "70": "#FFFFA9",
75
+ "80": "#FFFFBB",
76
+ "90": "#FFFFBB",
77
+ "95": "#FFFFE6",
78
+ },
79
+ "tertiary-variant": {
80
+ "10": "#382042",
81
+ "20": "#6B4481",
82
+ "30": "#9D6CB9",
83
+ "40": "#CD9AEB",
84
+ "50": "#D8A4F3",
85
+ "60": "#E2AFF9",
86
+ "70": "#ECBBFE",
87
+ "80": "#F3CAFF",
88
+ "90": "#FADAFF",
89
+ "95": "#FDECFF",
90
+ },
91
+ neutral: {
92
+ "10": "#3F3F40",
93
+ "20": "#7C7C7D",
94
+ "30": "#B8B8BA",
95
+ "40": "#F5F5F7",
96
+ "50": "#F6F6F8",
97
+ "60": "#F9F9FB",
98
+ "70": "#FBFBFC",
99
+ "80": "#FCFCFD",
100
+ "90": "#FEFDFE",
101
+ "95": "#FFFFFF",
102
+ },
103
+ "neutral-variant": {
104
+ "10": "#3B3B3B",
105
+ "20": "#747474",
106
+ "30": "#ADADAD",
107
+ "40": "#E6E6E6",
108
+ "50": "#EAEAEA",
109
+ "60": "#EDEDED",
110
+ "70": "#F1F1F1",
111
+ "80": "#F4F4F4",
112
+ "90": "#F8F8F8",
113
+ "95": "#FBFBFB",
114
+ },
115
+ error: {
116
+ "10": "#420C07",
117
+ "20": "#812018",
118
+ "30": "#C03C33",
119
+ "40": "#FA6058",
120
+ "50": "#FF7366",
121
+ "60": "#FF8877",
122
+ "70": "#FFA08C",
123
+ "80": "#FFB8A4",
124
+ "90": "#FFD0BF",
125
+ "95": "#FFE8DD",
126
+ },
127
+ warning: {
128
+ "10": "#422709",
129
+ "20": "#814D1B",
130
+ "30": "#C07437",
131
+ "40": "#FB9C5D",
132
+ "50": "#FFAD6B",
133
+ "60": "#FFBF7B",
134
+ "70": "#FFCF8F",
135
+ "80": "#FFDFA6",
136
+ "90": "#FFECC1",
137
+ "95": "#FFF7DE",
138
+ },
139
+ success: {
140
+ "10": "#173C27",
141
+ "20": "#32714D",
142
+ "30": "#52A173",
143
+ "40": "#77CB9A",
144
+ "50": "#85D8AA",
145
+ "60": "#95E2BB",
146
+ "70": "#A7ECCA",
147
+ "80": "#BAF3DA",
148
+ "90": "#D0F9E8",
149
+ "95": "#E6FDF4",
150
+ },
151
+ info: {
152
+ "10": "#003042",
153
+ "20": "#005A81",
154
+ "30": "#0781B1",
155
+ "40": "#20A3D4",
156
+ "50": "#35AFE5",
157
+ "60": "#4DBBF3",
158
+ "70": "#4DBBF3",
159
+ "80": "#6DC6FD",
160
+ "90": "#92D1FF",
161
+ "95": "#B6DEFF",
162
+ },
163
+ interactive: {
164
+ "10": "#363141",
165
+ "20": "#6B637D",
166
+ "30": "#A096B7",
167
+ "40": "#D6CCEF",
168
+ "50": "#DCD1F3",
169
+ "60": "#E2D7F7",
170
+ "70": "#E9DEFA",
171
+ "80": "#EFE5FC",
172
+ "90": "#F5EDFE",
173
+ "95": "#FAF6FF",
174
+ },
175
+ },
176
+ color: {
177
+ primary: "#222222",
178
+ "on-primary": "#ffffff",
179
+ "primary-container": "#c0c0c0",
180
+ "on-primary-container": "#222222",
181
+ secondary: "#5d5d60",
182
+ "on-secondary": "#e8e8e9",
183
+ "secondary-container": "#d1d0d2",
184
+ "on-secondary-container": "#2f2f31",
185
+ tertiary: "#fbfc83",
186
+ "on-tertiary": "#222222",
187
+ "tertiary-container": "#ffffbb",
188
+ "on-tertiary-container": "#222222",
189
+ "tertiary-variant": "#cd9aeb",
190
+ "on-tertiary-variant": "#222222",
191
+ background: "#f4f4f4",
192
+ "on-background": "#222222",
193
+ "inverse-background": "#222222",
194
+ "on-inverse-background": "#f5f5f7",
195
+ surface: "#fcfcfd",
196
+ "on-surface": "#222222",
197
+ disabled: "#f6f6f8",
198
+ "on-disabled": "#3f3f40",
199
+ "text-variant": "#7c7c7d",
200
+ "inverse-text-variant": "#3f3f40",
201
+ outline: "#7c7c7d",
202
+ loader: "#f6f6f8",
203
+ "on-loader": "#3f3f40",
204
+ "surface-variant": "#3b3b3b",
205
+ "on-surface-variant": "#f4f4f4",
206
+ error: "#fa6058",
207
+ "on-error": "#ffe8dd",
208
+ "error-container": "#ffe8dd",
209
+ "on-error-container": "#420c07",
210
+ warning: "#fb9c5d",
211
+ "on-warning": "#222222",
212
+ "warning-container": "#ffffbb",
213
+ "on-warning-container": "#222222",
214
+ success: "#77cb9a",
215
+ "on-success": "#e6fdf4",
216
+ "success-container": "#e6fdf4",
217
+ "on-success-container": "#222222",
218
+ info: "#20a3d4",
219
+ "on-info": "#222222",
220
+ "info-container": "#b6deff",
221
+ "on-info-container": "#222222",
222
+ interactive: "#a096b7",
223
+ highlight: "#6b637d",
224
+ },
225
+ typeface: {
226
+ brand: "Geist Variable",
227
+ "line-height": "1.4",
228
+ weight: {
229
+ light: "300",
230
+ book: "350",
231
+ regular: "400",
232
+ medium: "500",
233
+ semibold: "600",
234
+ bold: "700",
235
+ "extra-bold": "800",
236
+ black: "900",
237
+ },
238
+ size: {
239
+ s: "0.875rem",
240
+ base: "1rem",
241
+ m: "1.125rem",
242
+ l: "1.25rem",
243
+ xl: "1.5rem",
244
+ xxl: "1.75rem",
245
+ "3xl": "2rem",
246
+ "4xl": "2.5rem",
247
+ "5xl": "3.25rem",
248
+ },
249
+ "letter-spacing": {
250
+ none: "0",
251
+ },
252
+ "text-case": {
253
+ none: "none",
254
+ uppercase: "uppercase",
255
+ lowercase: "lowercase",
256
+ },
257
+ "text-decoration": {
258
+ none: "none",
259
+ line: "underline",
260
+ strikethrough: "line-through",
261
+ },
262
+ "brand-display": "Roboto",
263
+ },
264
+ type: {
265
+ large: {
266
+ display: {
267
+ fontFamily: "Geist Variable",
268
+ fontWeight: "500",
269
+ lineHeight: "1.4",
270
+ fontSize: "3.25rem",
271
+ letterSpacing: "0",
272
+ paragraphSpacing: "4.875rem",
273
+ textCase: "none",
274
+ textDecoration: "none",
275
+ },
276
+ heading1: {
277
+ fontFamily: "Geist Variable",
278
+ fontWeight: "500",
279
+ lineHeight: "1.4",
280
+ fontSize: "2.5rem",
281
+ letterSpacing: "0",
282
+ paragraphSpacing: "3rem",
283
+ textDecoration: "none",
284
+ textCase: "none",
285
+ },
286
+ heading2: {
287
+ fontFamily: "Geist Variable",
288
+ fontWeight: "500",
289
+ lineHeight: "1.4",
290
+ fontSize: "1.75rem",
291
+ letterSpacing: "0",
292
+ paragraphSpacing: "2.625rem",
293
+ textDecoration: "none",
294
+ textCase: "none",
295
+ },
296
+ heading3: {
297
+ fontFamily: "Geist Variable",
298
+ fontWeight: "500",
299
+ lineHeight: "1.4",
300
+ fontSize: "1.5rem",
301
+ letterSpacing: "0",
302
+ paragraphSpacing: "2.25rem",
303
+ textDecoration: "none",
304
+ textCase: "none",
305
+ },
306
+ lead: {
307
+ fontFamily: "Geist Variable",
308
+ fontWeight: "400",
309
+ lineHeight: "1.4",
310
+ fontSize: "1.25rem",
311
+ letterSpacing: "0",
312
+ paragraphSpacing: "1.25rem",
313
+ textDecoration: "none",
314
+ textCase: "none",
315
+ },
316
+ body: {
317
+ fontFamily: "Geist Variable",
318
+ fontWeight: "400",
319
+ lineHeight: "1.4",
320
+ fontSize: "1rem",
321
+ letterSpacing: "0",
322
+ paragraphSpacing: "1rem",
323
+ textCase: "none",
324
+ textDecoration: "none",
325
+ },
326
+ link: {
327
+ fontFamily: "Geist Variable",
328
+ fontWeight: "400",
329
+ lineHeight: "1.4",
330
+ fontSize: "1rem",
331
+ letterSpacing: "0",
332
+ paragraphSpacing: "1rem",
333
+ textDecoration: "underline",
334
+ textCase: "none",
335
+ },
336
+ detail: {
337
+ fontFamily: "Geist Variable",
338
+ fontWeight: "400",
339
+ lineHeight: "1.4",
340
+ fontSize: "0.875rem",
341
+ letterSpacing: "0",
342
+ paragraphSpacing: "0.875rem",
343
+ textDecoration: "none",
344
+ textCase: "none",
345
+ },
346
+ },
347
+ medium: {
348
+ display: {
349
+ fontFamily: "Geist Variable",
350
+ fontWeight: "500",
351
+ lineHeight: "1.4",
352
+ fontSize: "2.5rem",
353
+ letterSpacing: "0",
354
+ paragraphSpacing: "3.75rem",
355
+ textCase: "none",
356
+ textDecoration: "none",
357
+ },
358
+ heading1: {
359
+ fontFamily: "Geist Variable",
360
+ fontWeight: "500",
361
+ lineHeight: "1.4",
362
+ fontSize: "1.75rem",
363
+ letterSpacing: "0",
364
+ paragraphSpacing: "2.625rem",
365
+ textDecoration: "none",
366
+ textCase: "none",
367
+ },
368
+ heading2: {
369
+ fontFamily: "Geist Variable",
370
+ fontWeight: "500",
371
+ lineHeight: "1.4",
372
+ fontSize: "1.5rem",
373
+ letterSpacing: "0",
374
+ paragraphSpacing: "2.25rem",
375
+ textDecoration: "none",
376
+ textCase: "none",
377
+ },
378
+ heading3: {
379
+ fontFamily: "Geist Variable",
380
+ fontWeight: "500",
381
+ lineHeight: "1.4",
382
+ fontSize: "1.25rem",
383
+ letterSpacing: "0",
384
+ paragraphSpacing: "1.875rem",
385
+ textDecoration: "none",
386
+ textCase: "none",
387
+ },
388
+ lead: {
389
+ fontFamily: "Geist Variable",
390
+ fontWeight: "400",
391
+ lineHeight: "1.4",
392
+ fontSize: "1.125rem",
393
+ letterSpacing: "0",
394
+ paragraphSpacing: "1.125rem",
395
+ textDecoration: "none",
396
+ textCase: "none",
397
+ },
398
+ body: {
399
+ fontFamily: "Geist Variable",
400
+ fontWeight: "400",
401
+ lineHeight: "1.4",
402
+ fontSize: "1rem",
403
+ letterSpacing: "0",
404
+ paragraphSpacing: "1rem",
405
+ textCase: "none",
406
+ textDecoration: "none",
407
+ },
408
+ link: {
409
+ fontFamily: "Geist Variable",
410
+ fontWeight: "400",
411
+ lineHeight: "1.4",
412
+ fontSize: "1rem",
413
+ letterSpacing: "0",
414
+ paragraphSpacing: "1rem",
415
+ textDecoration: "underline",
416
+ textCase: "none",
417
+ },
418
+ detail: {
419
+ fontFamily: "Geist Variable",
420
+ fontWeight: "400",
421
+ lineHeight: "1.4",
422
+ fontSize: "0.875rem",
423
+ letterSpacing: "0",
424
+ paragraphSpacing: "0.875rem",
425
+ textDecoration: "none",
426
+ textCase: "none",
427
+ },
428
+ },
429
+ small: {
430
+ display: {
431
+ fontFamily: "Geist Variable",
432
+ fontWeight: "500",
433
+ lineHeight: "1.4",
434
+ fontSize: "2rem",
435
+ letterSpacing: "0",
436
+ paragraphSpacing: "3rem",
437
+ textCase: "none",
438
+ textDecoration: "none",
439
+ },
440
+ heading1: {
441
+ fontFamily: "Geist Variable",
442
+ fontWeight: "500",
443
+ lineHeight: "1.4",
444
+ fontSize: "1.5rem",
445
+ letterSpacing: "0",
446
+ paragraphSpacing: "2.25rem",
447
+ textDecoration: "none",
448
+ textCase: "none",
449
+ },
450
+ heading2: {
451
+ fontFamily: "Geist Variable",
452
+ fontWeight: "500",
453
+ lineHeight: "1.4",
454
+ fontSize: "1.25rem",
455
+ letterSpacing: "0",
456
+ paragraphSpacing: "1.875rem",
457
+ textDecoration: "none",
458
+ textCase: "none",
459
+ },
460
+ heading3: {
461
+ fontFamily: "Geist Variable",
462
+ fontWeight: "500",
463
+ lineHeight: "1.4",
464
+ fontSize: "1.125rem",
465
+ letterSpacing: "0",
466
+ paragraphSpacing: "1.6875rem",
467
+ textDecoration: "none",
468
+ textCase: "none",
469
+ },
470
+ lead: {
471
+ fontFamily: "Geist Variable",
472
+ fontWeight: "400",
473
+ lineHeight: "1.4",
474
+ fontSize: "1.125rem",
475
+ letterSpacing: "0",
476
+ paragraphSpacing: "1.125rem",
477
+ textDecoration: "none",
478
+ textCase: "none",
479
+ },
480
+ body: {
481
+ fontFamily: "Geist Variable",
482
+ fontWeight: "400",
483
+ lineHeight: "1.4",
484
+ fontSize: "1rem",
485
+ letterSpacing: "0",
486
+ paragraphSpacing: "1rem",
487
+ textCase: "none",
488
+ textDecoration: "none",
489
+ },
490
+ link: {
491
+ fontFamily: "Geist Variable",
492
+ fontWeight: "400",
493
+ lineHeight: "1.4",
494
+ fontSize: "1rem",
495
+ letterSpacing: "0",
496
+ paragraphSpacing: "1rem",
497
+ textDecoration: "underline",
498
+ textCase: "none",
499
+ },
500
+ detail: {
501
+ fontFamily: "Geist Variable",
502
+ fontWeight: "400",
503
+ lineHeight: "1.4",
504
+ fontSize: "0.875rem",
505
+ letterSpacing: "0",
506
+ paragraphSpacing: "0.875rem",
507
+ textDecoration: "none",
508
+ textCase: "none",
509
+ },
510
+ },
511
+ },
512
+ stroke: {
513
+ "x-small": "0.5px",
514
+ small: "1px",
515
+ medium: "2px",
516
+ large: "4px",
517
+ },
518
+ "border-radius": {
519
+ none: "0px",
520
+ small: "2px",
521
+ medium: "4px",
522
+ large: "8px",
523
+ "x-large": "12px",
524
+ "xx-large": "16px",
525
+ full: "999px",
526
+ },
527
+ radius: {
528
+ button: "12px",
529
+ checkbox: "0px",
530
+ card: "12px",
531
+ input: "12px",
532
+ picker: "0px",
533
+ overlay: "0px",
534
+ feedback: "0px",
535
+ },
536
+ elevation: {
537
+ none: "0px 0px 0px 0px #00000000",
538
+ low: "0px 0px 1px 0px #0000003d, 0px 1px 4px 0px #0000000a, 0px 4px 8px 0px #0000000f",
539
+ medium: "0px 0px 1px 0px #0000003d, 0px 4px 8px 0px #0000000a, 0px 8px 24px 0px #0000000f",
540
+ high: "0px 0px 1px 0px #0000003d, 0px 2px 16px 0px #00000014, 0px 8px 48px 0px #0000000f",
541
+ },
542
+ "opacity-percentage": {
543
+ "8": "0.08",
544
+ "16": "0.16",
545
+ },
546
+ opacity: {
547
+ "on-hover": "0.08",
548
+ "on-pressed": "0.16",
549
+ "on-focus": "0.16",
550
+ },
551
+ };
@@ -0,0 +1 @@
1
+ export declare const vw: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { vwTokens } from "./vwTokens.js";
4
+ export const vw = createTheme(tokens, vwTokens);