@gnist/themes 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.
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 +52 -0
@@ -0,0 +1,551 @@
1
+ // Generated by style-dictionary. Do not edit directly.
2
+ export const gumpenTokens = {
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
+ success: "#039A6F",
29
+ primary: "#477C65",
30
+ secondary: "#ADD596",
31
+ tertiary: "#ADD596",
32
+ "tertiary-variant": "#737D86",
33
+ neutral: "#56616e",
34
+ "neutral-variant": "#D4DEE9",
35
+ error: "#CD1F00",
36
+ warning: "#FFC107",
37
+ info: "#0DCAF0",
38
+ Interactive: "#0D6EFD",
39
+ },
40
+ palette: {
41
+ primary: {
42
+ "10": "#081A12",
43
+ "20": "#123024",
44
+ "30": "#2A5945",
45
+ "40": "#477C65",
46
+ "50": "#5E927D",
47
+ "60": "#76A795",
48
+ "70": "#8FBBAC",
49
+ "80": "#AACDC3",
50
+ "90": "#C5DFD8",
51
+ "95": "#EEF7F3",
52
+ },
53
+ secondary: {
54
+ "10": "#1B2A14",
55
+ "20": "#355026",
56
+ "30": "#6B9553",
57
+ "40": "#ADD596",
58
+ "50": "#AEDD95",
59
+ "60": "#B8E6A2",
60
+ "70": "#C3EEB2",
61
+ "80": "#CFF5C3",
62
+ "90": "#DDFAD5",
63
+ "95": "#EDFDEA",
64
+ },
65
+ tertiary: {
66
+ "10": "#1B2A14",
67
+ "20": "#355026",
68
+ "30": "#6B9553",
69
+ "40": "#ADD596",
70
+ "50": "#AEDD95",
71
+ "60": "#B8E6A2",
72
+ "70": "#C3EEB2",
73
+ "80": "#CFF5C3",
74
+ "90": "#DDFAD5",
75
+ "95": "#EDFDEA",
76
+ },
77
+ "tertiary-variant": {
78
+ "10": "#15191D",
79
+ "20": "#252A30",
80
+ "30": "#4B545C",
81
+ "40": "#737D86",
82
+ "50": "#868F98",
83
+ "60": "#99A1AB",
84
+ "70": "#ADB3BC",
85
+ "80": "#C1C6CE",
86
+ "90": "#D5D8DE",
87
+ "95": "#EAECEF",
88
+ },
89
+ neutral: {
90
+ "10": "#0F1318",
91
+ "20": "#1e242a",
92
+ "30": "#2c353f",
93
+ "40": "#3b4754",
94
+ "50": "#56616e",
95
+ "60": "#707c87",
96
+ "70": "#8c96a0",
97
+ "80": "#a8b0b9",
98
+ "90": "#c4cad1",
99
+ "95": "#e2e5e8",
100
+ },
101
+ "neutral-variant": {
102
+ "10": "#35383A",
103
+ "20": "#6A6F75",
104
+ "30": "#9FA7AF",
105
+ "40": "#D4DEE9",
106
+ "50": "#D9E3ED",
107
+ "60": "#DEE7F1",
108
+ "70": "#E4ECF5",
109
+ "80": "#EAF1F8",
110
+ "90": "#F1F6FB",
111
+ "95": "#F8FAFD",
112
+ },
113
+ error: {
114
+ "10": "#2B0000",
115
+ "20": "#570006",
116
+ "30": "#A6111E",
117
+ "40": "#CD1F00",
118
+ "50": "#EB4852",
119
+ "60": "#F75E62",
120
+ "70": "#FF7877",
121
+ "80": "#FF9894",
122
+ "90": "#FFBAB6",
123
+ "95": "#FFDDDB",
124
+ },
125
+ warning: {
126
+ "10": "#2B2B00",
127
+ "20": "#575300",
128
+ "30": "#AB9200",
129
+ "40": "#FFC107",
130
+ "50": "#FFDA24",
131
+ "60": "#FFEF49",
132
+ "70": "#FFFF92",
133
+ "80": "#FFFF92",
134
+ "90": "#FFFFB6",
135
+ "95": "#FFFFDB",
136
+ },
137
+ success: {
138
+ "10": "#002B22",
139
+ "20": "#00573D",
140
+ "30": "#039A6F",
141
+ "40": "#20C997",
142
+ "50": "#36DBB0",
143
+ "60": "#4FEAC6",
144
+ "70": "#6DF5DA",
145
+ "80": "#92FDEA",
146
+ "90": "#B6FFF6",
147
+ "95": "#DBFFFD",
148
+ },
149
+ info: {
150
+ "10": "#002B2B",
151
+ "20": "#005357",
152
+ "30": "#0096AB",
153
+ "40": "#0DCAF0",
154
+ "50": "#24D3FF",
155
+ "60": "#49DBFF",
156
+ "70": "#6DE1FF",
157
+ "80": "#92E6FF",
158
+ "90": "#B6EDFF",
159
+ "95": "#DBF5FF",
160
+ },
161
+ interactive: {
162
+ "10": "#000C2B",
163
+ "20": "#001D57",
164
+ "30": "#0042AB",
165
+ "40": "#0D6EFD",
166
+ "50": "#2478FF",
167
+ "60": "#4984FF",
168
+ "70": "#6D93FF",
169
+ "80": "#92A6FF",
170
+ "90": "#B6BDFF",
171
+ "95": "#DBDBFF",
172
+ },
173
+ black: "#000000",
174
+ white: "#ffffff",
175
+ },
176
+ color: {
177
+ surface: "#f8fafd",
178
+ "on-disabled": "#8c96a0",
179
+ "surface-variant": "#eef7f3",
180
+ "on-surface-variant": "#000000",
181
+ warning: "#ab9200",
182
+ success: "#039a6f",
183
+ "success-container": "#dbfffd",
184
+ info: "#0096ab",
185
+ "info-container": "#dbf5ff",
186
+ "text-variant": "#707c87",
187
+ "inverse-text-variant": "#d4dee9",
188
+ primary: "#477c65",
189
+ "on-primary": "#ffffff",
190
+ "primary-container": "#c5dfd8",
191
+ "on-primary-container": "#081a12",
192
+ secondary: "#add596",
193
+ "on-secondary": "#000000",
194
+ "secondary-container": "#ddfad5",
195
+ "on-secondary-container": "#1b2a14",
196
+ tertiary: "#add596",
197
+ "on-tertiary": "#000000",
198
+ "tertiary-container": "#ddfad5",
199
+ "on-tertiary-container": "#1b2a14",
200
+ "tertiary-variant": "#737d86",
201
+ "on-tertiary-variant": "#000000",
202
+ background: "#ffffff",
203
+ "on-background": "#000000",
204
+ "inverse-background": "#000000",
205
+ "on-inverse-background": "#ffffff",
206
+ "on-surface": "#000000",
207
+ disabled: "#e2e5e8",
208
+ outline: "#c4cad1",
209
+ loader: "#e2e5e8",
210
+ "on-loader": "#c4cad1",
211
+ error: "#cd1f00",
212
+ "on-error": "#ffffff",
213
+ "error-container": "#ffdddb",
214
+ "on-error-container": "#2b0000",
215
+ "on-warning": "#000000",
216
+ "warning-container": "#ffffdb",
217
+ "on-warning-container": "#2b2b00",
218
+ "on-success": "#ffffff",
219
+ "on-success-container": "#002b22",
220
+ "on-info": "#ffffff",
221
+ "on-info-container": "#002b2b",
222
+ interactive: "#0d6efd",
223
+ highlight: "#dbdbff",
224
+ },
225
+ typeface: {
226
+ brand: "ES Build",
227
+ "brand-display": "ES Build",
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
+ "line-height": "1.4",
250
+ "letter-spacing": {
251
+ none: "0",
252
+ },
253
+ "text-case": {
254
+ none: "none",
255
+ uppercase: "uppercase",
256
+ lowercase: "lowercase",
257
+ },
258
+ "text-decoration": {
259
+ none: "none",
260
+ line: "underline",
261
+ strikethrough: "line-through",
262
+ },
263
+ },
264
+ type: {
265
+ large: {
266
+ display: {
267
+ fontFamily: "ES Build",
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: "ES Build",
278
+ fontWeight: "500",
279
+ lineHeight: "1.4",
280
+ fontSize: "2rem",
281
+ letterSpacing: "0",
282
+ paragraphSpacing: "3rem",
283
+ textDecoration: "none",
284
+ textCase: "none",
285
+ },
286
+ heading2: {
287
+ fontFamily: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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: "ES Build",
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": "16px",
524
+ full: "999px",
525
+ "xx-large": "16px",
526
+ },
527
+ radius: {
528
+ button: "16px",
529
+ card: "16px",
530
+ input: "16px",
531
+ picker: "16px",
532
+ overlay: "16px",
533
+ feedback: "16px",
534
+ checkbox: "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 mollerBil: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { mollerBilTokens } from "./mollerBilTokens.js";
4
+ export const mollerBil = createTheme(tokens, mollerBilTokens);