@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 cupraTokens = {
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: "#1D1E20",
29
+ secondary: "#F8F8F8",
30
+ tertiary: "#836A4E",
31
+ "tertiary-variant": "#373B47",
32
+ neutral: "#606652",
33
+ "neutral-variant": "#46525B",
34
+ error: "#ea4224",
35
+ warning: "#B55700",
36
+ success: "#5fa96e",
37
+ info: "#0963EC",
38
+ Interactive: "#95572B",
39
+ },
40
+ palette: {
41
+ black: "#000000",
42
+ white: "#ffffff",
43
+ primary: {
44
+ "10": "#000000",
45
+ "20": "#010101",
46
+ "30": "#151618",
47
+ "40": "#1D1E20",
48
+ "50": "#464f5a",
49
+ "60": "#646c77",
50
+ "70": "#828a93",
51
+ "80": "#a1a7ae",
52
+ "90": "#c0c4ca",
53
+ "95": "#dfe2e5",
54
+ },
55
+ secondary: {
56
+ "10": "#404040",
57
+ "20": "#7D7D7D",
58
+ "30": "#BBBBBB",
59
+ "40": "#F8F8F8",
60
+ "50": "#F9F9F9",
61
+ "60": "#FAFAFA",
62
+ "70": "#FBFBFB",
63
+ "80": "#FCFCFC",
64
+ "90": "#FDFDFD",
65
+ "95": "#FEFEFE",
66
+ },
67
+ tertiary: {
68
+ "10": "#3C2C19",
69
+ "20": "#564129",
70
+ "30": "#6D563A",
71
+ "40": "#836A4E",
72
+ "50": "#A08A6D",
73
+ "60": "#BBAA8E",
74
+ "70": "#D3C8B1",
75
+ "80": "#DFD6C3",
76
+ "90": "#EAE4D6",
77
+ "95": "#F4F1E9",
78
+ },
79
+ "tertiary-variant": {
80
+ "10": "#14171F",
81
+ "20": "#1F232D",
82
+ "30": "#2B2F3A",
83
+ "40": "#373B47",
84
+ "50": "#4A4E5A",
85
+ "60": "#71737F",
86
+ "70": "#ACADB6",
87
+ "80": "#C0C1C8",
88
+ "90": "#D4D4DA",
89
+ "95": "#E8E9EC",
90
+ },
91
+ neutral: {
92
+ "10": "#21251A",
93
+ "20": "#313627",
94
+ "30": "#414735",
95
+ "40": "#515743",
96
+ "50": "#606652",
97
+ "60": "#707662",
98
+ "70": "#8F9683",
99
+ "80": "#AEB4A5",
100
+ "90": "#CDD2C8",
101
+ "95": "#EDEFEB",
102
+ },
103
+ "neutral-variant": {
104
+ "10": "#1A2128",
105
+ "20": "#28323A",
106
+ "30": "#37424B",
107
+ "40": "#46525B",
108
+ "50": "#57636C",
109
+ "60": "#7B848E",
110
+ "70": "#B1B7BF",
111
+ "80": "#C4C8CF",
112
+ "90": "#D7DADF",
113
+ "95": "#EAEBEE",
114
+ },
115
+ error: {
116
+ "10": "#360b03",
117
+ "20": "#6c1607",
118
+ "30": "#a2210a",
119
+ "40": "#CD1F00",
120
+ "50": "#ea4224",
121
+ "60": "#f85a49",
122
+ "70": "#ff756d",
123
+ "80": "#ff9392",
124
+ "90": "#ffbaba",
125
+ "95": "#FFE1E1",
126
+ },
127
+ warning: {
128
+ "10": "#3D1400",
129
+ "20": "#6B2400",
130
+ "30": "#A54600",
131
+ "40": "#B55700",
132
+ "50": "#FFAB00",
133
+ "60": "#FFCA41",
134
+ "70": "#FFD771",
135
+ "80": "#ffe692",
136
+ "90": "#fff0b6",
137
+ "95": "#fff8db",
138
+ },
139
+ success: {
140
+ "10": "#0E2902",
141
+ "20": "#124D09",
142
+ "30": "#1c6b20",
143
+ "40": "#0E7925",
144
+ "50": "#439153",
145
+ "60": "#5fa96e",
146
+ "70": "#7AC487",
147
+ "80": "#99D5A3",
148
+ "90": "#B9E5C0",
149
+ "95": "#DBF3DF",
150
+ },
151
+ info: {
152
+ "10": "#000D40",
153
+ "20": "#002380",
154
+ "30": "#0040BF",
155
+ "40": "#0963EC",
156
+ "50": "#247AFF",
157
+ "60": "#4994FF",
158
+ "70": "#6DADFF",
159
+ "80": "#92C5FF",
160
+ "90": "#B6DBFF",
161
+ "95": "#E0F0FF",
162
+ },
163
+ interactive: {
164
+ "10": "#311601",
165
+ "20": "#592B08",
166
+ "30": "#7A4116",
167
+ "40": "#95572B",
168
+ "50": "#AE7647",
169
+ "60": "#C49466",
170
+ "70": "#D7B288",
171
+ "80": "#E7CEAD",
172
+ "90": "#F5E8D5",
173
+ "95": "#FAF2E8",
174
+ },
175
+ },
176
+ color: {
177
+ primary: "#f8f8f8",
178
+ "on-primary": "#000000",
179
+ secondary: "#404040",
180
+ "on-secondary": "#f8f8f8",
181
+ "on-tertiary": "#f4f1e9",
182
+ "on-tertiary-container": "#3c2c19",
183
+ "on-tertiary-variant": "#e8e9ec",
184
+ background: "#010101",
185
+ "on-background": "#f8f8f8",
186
+ "inverse-background": "#f8f8f8",
187
+ "on-inverse-background": "#000000",
188
+ surface: "#1a2128",
189
+ "on-surface": "#f8f8f8",
190
+ disabled: "#37424b",
191
+ "on-disabled": "#7b848e",
192
+ "text-variant": "#b1b7bf",
193
+ "inverse-text-variant": "#28323a",
194
+ outline: "#46525b",
195
+ loader: "#cdd2c8",
196
+ "on-loader": "#606652",
197
+ "surface-variant": "#28323a",
198
+ "on-surface-variant": "#f8f8f8",
199
+ error: "#ea4224",
200
+ "on-warning": "#ffffff",
201
+ success: "#5fa96e",
202
+ interactive: "#ae7647",
203
+ highlight: "#d7b288",
204
+ "primary-container": "#c0c4ca",
205
+ "on-primary-container": "#000000",
206
+ "secondary-container": "#fdfdfd",
207
+ "on-secondary-container": "#404040",
208
+ tertiary: "#836a4e",
209
+ "tertiary-container": "#eae4d6",
210
+ "tertiary-variant": "#373b47",
211
+ "on-error": "#ffffff",
212
+ "error-container": "#ffe1e1",
213
+ "on-error-container": "#360b03",
214
+ warning: "#b55700",
215
+ "warning-container": "#fff8db",
216
+ "on-warning-container": "#3d1400",
217
+ "on-success": "#ffffff",
218
+ "success-container": "#dbf3df",
219
+ "on-success-container": "#0e2902",
220
+ info: "#0963ec",
221
+ "on-info": "#ffffff",
222
+ "info-container": "#e0f0ff",
223
+ "on-info-container": "#000d40",
224
+ },
225
+ typeface: {
226
+ brand: "Cupra",
227
+ "brand-display": "Cupra",
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: "Cupra",
268
+ fontWeight: "350",
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: "Cupra",
278
+ fontWeight: "400",
279
+ lineHeight: "1.4",
280
+ fontSize: "2rem",
281
+ letterSpacing: "0",
282
+ paragraphSpacing: "3rem",
283
+ textDecoration: "none",
284
+ textCase: "none",
285
+ },
286
+ heading2: {
287
+ fontFamily: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
350
+ fontWeight: "350",
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: "Cupra",
360
+ fontWeight: "400",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
432
+ fontWeight: "350",
433
+ lineHeight: "1.4",
434
+ fontSize: "2rem",
435
+ letterSpacing: "0",
436
+ paragraphSpacing: "3rem",
437
+ textCase: "none",
438
+ textDecoration: "none",
439
+ },
440
+ heading1: {
441
+ fontFamily: "Cupra",
442
+ fontWeight: "300",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "Cupra",
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: "8px",
529
+ card: "4px",
530
+ input: "4px",
531
+ picker: "2px",
532
+ overlay: "2px",
533
+ feedback: "2px",
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 dahles: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { dahlesTokens } from "./dahlesTokens.js";
4
+ export const dahles = createTheme(tokens, dahlesTokens);