@rijkshuisstijl-community/design-tokens 1.0.0-alpha.98 → 1.0.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 (58) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build.mjs +129 -0
  3. package/dist/_variables.scss +646 -635
  4. package/dist/index.css +646 -635
  5. package/dist/index.d.ts +725 -715
  6. package/dist/index.js +742 -731
  7. package/dist/index.json +741 -730
  8. package/dist/index.tokens.json +1625 -1617
  9. package/dist/root.css +646 -635
  10. package/dist/tokens.d.ts +1506 -1498
  11. package/dist/tokens.js +22273 -22035
  12. package/dist/uitvoerend-mintgroen-focus/_variables.scss +1199 -0
  13. package/dist/uitvoerend-mintgroen-focus/index.css +1202 -0
  14. package/dist/uitvoerend-mintgroen-focus/index.d.ts +1200 -0
  15. package/dist/uitvoerend-mintgroen-focus/index.js +1200 -0
  16. package/dist/uitvoerend-mintgroen-focus/index.json +1197 -0
  17. package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1883 -0
  18. package/dist/uitvoerend-mintgroen-focus/root.css +1202 -0
  19. package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1906 -0
  20. package/dist/uitvoerend-mintgroen-focus/tokens.js +28122 -0
  21. package/dist/uitvoerend-violet/_variables.scss +1193 -0
  22. package/dist/uitvoerend-violet/index.css +1196 -0
  23. package/dist/uitvoerend-violet/index.d.ts +1194 -0
  24. package/dist/uitvoerend-violet/index.js +1194 -0
  25. package/dist/uitvoerend-violet/index.json +1191 -0
  26. package/dist/uitvoerend-violet/index.tokens.json +1845 -0
  27. package/dist/uitvoerend-violet/root.css +1196 -0
  28. package/dist/uitvoerend-violet/tokens.d.ts +1868 -0
  29. package/dist/uitvoerend-violet/tokens.js +27950 -0
  30. package/dist/uitvoerend-violet-oud/_variables.scss +1193 -0
  31. package/dist/uitvoerend-violet-oud/index.css +1196 -0
  32. package/dist/uitvoerend-violet-oud/index.d.ts +1194 -0
  33. package/dist/uitvoerend-violet-oud/index.js +1194 -0
  34. package/dist/uitvoerend-violet-oud/index.json +1191 -0
  35. package/dist/uitvoerend-violet-oud/index.tokens.json +1845 -0
  36. package/dist/uitvoerend-violet-oud/root.css +1196 -0
  37. package/dist/uitvoerend-violet-oud/tokens.d.ts +1868 -0
  38. package/dist/uitvoerend-violet-oud/tokens.js +27950 -0
  39. package/dist/wetgevend/_variables.scss +1193 -0
  40. package/dist/wetgevend/index.css +1196 -0
  41. package/dist/wetgevend/index.d.ts +1194 -0
  42. package/dist/wetgevend/index.js +1194 -0
  43. package/dist/wetgevend/index.json +1191 -0
  44. package/dist/wetgevend/index.tokens.json +1845 -0
  45. package/dist/wetgevend/root.css +1196 -0
  46. package/dist/wetgevend/tokens.d.ts +1868 -0
  47. package/dist/{tokens.json → wetgevend/tokens.js} +22004 -21868
  48. package/figma/figma.tokens.json +932 -234
  49. package/package.json +10 -12
  50. package/src/generated/base.tokens.json +5594 -0
  51. package/src/generated/themes.json +22362 -0
  52. package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5628 -0
  53. package/src/generated/uitvoerend-violet/tokens.json +5572 -0
  54. package/src/generated/uitvoerend-violet-oud/tokens.json +5572 -0
  55. package/src/generated/{figma.tokens.json → wetgevend/tokens.json} +4398 -4354
  56. package/token-transformer.mjs +77 -41
  57. package/dist/variables.less +0 -1187
  58. package/style-dictionary.config.json +0 -105
@@ -1,105 +0,0 @@
1
- {
2
- "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
3
- "platforms": {
4
- "js": {
5
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
6
- "buildPath": "dist/",
7
- "files": [
8
- {
9
- "destination": "index.js",
10
- "format": "javascript/es6"
11
- },
12
- {
13
- "format": "javascript/module",
14
- "destination": "tokens.js"
15
- }
16
- ]
17
- },
18
- "json": {
19
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
20
- "buildPath": "dist/",
21
- "files": [
22
- {
23
- "destination": "tokens.json",
24
- "format": "json"
25
- },
26
- {
27
- "destination": "index.tokens.json",
28
- "format": "json/nested"
29
- },
30
- {
31
- "destination": "index.json",
32
- "format": "json/flat"
33
- }
34
- ]
35
- },
36
- "css": {
37
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
38
- "buildPath": "dist/",
39
- "files": [
40
- {
41
- "destination": "root.css",
42
- "format": "css/variables",
43
- "options": {
44
- "outputReferences": true
45
- }
46
- }
47
- ]
48
- },
49
- "css-theme": {
50
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
51
- "buildPath": "dist/",
52
- "files": [
53
- {
54
- "destination": "index.css",
55
- "format": "css/variables",
56
- "options": {
57
- "selector": ".rhc-theme",
58
- "outputReferences": true
59
- }
60
- }
61
- ]
62
- },
63
- "scss": {
64
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
65
- "buildPath": "dist/",
66
- "files": [
67
- {
68
- "destination": "_variables.scss",
69
- "format": "scss/variables",
70
- "options": {
71
- "outputReferences": true
72
- }
73
- }
74
- ]
75
- },
76
- "typescript": {
77
- "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
78
- "transformGroup": "js",
79
- "buildPath": "dist/",
80
- "files": [
81
- {
82
- "format": "typescript/es6-declarations",
83
- "destination": "index.d.ts"
84
- },
85
- {
86
- "format": "typescript/module-declarations",
87
- "destination": "tokens.d.ts"
88
- }
89
- ]
90
- },
91
- "less": {
92
- "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
93
- "buildPath": "dist/",
94
- "files": [
95
- {
96
- "destination": "variables.less",
97
- "format": "less/variables",
98
- "options": {
99
- "outputReferences": true
100
- }
101
- }
102
- ]
103
- }
104
- }
105
- }