@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 bilholdLightTokens = {
3
+ palette: {
4
+ primary: {
5
+ "10": "#10141D",
6
+ "20": "#242A35",
7
+ "30": "#3E444F",
8
+ "40": "#595E69",
9
+ "50": "#747883",
10
+ "60": "#8F929C",
11
+ "70": "#ABADB5",
12
+ "80": "#C7C8CE",
13
+ "90": "#E3E3E7",
14
+ "95": "#F5F5F5",
15
+ },
16
+ secondary: {
17
+ "10": "#ABAB62",
18
+ "20": "#C7C47A",
19
+ "30": "#E3DA94",
20
+ "40": "#FFEEB0",
21
+ "50": "#FFF6B6",
22
+ "60": "#FFFCBF",
23
+ "70": "#FFFFC8",
24
+ "80": "#FFFFD4",
25
+ "90": "#FFFFE0",
26
+ "95": "#FFFFEF",
27
+ },
28
+ tertiary: {
29
+ "10": "#22252E",
30
+ "20": "#6B717C",
31
+ "30": "#ACB0B9",
32
+ "40": "#E1E4EB",
33
+ "50": "#E8EBF1",
34
+ "60": "#EBEEF4",
35
+ "70": "#EFF2F6",
36
+ "80": "#F4F6F9",
37
+ "90": "#F7F8FA",
38
+ "95": "#FBFBFD",
39
+ },
40
+ "tertiary-variant": {
41
+ "10": "#22252E",
42
+ "20": "#6B717C",
43
+ "30": "#ACB0B9",
44
+ "40": "#E1E4EB",
45
+ "50": "#E8EBF1",
46
+ "60": "#EBEEF4",
47
+ "70": "#EFF2F6",
48
+ "80": "#F4F6F9",
49
+ "90": "#F7F8FA",
50
+ "95": "#FBFBFD",
51
+ },
52
+ neutral: {
53
+ "10": "#22252E",
54
+ "20": "#6B717C",
55
+ "30": "#8C929E",
56
+ "40": "#ACB0B9",
57
+ "50": "#BFC2C8",
58
+ "60": "#D0D3D9",
59
+ "70": "#D9DCE1",
60
+ "80": "#E2E4E9",
61
+ "90": "#EBEDF1",
62
+ "95": "#F5F6F8",
63
+ },
64
+ "neutral-variant": {
65
+ "10": "#22252E",
66
+ "20": "#6B717C",
67
+ "30": "#8C929E",
68
+ "40": "#ACB0B9",
69
+ "50": "#BFC2C8",
70
+ "60": "#D0D3D9",
71
+ "70": "#D9DCE1",
72
+ "80": "#E2E4E9",
73
+ "90": "#EBEDF1",
74
+ "95": "#F5F6F8",
75
+ },
76
+ black: "#000000",
77
+ white: "#ffffff",
78
+ error: {
79
+ "10": "#360b03",
80
+ "20": "#6c1607",
81
+ "30": "#a2210a",
82
+ "40": "#CD1F00",
83
+ "50": "#ea4224",
84
+ "60": "#f85a49",
85
+ "70": "#ff756d",
86
+ "80": "#ff9392",
87
+ "90": "#ffbaba",
88
+ "95": "#FFE1E1",
89
+ },
90
+ warning: {
91
+ "10": "#3D1400",
92
+ "20": "#6B2400",
93
+ "30": "#A54600",
94
+ "40": "#B55700",
95
+ "50": "#FFAB00",
96
+ "60": "#FFCA41",
97
+ "70": "#FFD771",
98
+ "80": "#ffe692",
99
+ "90": "#fff0b6",
100
+ "95": "#fff8db",
101
+ },
102
+ success: {
103
+ "10": "#0E2902",
104
+ "20": "#124D09",
105
+ "30": "#1c6b20",
106
+ "40": "#0E7925",
107
+ "50": "#439153",
108
+ "60": "#5fa96e",
109
+ "70": "#7AC487",
110
+ "80": "#99D5A3",
111
+ "90": "#B9E5C0",
112
+ "95": "#DBF3DF",
113
+ },
114
+ info: {
115
+ "10": "#000D40",
116
+ "20": "#002380",
117
+ "30": "#0040BF",
118
+ "40": "#0963EC",
119
+ "50": "#247AFF",
120
+ "60": "#4994FF",
121
+ "70": "#6DADFF",
122
+ "80": "#92C5FF",
123
+ "90": "#B6DBFF",
124
+ "95": "#E0F0FF",
125
+ },
126
+ interactive: {
127
+ "10": "#15143c",
128
+ "20": "#292878",
129
+ "30": "#3e3bb4",
130
+ "40": "#524ff0",
131
+ "50": "#615EFC",
132
+ "60": "#7471ff",
133
+ "70": "#8F87FF",
134
+ "80": "#a2a0ff",
135
+ "90": "#bebcff",
136
+ "95": "#dddcff",
137
+ },
138
+ },
139
+ typeface: {
140
+ brand: "Figtree",
141
+ "brand-display": "Figtree",
142
+ weight: {
143
+ light: "300",
144
+ book: "350",
145
+ regular: "400",
146
+ medium: "500",
147
+ semibold: "600",
148
+ bold: "700",
149
+ "extra-bold": "800",
150
+ black: "900",
151
+ },
152
+ size: {
153
+ s: "0.875rem",
154
+ base: "1rem",
155
+ m: "1.125rem",
156
+ l: "1.25rem",
157
+ xl: "1.5rem",
158
+ xxl: "1.75rem",
159
+ "3xl": "2rem",
160
+ "4xl": "2.5rem",
161
+ "5xl": "3.25rem",
162
+ },
163
+ "line-height": "1.4",
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
+ type: {
179
+ large: {
180
+ display: {
181
+ fontFamily: "Figtree",
182
+ fontWeight: "600",
183
+ lineHeight: "1.4",
184
+ fontSize: "3.25rem",
185
+ letterSpacing: "0",
186
+ paragraphSpacing: "4.875rem",
187
+ textCase: "none",
188
+ textDecoration: "none",
189
+ },
190
+ heading1: {
191
+ fontFamily: "Figtree",
192
+ fontWeight: "600",
193
+ lineHeight: "1.4",
194
+ fontSize: "1.75rem",
195
+ letterSpacing: "0",
196
+ paragraphSpacing: "2.625rem",
197
+ textDecoration: "none",
198
+ textCase: "none",
199
+ },
200
+ heading2: {
201
+ fontFamily: "Figtree",
202
+ fontWeight: "600",
203
+ lineHeight: "1.4",
204
+ fontSize: "1.5rem",
205
+ letterSpacing: "0",
206
+ paragraphSpacing: "1.875rem",
207
+ textDecoration: "none",
208
+ textCase: "none",
209
+ },
210
+ heading3: {
211
+ fontFamily: "Figtree",
212
+ fontWeight: "600",
213
+ lineHeight: "1.4",
214
+ fontSize: "1.5rem",
215
+ letterSpacing: "0",
216
+ paragraphSpacing: "1.5rem",
217
+ textDecoration: "none",
218
+ textCase: "none",
219
+ },
220
+ lead: {
221
+ fontFamily: "Figtree",
222
+ fontWeight: "400",
223
+ fontSize: "1.25rem",
224
+ lineHeight: "1.4",
225
+ letterSpacing: "0",
226
+ paragraphSpacing: "1.25rem",
227
+ textDecoration: "none",
228
+ textCase: "none",
229
+ },
230
+ body: {
231
+ fontFamily: "Figtree",
232
+ fontWeight: "400",
233
+ fontSize: "1rem",
234
+ lineHeight: "1.4",
235
+ letterSpacing: "0",
236
+ paragraphSpacing: "1rem",
237
+ textCase: "none",
238
+ textDecoration: "none",
239
+ },
240
+ link: {
241
+ fontFamily: "Figtree",
242
+ fontWeight: "400",
243
+ fontSize: "1rem",
244
+ lineHeight: "1.4",
245
+ letterSpacing: "0",
246
+ textDecoration: "underline",
247
+ paragraphSpacing: "1rem",
248
+ textCase: "none",
249
+ },
250
+ detail: {
251
+ fontFamily: "Figtree",
252
+ fontWeight: "400",
253
+ fontSize: "0.875rem",
254
+ lineHeight: "1.4",
255
+ letterSpacing: "0",
256
+ textCase: "none",
257
+ textDecoration: "none",
258
+ paragraphSpacing: "0.875rem",
259
+ },
260
+ },
261
+ medium: {
262
+ display: {
263
+ fontFamily: "Figtree",
264
+ fontWeight: "600",
265
+ lineHeight: "1.4",
266
+ fontSize: "2.5rem",
267
+ letterSpacing: "0",
268
+ paragraphSpacing: "3.75rem",
269
+ textCase: "none",
270
+ textDecoration: "none",
271
+ },
272
+ heading1: {
273
+ fontFamily: "Figtree",
274
+ fontWeight: "600",
275
+ lineHeight: "1.4",
276
+ fontSize: "1.75rem",
277
+ letterSpacing: "0",
278
+ paragraphSpacing: "2.625rem",
279
+ textDecoration: "none",
280
+ textCase: "none",
281
+ },
282
+ heading2: {
283
+ fontFamily: "Figtree",
284
+ fontWeight: "600",
285
+ lineHeight: "1.4",
286
+ fontSize: "1.5rem",
287
+ letterSpacing: "0",
288
+ paragraphSpacing: "2.25rem",
289
+ textDecoration: "none",
290
+ textCase: "none",
291
+ },
292
+ heading3: {
293
+ fontFamily: "Figtree",
294
+ fontWeight: "600",
295
+ lineHeight: "1.4",
296
+ fontSize: "1.5rem",
297
+ letterSpacing: "0",
298
+ paragraphSpacing: "2.25rem",
299
+ textDecoration: "none",
300
+ textCase: "none",
301
+ },
302
+ lead: {
303
+ fontFamily: "Figtree",
304
+ fontWeight: "400",
305
+ fontSize: "1.125rem",
306
+ lineHeight: "1.4",
307
+ letterSpacing: "0",
308
+ textCase: "none",
309
+ textDecoration: "none",
310
+ paragraphSpacing: "1.125rem",
311
+ },
312
+ body: {
313
+ fontFamily: "Figtree",
314
+ fontWeight: "400",
315
+ fontSize: "1rem",
316
+ lineHeight: "1.4",
317
+ letterSpacing: "0",
318
+ paragraphSpacing: "1rem",
319
+ textCase: "none",
320
+ textDecoration: "none",
321
+ },
322
+ link: {
323
+ paragraphSpacing: "1rem",
324
+ fontFamily: "Figtree",
325
+ fontWeight: "400",
326
+ fontSize: "1rem",
327
+ lineHeight: "1.4",
328
+ letterSpacing: "0",
329
+ textCase: "none",
330
+ textDecoration: "underline",
331
+ },
332
+ detail: {
333
+ fontFamily: "Figtree",
334
+ paragraphSpacing: "0.875rem",
335
+ fontWeight: "400",
336
+ fontSize: "0.875rem",
337
+ lineHeight: "1.4",
338
+ letterSpacing: "0",
339
+ textDecoration: "none",
340
+ textCase: "none",
341
+ },
342
+ },
343
+ small: {
344
+ display: {
345
+ fontFamily: "Figtree",
346
+ fontWeight: "600",
347
+ lineHeight: "1.4",
348
+ fontSize: "2rem",
349
+ letterSpacing: "0",
350
+ paragraphSpacing: "3rem",
351
+ textCase: "none",
352
+ textDecoration: "none",
353
+ },
354
+ heading1: {
355
+ fontFamily: "Figtree",
356
+ fontWeight: "600",
357
+ lineHeight: "1.4",
358
+ fontSize: "1.5rem",
359
+ letterSpacing: "0",
360
+ paragraphSpacing: "2.25rem",
361
+ textDecoration: "none",
362
+ textCase: "none",
363
+ },
364
+ heading2: {
365
+ fontFamily: "Figtree",
366
+ fontWeight: "600",
367
+ lineHeight: "1.4",
368
+ fontSize: "1.25rem",
369
+ letterSpacing: "0",
370
+ paragraphSpacing: "1.875rem",
371
+ textDecoration: "none",
372
+ textCase: "none",
373
+ },
374
+ heading3: {
375
+ fontFamily: "Figtree",
376
+ fontWeight: "600",
377
+ lineHeight: "1.4",
378
+ fontSize: "1.125rem",
379
+ letterSpacing: "0",
380
+ paragraphSpacing: "1.6875rem",
381
+ textDecoration: "none",
382
+ textCase: "none",
383
+ },
384
+ lead: {
385
+ fontFamily: "Figtree",
386
+ fontWeight: "400",
387
+ fontSize: "1.125rem",
388
+ lineHeight: "1.4",
389
+ letterSpacing: "0",
390
+ paragraphSpacing: "1.125rem",
391
+ textDecoration: "none",
392
+ textCase: "none",
393
+ },
394
+ body: {
395
+ fontFamily: "Figtree",
396
+ fontWeight: "400",
397
+ fontSize: "1rem",
398
+ lineHeight: "1.4",
399
+ letterSpacing: "0",
400
+ paragraphSpacing: "1rem",
401
+ textCase: "none",
402
+ textDecoration: "none",
403
+ },
404
+ link: {
405
+ fontFamily: "Figtree",
406
+ fontWeight: "400",
407
+ fontSize: "1rem",
408
+ lineHeight: "1.4",
409
+ letterSpacing: "0",
410
+ textDecoration: "underline",
411
+ textCase: "none",
412
+ paragraphSpacing: "1rem",
413
+ },
414
+ detail: {
415
+ paragraphSpacing: "0.875rem",
416
+ fontFamily: "Figtree",
417
+ fontWeight: "400",
418
+ fontSize: "0.875rem",
419
+ lineHeight: "1.4",
420
+ letterSpacing: "0",
421
+ textDecoration: "none",
422
+ textCase: "none",
423
+ },
424
+ },
425
+ },
426
+ color: {
427
+ primary: "#242a35",
428
+ "primary-container": "#ffeeb0",
429
+ "on-primary-container": "#242a35",
430
+ "secondary-container": "#ffffd4",
431
+ background: "#f5f6f8",
432
+ disabled: "#d9dce1",
433
+ "on-disabled": "#8c929e",
434
+ "text-variant": "#bfc2c8",
435
+ "inverse-text-variant": "#22252e",
436
+ outline: "#d0d3d9",
437
+ loader: "#ebedf1",
438
+ "on-loader": "#e2e4e9",
439
+ "surface-variant": "#ebedf1",
440
+ "on-surface-variant": "#242a35",
441
+ "on-primary": "#ffffff",
442
+ secondary: "#ffeeb0",
443
+ "on-secondary": "#000000",
444
+ "on-secondary-container": "#abab62",
445
+ tertiary: "#e1e4eb",
446
+ "on-tertiary": "#000000",
447
+ "tertiary-container": "#f7f8fa",
448
+ "on-tertiary-container": "#22252e",
449
+ "tertiary-variant": "#e1e4eb",
450
+ "on-tertiary-variant": "#000000",
451
+ "on-background": "#000000",
452
+ "inverse-background": "#000000",
453
+ "on-inverse-background": "#ffffff",
454
+ surface: "#ffffff",
455
+ "on-surface": "#000000",
456
+ error: "#cd1f00",
457
+ "on-error": "#ffffff",
458
+ "error-container": "#ffe1e1",
459
+ "on-error-container": "#360b03",
460
+ warning: "#b55700",
461
+ "on-warning": "#000000",
462
+ "warning-container": "#fff8db",
463
+ "on-warning-container": "#3d1400",
464
+ success: "#0e7925",
465
+ "on-success": "#ffffff",
466
+ "success-container": "#dbf3df",
467
+ "on-success-container": "#0e2902",
468
+ info: "#0963ec",
469
+ "on-info": "#ffffff",
470
+ "info-container": "#e0f0ff",
471
+ "on-info-container": "#000d40",
472
+ interactive: "#524ff0",
473
+ highlight: "#dddcff",
474
+ },
475
+ radius: {
476
+ button: "4px",
477
+ card: "4px",
478
+ input: "4px",
479
+ picker: "4px",
480
+ overlay: "8px",
481
+ feedback: "4px",
482
+ checkbox: "0px",
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: "#595E69",
510
+ secondary: "#FFEEB0",
511
+ tertiary: "#E1E4EB",
512
+ "tertiary-variant": "#E1E4EB",
513
+ neutral: "#BFC2C8",
514
+ "neutral-variant": "#ACB0B9",
515
+ error: "#CD1F00",
516
+ warning: "#B55700",
517
+ success: "#0E7925",
518
+ info: "#0963EC",
519
+ Interactive: "#524ff0",
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 brandless: string;
@@ -0,0 +1,4 @@
1
+ import { createTheme } from "@vanilla-extract/css";
2
+ import { tokens } from "../tokens.css.js";
3
+ import { brandlessTokens } from "./brandlessTokens.js";
4
+ export const brandless = createTheme(tokens, brandlessTokens);