@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.
- package/CHANGELOG.md +7 -0
- package/build.mjs +129 -0
- package/dist/_variables.scss +646 -635
- package/dist/index.css +646 -635
- package/dist/index.d.ts +725 -715
- package/dist/index.js +742 -731
- package/dist/index.json +741 -730
- package/dist/index.tokens.json +1625 -1617
- package/dist/root.css +646 -635
- package/dist/tokens.d.ts +1506 -1498
- package/dist/tokens.js +22273 -22035
- package/dist/uitvoerend-mintgroen-focus/_variables.scss +1199 -0
- package/dist/uitvoerend-mintgroen-focus/index.css +1202 -0
- package/dist/uitvoerend-mintgroen-focus/index.d.ts +1200 -0
- package/dist/uitvoerend-mintgroen-focus/index.js +1200 -0
- package/dist/uitvoerend-mintgroen-focus/index.json +1197 -0
- package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1883 -0
- package/dist/uitvoerend-mintgroen-focus/root.css +1202 -0
- package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1906 -0
- package/dist/uitvoerend-mintgroen-focus/tokens.js +28122 -0
- package/dist/uitvoerend-violet/_variables.scss +1193 -0
- package/dist/uitvoerend-violet/index.css +1196 -0
- package/dist/uitvoerend-violet/index.d.ts +1194 -0
- package/dist/uitvoerend-violet/index.js +1194 -0
- package/dist/uitvoerend-violet/index.json +1191 -0
- package/dist/uitvoerend-violet/index.tokens.json +1845 -0
- package/dist/uitvoerend-violet/root.css +1196 -0
- package/dist/uitvoerend-violet/tokens.d.ts +1868 -0
- package/dist/uitvoerend-violet/tokens.js +27950 -0
- package/dist/uitvoerend-violet-oud/_variables.scss +1193 -0
- package/dist/uitvoerend-violet-oud/index.css +1196 -0
- package/dist/uitvoerend-violet-oud/index.d.ts +1194 -0
- package/dist/uitvoerend-violet-oud/index.js +1194 -0
- package/dist/uitvoerend-violet-oud/index.json +1191 -0
- package/dist/uitvoerend-violet-oud/index.tokens.json +1845 -0
- package/dist/uitvoerend-violet-oud/root.css +1196 -0
- package/dist/uitvoerend-violet-oud/tokens.d.ts +1868 -0
- package/dist/uitvoerend-violet-oud/tokens.js +27950 -0
- package/dist/wetgevend/_variables.scss +1193 -0
- package/dist/wetgevend/index.css +1196 -0
- package/dist/wetgevend/index.d.ts +1194 -0
- package/dist/wetgevend/index.js +1194 -0
- package/dist/wetgevend/index.json +1191 -0
- package/dist/wetgevend/index.tokens.json +1845 -0
- package/dist/wetgevend/root.css +1196 -0
- package/dist/wetgevend/tokens.d.ts +1868 -0
- package/dist/{tokens.json → wetgevend/tokens.js} +22004 -21868
- package/figma/figma.tokens.json +932 -234
- package/package.json +10 -12
- package/src/generated/base.tokens.json +5594 -0
- package/src/generated/themes.json +22362 -0
- package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5628 -0
- package/src/generated/uitvoerend-violet/tokens.json +5572 -0
- package/src/generated/uitvoerend-violet-oud/tokens.json +5572 -0
- package/src/generated/{figma.tokens.json → wetgevend/tokens.json} +4398 -4354
- package/token-transformer.mjs +77 -41
- package/dist/variables.less +0 -1187
- 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
|
-
}
|