@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 audiTokens = {
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: "#000000",
29
+ secondary: "#333333",
30
+ tertiary: "#F50537",
31
+ neutral: "#56616e",
32
+ "neutral-variant": "#D4DEE9",
33
+ error: "#FD2C4E",
34
+ warning: "#FFAA00",
35
+ success: "#26B82B",
36
+ info: "#556EFE",
37
+ Interactive: "#2526FE",
38
+ "tertiary-variant": "#737D86",
39
+ },
40
+ palette: {
41
+ black: "#000000",
42
+ white: "#ffffff",
43
+ primary: {
44
+ "10": "#000000",
45
+ "20": "#1A1A1A",
46
+ "30": "#262626",
47
+ "40": "#333333",
48
+ "50": "#666666",
49
+ "60": "#808080",
50
+ "70": "#B3B3B3",
51
+ "80": "#CCCCCC",
52
+ "90": "#E5E5E5",
53
+ "95": "#F2F2F2",
54
+ },
55
+ secondary: {
56
+ "10": "#000000",
57
+ "20": "#1a1a1a",
58
+ "30": "#262626",
59
+ "40": "#333333",
60
+ "50": "#666666",
61
+ "60": "#808080",
62
+ "70": "#b3b3b3",
63
+ "80": "#cccccc",
64
+ "90": "#e5e5e5",
65
+ "95": "#f2f2f2",
66
+ },
67
+ tertiary: {
68
+ "10": "#480000",
69
+ "20": "#570000",
70
+ "30": "#AB0013",
71
+ "40": "#F50537",
72
+ "50": "#FF2443",
73
+ "60": "#FF4953",
74
+ "70": "#FF6D6D",
75
+ "80": "#FF9292",
76
+ "90": "#FFB6B6",
77
+ "95": "#FFDBDB",
78
+ },
79
+ "tertiary-variant": {
80
+ "10": "#13161A",
81
+ "20": "#252A30",
82
+ "30": "#4B545C",
83
+ "40": "#737D86",
84
+ "50": "#868F98",
85
+ "60": "#99A1AB",
86
+ "70": "#ADB3BC",
87
+ "80": "#C1C6CE",
88
+ "90": "#D5D8DE",
89
+ "95": "#EAECEF",
90
+ },
91
+ neutral: {
92
+ "10": "#0f1215",
93
+ "20": "#1e242a",
94
+ "30": "#2c353f",
95
+ "40": "#3b4754",
96
+ "50": "#56616e",
97
+ "60": "#707c87",
98
+ "70": "#8c96a0",
99
+ "80": "#a8b0b9",
100
+ "90": "#c4cad1",
101
+ "95": "#e2e5e8",
102
+ },
103
+ "neutral-variant": {
104
+ "10": "#35383A",
105
+ "20": "#6A6F75",
106
+ "30": "#9FA7AF",
107
+ "40": "#D4DEE9",
108
+ "50": "#D9E3ED",
109
+ "60": "#DEE7F1",
110
+ "70": "#E4ECF5",
111
+ "80": "#EAF1F8",
112
+ "90": "#F1F6FB",
113
+ "95": "#F8FAFD",
114
+ },
115
+ error: {
116
+ "10": "#030000",
117
+ "20": "#570008",
118
+ "30": "#AB0622",
119
+ "40": "#FD2C4E",
120
+ "50": "#FF3D58",
121
+ "60": "#FF5365",
122
+ "70": "#FF6D78",
123
+ "80": "#FF9292",
124
+ "90": "#FFB6B6",
125
+ "95": "#FFDBDB",
126
+ },
127
+ warning: {
128
+ "10": "#3D1400",
129
+ "20": "#6B2400",
130
+ "30": "#A54600",
131
+ "40": "#FFAA00",
132
+ "50": "#FFAB00",
133
+ "60": "#FFCA41",
134
+ "70": "#FFD771",
135
+ "80": "#ffe692",
136
+ "90": "#fff0b6",
137
+ "95": "#fff8db",
138
+ },
139
+ success: {
140
+ "10": "#000200",
141
+ "20": "#004800",
142
+ "30": "#007D00",
143
+ "40": "#0DA20D",
144
+ "50": "#26B82B",
145
+ "60": "#49CC4C",
146
+ "70": "#6DDC6F",
147
+ "80": "#92E992",
148
+ "90": "#B6F4B7",
149
+ "95": "#DBFBDB",
150
+ },
151
+ info: {
152
+ "10": "#000003",
153
+ "20": "#0A1657",
154
+ "30": "#263BAB",
155
+ "40": "#556EFE",
156
+ "50": "#6376FF",
157
+ "60": "#7481FF",
158
+ "70": "#8990FF",
159
+ "80": "#A1A3FF",
160
+ "90": "#BFBDFF",
161
+ "95": "#DFDCFF",
162
+ },
163
+ interactive: {
164
+ "10": "#000003",
165
+ "20": "#000057",
166
+ "30": "#0201AB",
167
+ "40": "#2526FE",
168
+ "50": "#3D37FF",
169
+ "60": "#5A4DFF",
170
+ "70": "#796DFF",
171
+ "80": "#9A92FF",
172
+ "90": "#BCB6FF",
173
+ "95": "#DEDBFF",
174
+ },
175
+ },
176
+ color: {
177
+ primary: "#f2f2f2",
178
+ "on-primary": "#000000",
179
+ secondary: "#333333",
180
+ "on-secondary": "#f2f2f2",
181
+ "on-tertiary": "#480000",
182
+ "on-tertiary-container": "#480000",
183
+ background: "#000000",
184
+ "on-background": "#ffffff",
185
+ "inverse-background": "#ffffff",
186
+ "on-inverse-background": "#000000",
187
+ surface: "#333333",
188
+ "on-surface": "#ffffff",
189
+ disabled: "#3b4754",
190
+ "on-disabled": "#8c96a0",
191
+ "text-variant": "#a8b0b9",
192
+ outline: "#56616e",
193
+ loader: "#e2e5e8",
194
+ "on-loader": "#a8b0b9",
195
+ "surface-variant": "#1a1a1a",
196
+ "on-surface-variant": "#ffffff",
197
+ success: "#26b82b",
198
+ interactive: "#ffffff",
199
+ highlight: "#796dff",
200
+ "inverse-text-variant": "#1e242a",
201
+ "primary-container": "#e5e5e5",
202
+ "on-primary-container": "#000000",
203
+ "secondary-container": "#e5e5e5",
204
+ "on-secondary-container": "#000000",
205
+ tertiary: "#f50537",
206
+ "tertiary-container": "#ffb6b6",
207
+ "tertiary-variant": "#737d86",
208
+ "on-tertiary-variant": "#000000",
209
+ error: "#fd2c4e",
210
+ "on-error": "#ffffff",
211
+ "error-container": "#ffdbdb",
212
+ "on-error-container": "#030000",
213
+ warning: "#ffaa00",
214
+ "on-warning": "#000000",
215
+ "warning-container": "#fff8db",
216
+ "on-warning-container": "#3d1400",
217
+ "on-success": "#ffffff",
218
+ "success-container": "#dbfbdb",
219
+ "on-success-container": "#000200",
220
+ info: "#556efe",
221
+ "on-info": "#ffffff",
222
+ "info-container": "#dfdcff",
223
+ "on-info-container": "#000003",
224
+ },
225
+ typeface: {
226
+ brand: "Audi Type",
227
+ "brand-display": "Audi Type Extended",
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: "Audi Type Extended",
268
+ fontWeight: "400",
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: "Audi Type Extended",
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: "Audi Type Extended",
288
+ fontWeight: "400",
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: "Audi Type Extended",
298
+ fontWeight: "400",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type Extended",
350
+ fontWeight: "400",
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: "Audi Type Extended",
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: "Audi Type Extended",
370
+ fontWeight: "400",
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: "Audi Type Extended",
380
+ fontWeight: "400",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type Extended",
432
+ fontWeight: "400",
433
+ lineHeight: "1.4",
434
+ fontSize: "2rem",
435
+ letterSpacing: "0",
436
+ paragraphSpacing: "3rem",
437
+ textCase: "none",
438
+ textDecoration: "none",
439
+ },
440
+ heading1: {
441
+ fontFamily: "Audi Type Extended",
442
+ fontWeight: "400",
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: "Audi Type Extended",
452
+ fontWeight: "400",
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: "Audi Type Extended",
462
+ fontWeight: "400",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "Audi Type",
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: "0px",
529
+ card: "0px",
530
+ input: "0px",
531
+ picker: "0px",
532
+ overlay: "0px",
533
+ feedback: "0px",
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 autoria: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { autoriaTokens } from "./autoriaTokens.js";
4
+ export const autoria = createTheme(tokens, autoriaTokens);