@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 mollerBilTokens = {
3
+ palette: {
4
+ primary: {
5
+ "10": "#000B1D",
6
+ "20": "#000E27",
7
+ "30": "#001232",
8
+ "40": "#001740",
9
+ "50": "#001946",
10
+ "60": "#33476B",
11
+ "70": "#546583",
12
+ "80": "#8A95AA",
13
+ "90": "#B0B8C6",
14
+ "95": "#E6E8ED",
15
+ },
16
+ secondary: {
17
+ "10": "#00006B",
18
+ "20": "#00008C",
19
+ "30": "#0000B5",
20
+ "40": "#0000E8",
21
+ "50": "#0000FF",
22
+ "60": "#3333FF",
23
+ "70": "#5454FF",
24
+ "80": "#8A8AFF",
25
+ "90": "#B0B0FF",
26
+ "95": "#E6E6FF",
27
+ },
28
+ tertiary: {
29
+ "10": "#6B3F30",
30
+ "20": "#8C533F",
31
+ "30": "#B56B52",
32
+ "40": "#E88969",
33
+ "50": "#FF9673",
34
+ "60": "#FFAB8F",
35
+ "70": "#FFB9A1",
36
+ "80": "#FFCFBF",
37
+ "90": "#FFDED4",
38
+ "95": "#FFF5F1",
39
+ },
40
+ "tertiary-variant": {
41
+ "10": "#5f2820",
42
+ "20": "#7C342A",
43
+ "30": "#A04337",
44
+ "40": "#CE5646",
45
+ "50": "#E25F4D",
46
+ "60": "#E87F71",
47
+ "70": "#EC9488",
48
+ "80": "#F2B5AD",
49
+ "90": "#F6CDC8",
50
+ "95": "#FCEFED",
51
+ },
52
+ neutral: {
53
+ "10": "#666461",
54
+ "20": "#868380",
55
+ "30": "#ada9a5",
56
+ "40": "#ddd9d3",
57
+ "50": "#f3eee8",
58
+ "60": "#F5F1ED",
59
+ "70": "#F7F4F0",
60
+ "80": "#F9F7F4",
61
+ "90": "#FBFAF8",
62
+ "95": "#FEFDFD",
63
+ },
64
+ "neutral-variant": {
65
+ "10": "#1D396B",
66
+ "20": "#274A8C",
67
+ "30": "#3260B5",
68
+ "40": "#407BE8",
69
+ "50": "#4687FF",
70
+ "60": "#6B9FFF",
71
+ "70": "#83AFFF",
72
+ "80": "#AAC8FF",
73
+ "90": "#C6DAFF",
74
+ "95": "#EDF3FF",
75
+ },
76
+ error: {
77
+ "10": "#541313",
78
+ "20": "#6f1919",
79
+ "30": "#8f2020",
80
+ "40": "#b72929",
81
+ "50": "#c92d2d",
82
+ "60": "#d45757",
83
+ "70": "#db7272",
84
+ "80": "#e69e9e",
85
+ "90": "#eebebe",
86
+ "95": "#faeaea",
87
+ },
88
+ warning: {
89
+ "10": "#6b4200",
90
+ "20": "#8c5600",
91
+ "30": "#b56f00",
92
+ "40": "#e88f00",
93
+ "50": "#ff9d00",
94
+ "60": "#ffb133",
95
+ "70": "#ffbd54",
96
+ "80": "#ffd28a",
97
+ "90": "#ffe1b0",
98
+ "95": "#fff5e6",
99
+ },
100
+ success: {
101
+ "10": "#22492a",
102
+ "20": "#2c5f39",
103
+ "30": "#397b47",
104
+ "40": "#499d5b",
105
+ "50": "#50ad64",
106
+ "60": "#73bd83",
107
+ "70": "#8ac897",
108
+ "80": "#afd9b8",
109
+ "90": "#c9e6cf",
110
+ "95": "#eef7f0",
111
+ },
112
+ info: {
113
+ "10": "#1D396B",
114
+ "20": "#274A8C",
115
+ "30": "#3260B5",
116
+ "40": "#407BE8",
117
+ "50": "#4687FF",
118
+ "60": "#6B9FFF",
119
+ "70": "#83AFFF",
120
+ "80": "#AAC8FF",
121
+ "90": "#C6DAFF",
122
+ "95": "#EDF3FF",
123
+ },
124
+ interactive: {
125
+ "10": "#341F57",
126
+ "20": "#442871",
127
+ "30": "#583492",
128
+ "40": "#7142BB",
129
+ "50": "#7C49CE",
130
+ "60": "#966DD8",
131
+ "70": "#A785DE",
132
+ "80": "#C3ABE8",
133
+ "90": "#D6C7F0",
134
+ "95": "#F2EDFA",
135
+ },
136
+ black: "#000000",
137
+ white: "#ffffff",
138
+ },
139
+ typeface: {
140
+ brand: "Moller",
141
+ "brand-display": "Moller",
142
+ "line-height": "1.4",
143
+ size: {
144
+ s: "0.875rem",
145
+ base: "1rem",
146
+ m: "1.125rem",
147
+ l: "1.25rem",
148
+ xl: "1.5rem",
149
+ xxl: "1.75rem",
150
+ "3xl": "2rem",
151
+ "4xl": "2.5rem",
152
+ "5xl": "3.25rem",
153
+ },
154
+ weight: {
155
+ light: "300",
156
+ book: "350",
157
+ regular: "400",
158
+ medium: "500",
159
+ semibold: "600",
160
+ bold: "700",
161
+ "extra-bold": "800",
162
+ black: "900",
163
+ },
164
+ "letter-spacing": {
165
+ none: "0",
166
+ },
167
+ "text-case": {
168
+ none: "none",
169
+ uppercase: "uppercase",
170
+ lowercase: "lowercase",
171
+ },
172
+ "text-decoration": {
173
+ none: "none",
174
+ line: "underline",
175
+ strikethrough: "line-through",
176
+ },
177
+ },
178
+ radius: {
179
+ button: "12px",
180
+ card: "12px",
181
+ input: "12px",
182
+ picker: "12px",
183
+ overlay: "12px",
184
+ feedback: "12px",
185
+ checkbox: "2px",
186
+ },
187
+ color: {
188
+ primary: "#001946",
189
+ "primary-container": "#e6e8ed",
190
+ secondary: "#0000ff",
191
+ "on-secondary": "#ffffff",
192
+ "secondary-container": "#e6e6ff",
193
+ tertiary: "#ff9673",
194
+ "tertiary-container": "#fff5f1",
195
+ "on-tertiary-container": "#000000",
196
+ "tertiary-variant": "#e25f4d",
197
+ background: "#f9f7f4",
198
+ disabled: "#ddd9d3",
199
+ "on-disabled": "#868380",
200
+ "text-variant": "#ada9a5",
201
+ "inverse-text-variant": "#666461",
202
+ outline: "#ada9a5",
203
+ loader: "#f9f7f4",
204
+ "on-loader": "#f5f1ed",
205
+ "surface-variant": "#f3eee8",
206
+ "on-surface-variant": "#000000",
207
+ error: "#c92d2d",
208
+ warning: "#ff9d00",
209
+ success: "#397b47",
210
+ info: "#3260b5",
211
+ interactive: "#7c49ce",
212
+ "on-primary": "#ffffff",
213
+ "on-primary-container": "#000b1d",
214
+ "on-secondary-container": "#00006b",
215
+ "on-tertiary": "#000000",
216
+ "on-tertiary-variant": "#000000",
217
+ "on-background": "#000000",
218
+ "inverse-background": "#000000",
219
+ "on-inverse-background": "#ffffff",
220
+ surface: "#ffffff",
221
+ "on-surface": "#000000",
222
+ "on-error": "#ffffff",
223
+ "error-container": "#faeaea",
224
+ "on-error-container": "#541313",
225
+ "on-warning": "#000000",
226
+ "warning-container": "#fff5e6",
227
+ "on-warning-container": "#6b4200",
228
+ "on-success": "#ffffff",
229
+ "success-container": "#eef7f0",
230
+ "on-success-container": "#22492a",
231
+ "on-info": "#ffffff",
232
+ "info-container": "#edf3ff",
233
+ "on-info-container": "#1d396b",
234
+ highlight: "#f2edfa",
235
+ },
236
+ type: {
237
+ large: {
238
+ display: {
239
+ fontFamily: "Moller",
240
+ fontWeight: "500",
241
+ fontSize: "3.25rem",
242
+ lineHeight: "1.4",
243
+ letterSpacing: "0",
244
+ paragraphSpacing: "3.75rem",
245
+ textCase: "none",
246
+ textDecoration: "none",
247
+ },
248
+ heading1: {
249
+ fontFamily: "Moller",
250
+ fontWeight: "500",
251
+ fontSize: "2rem",
252
+ lineHeight: "1.4",
253
+ letterSpacing: "0",
254
+ paragraphSpacing: "3rem",
255
+ textDecoration: "none",
256
+ textCase: "none",
257
+ },
258
+ heading2: {
259
+ fontFamily: "Moller",
260
+ fontWeight: "500",
261
+ fontSize: "1.75rem",
262
+ lineHeight: "1.4",
263
+ letterSpacing: "0",
264
+ paragraphSpacing: "2.625rem",
265
+ textDecoration: "none",
266
+ textCase: "none",
267
+ },
268
+ heading3: {
269
+ fontFamily: "Moller",
270
+ fontWeight: "500",
271
+ fontSize: "1.5rem",
272
+ lineHeight: "1.4",
273
+ letterSpacing: "0",
274
+ paragraphSpacing: "2.25rem",
275
+ textCase: "none",
276
+ textDecoration: "none",
277
+ },
278
+ lead: {
279
+ fontFamily: "Moller",
280
+ fontWeight: "400",
281
+ fontSize: "1.25rem",
282
+ lineHeight: "1.4",
283
+ letterSpacing: "0",
284
+ paragraphSpacing: "1.25rem",
285
+ textDecoration: "none",
286
+ textCase: "none",
287
+ },
288
+ body: {
289
+ fontFamily: "Moller",
290
+ textDecoration: "none",
291
+ fontWeight: "400",
292
+ fontSize: "1rem",
293
+ lineHeight: "1.4",
294
+ letterSpacing: "0",
295
+ paragraphSpacing: "1rem",
296
+ textCase: "none",
297
+ },
298
+ link: {
299
+ fontFamily: "Moller",
300
+ fontWeight: "400",
301
+ fontSize: "1rem",
302
+ lineHeight: "1.4",
303
+ letterSpacing: "0",
304
+ paragraphSpacing: "1rem",
305
+ textCase: "none",
306
+ textDecoration: "underline",
307
+ },
308
+ detail: {
309
+ fontFamily: "Moller",
310
+ fontWeight: "400",
311
+ fontSize: "0.875rem",
312
+ lineHeight: "1.4",
313
+ letterSpacing: "0",
314
+ paragraphSpacing: "0.875rem",
315
+ textDecoration: "none",
316
+ textCase: "none",
317
+ },
318
+ },
319
+ medium: {
320
+ display: {
321
+ fontFamily: "Moller",
322
+ fontWeight: "500",
323
+ fontSize: "2.5rem",
324
+ lineHeight: "1.4",
325
+ letterSpacing: "0",
326
+ paragraphSpacing: "3.75rem",
327
+ textCase: "none",
328
+ textDecoration: "none",
329
+ },
330
+ heading1: {
331
+ fontFamily: "Moller",
332
+ fontWeight: "500",
333
+ fontSize: "1.75rem",
334
+ lineHeight: "1.4",
335
+ letterSpacing: "0",
336
+ paragraphSpacing: "2.625rem",
337
+ textDecoration: "none",
338
+ textCase: "none",
339
+ },
340
+ heading2: {
341
+ fontFamily: "Moller",
342
+ fontWeight: "500",
343
+ fontSize: "1.5rem",
344
+ lineHeight: "1.4",
345
+ letterSpacing: "0",
346
+ paragraphSpacing: "2.25rem",
347
+ textDecoration: "none",
348
+ textCase: "none",
349
+ },
350
+ heading3: {
351
+ fontFamily: "Moller",
352
+ fontWeight: "500",
353
+ fontSize: "1.25rem",
354
+ lineHeight: "1.4",
355
+ letterSpacing: "0",
356
+ paragraphSpacing: "1.875rem",
357
+ textDecoration: "none",
358
+ textCase: "none",
359
+ },
360
+ lead: {
361
+ fontFamily: "Moller",
362
+ fontWeight: "400",
363
+ fontSize: "1.125rem",
364
+ lineHeight: "1.4",
365
+ letterSpacing: "0",
366
+ paragraphSpacing: "1.125rem",
367
+ textDecoration: "none",
368
+ textCase: "none",
369
+ },
370
+ body: {
371
+ fontFamily: "Moller",
372
+ fontWeight: "400",
373
+ fontSize: "1rem",
374
+ lineHeight: "1.4",
375
+ letterSpacing: "0",
376
+ paragraphSpacing: "1rem",
377
+ textCase: "none",
378
+ textDecoration: "none",
379
+ },
380
+ link: {
381
+ fontFamily: "Moller",
382
+ fontWeight: "400",
383
+ fontSize: "1rem",
384
+ lineHeight: "1.4",
385
+ letterSpacing: "0",
386
+ paragraphSpacing: "1rem",
387
+ textCase: "none",
388
+ textDecoration: "underline",
389
+ },
390
+ detail: {
391
+ fontFamily: "Moller",
392
+ fontWeight: "400",
393
+ fontSize: "0.875rem",
394
+ lineHeight: "1.4",
395
+ letterSpacing: "0",
396
+ paragraphSpacing: "0.875rem",
397
+ textDecoration: "none",
398
+ textCase: "none",
399
+ },
400
+ },
401
+ small: {
402
+ display: {
403
+ fontFamily: "Moller",
404
+ fontWeight: "500",
405
+ fontSize: "2rem",
406
+ lineHeight: "1.4",
407
+ letterSpacing: "0",
408
+ paragraphSpacing: "3rem",
409
+ textCase: "none",
410
+ textDecoration: "none",
411
+ },
412
+ heading1: {
413
+ fontFamily: "Moller",
414
+ fontWeight: "500",
415
+ fontSize: "1.5rem",
416
+ lineHeight: "1.4",
417
+ letterSpacing: "0",
418
+ paragraphSpacing: "2.25rem",
419
+ textDecoration: "none",
420
+ textCase: "none",
421
+ },
422
+ heading2: {
423
+ fontFamily: "Moller",
424
+ fontWeight: "500",
425
+ fontSize: "1.25rem",
426
+ lineHeight: "1.4",
427
+ letterSpacing: "0",
428
+ paragraphSpacing: "1.875rem",
429
+ textDecoration: "none",
430
+ textCase: "none",
431
+ },
432
+ heading3: {
433
+ fontFamily: "Moller",
434
+ fontWeight: "500",
435
+ fontSize: "1.125rem",
436
+ lineHeight: "1.4",
437
+ letterSpacing: "0",
438
+ paragraphSpacing: "1.6875rem",
439
+ textDecoration: "none",
440
+ textCase: "none",
441
+ },
442
+ lead: {
443
+ fontFamily: "Moller",
444
+ fontWeight: "400",
445
+ fontSize: "1.125rem",
446
+ lineHeight: "1.4",
447
+ letterSpacing: "0",
448
+ paragraphSpacing: "1.125rem",
449
+ textDecoration: "none",
450
+ textCase: "none",
451
+ },
452
+ body: {
453
+ fontFamily: "Moller",
454
+ fontWeight: "400",
455
+ fontSize: "1rem",
456
+ lineHeight: "1.4",
457
+ letterSpacing: "0",
458
+ paragraphSpacing: "1rem",
459
+ textCase: "none",
460
+ textDecoration: "none",
461
+ },
462
+ link: {
463
+ fontFamily: "Moller",
464
+ fontWeight: "400",
465
+ fontSize: "1rem",
466
+ lineHeight: "1.4",
467
+ letterSpacing: "0",
468
+ paragraphSpacing: "1rem",
469
+ textCase: "none",
470
+ textDecoration: "underline",
471
+ },
472
+ detail: {
473
+ fontFamily: "Moller",
474
+ fontWeight: "400",
475
+ fontSize: "0.875rem",
476
+ lineHeight: "1.4",
477
+ letterSpacing: "0",
478
+ paragraphSpacing: "0.875rem",
479
+ textDecoration: "none",
480
+ textCase: "none",
481
+ },
482
+ },
483
+ },
484
+ spacing: {
485
+ none: "0px",
486
+ base: "4px",
487
+ xxs: "8px",
488
+ xs: "12px",
489
+ s: "16px",
490
+ m: "20px",
491
+ l: "24px",
492
+ xl: "32px",
493
+ xxl: "40px",
494
+ "3xl": "48px",
495
+ },
496
+ size: {
497
+ base: "4px",
498
+ xxs: "8px",
499
+ xs: "12px",
500
+ s: "16px",
501
+ m: "20px",
502
+ l: "24px",
503
+ xl: "32px",
504
+ xxl: "40px",
505
+ "3xl": "48px",
506
+ "4xl": "64px",
507
+ },
508
+ keycolor: {
509
+ primary: "#001740",
510
+ secondary: "#0000E8",
511
+ tertiary: "#E88969",
512
+ "tertiary-variant": "#CE5646",
513
+ neutral: "#f3eee8",
514
+ "neutral-variant": "#407BE8",
515
+ error: "#b72929",
516
+ warning: "#e88f00",
517
+ success: "#499d5b",
518
+ info: "#407BE8",
519
+ Interactive: "#7142BB",
520
+ },
521
+ stroke: {
522
+ "x-small": "0.5px",
523
+ small: "1px",
524
+ medium: "2px",
525
+ large: "4px",
526
+ },
527
+ "border-radius": {
528
+ none: "0px",
529
+ small: "2px",
530
+ medium: "4px",
531
+ large: "8px",
532
+ "x-large": "12px",
533
+ "xx-large": "16px",
534
+ full: "999px",
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 skodaDark: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { skodaDarkTokens } from "./skodaDarkTokens.js";
4
+ export const skodaDark = createTheme(tokens, skodaDarkTokens);