@rijkshuisstijl-community/design-tokens 1.0.0-alpha.10
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/LICENSE.md +288 -0
- package/README.md +9 -0
- package/dist/_variables.scss +306 -0
- package/dist/index.css +309 -0
- package/dist/index.d.ts +309 -0
- package/dist/index.js +307 -0
- package/dist/index.json +304 -0
- package/dist/index.tokens.json +688 -0
- package/dist/root.css +309 -0
- package/dist/tokens.d.ts +710 -0
- package/dist/tokens.js +6554 -0
- package/dist/variables.less +306 -0
- package/package.json +34 -0
- package/src/brand/rhc/color.tokens.json +103 -0
- package/src/brand/rhc/font.tokens.json +34 -0
- package/src/common/utrecht/action.tokens.json +10 -0
- package/src/common/utrecht/focus.tokens.json +17 -0
- package/src/components/basiselementen/document.tokens.json +15 -0
- package/src/components/rvo/button.tokens.json +33 -0
- package/src/components/rvo/checkbox.tokens.json +32 -0
- package/src/components/rvo/custom-radio-button.tokens.json +24 -0
- package/src/components/rvo/heading.tokens.json +24 -0
- package/src/components/rvo/logo.tokens.json +13 -0
- package/src/components/rvo/select.tokens.json +15 -0
- package/src/components/utrecht/breadcrumbs.tokens.json +66 -0
- package/src/components/utrecht/button.tokens.json +120 -0
- package/src/components/utrecht/custom-radio-button.tokens.json +53 -0
- package/src/components/utrecht/data-list.tokens.json +91 -0
- package/src/components/utrecht/document.tokens.json +12 -0
- package/src/components/utrecht/form-field.tokens.json +21 -0
- package/src/components/utrecht/form-fieldset.tokens.json +27 -0
- package/src/components/utrecht/form-input.tokens.json +42 -0
- package/src/components/utrecht/form-label.tokens.json +23 -0
- package/src/components/utrecht/heading-1.tokens.json +13 -0
- package/src/components/utrecht/heading-2.tokens.json +13 -0
- package/src/components/utrecht/heading-3.tokens.json +13 -0
- package/src/components/utrecht/heading-4.tokens.json +13 -0
- package/src/components/utrecht/heading-5.tokens.json +13 -0
- package/src/components/utrecht/heading-6.tokens.json +13 -0
- package/src/components/utrecht/link.tokens.json +44 -0
- package/src/components/utrecht/ordered-list.tokens.json +19 -0
- package/src/components/utrecht/paragraph.tokens.json +23 -0
- package/src/components/utrecht/unordered-list.tokens.json +31 -0
- package/style-dictionary.config.json +101 -0
|
@@ -0,0 +1,101 @@
|
|
|
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": "index.tokens.json",
|
|
24
|
+
"format": "json/nested"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"destination": "index.json",
|
|
28
|
+
"format": "json/flat"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"css": {
|
|
33
|
+
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
34
|
+
"buildPath": "dist/",
|
|
35
|
+
"files": [
|
|
36
|
+
{
|
|
37
|
+
"destination": "root.css",
|
|
38
|
+
"format": "css/variables",
|
|
39
|
+
"options": {
|
|
40
|
+
"outputReferences": true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"css-theme": {
|
|
46
|
+
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
47
|
+
"buildPath": "dist/",
|
|
48
|
+
"files": [
|
|
49
|
+
{
|
|
50
|
+
"destination": "index.css",
|
|
51
|
+
"format": "css/variables",
|
|
52
|
+
"options": {
|
|
53
|
+
"selector": ".rhc-theme",
|
|
54
|
+
"outputReferences": true
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"scss": {
|
|
60
|
+
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
61
|
+
"buildPath": "dist/",
|
|
62
|
+
"files": [
|
|
63
|
+
{
|
|
64
|
+
"destination": "_variables.scss",
|
|
65
|
+
"format": "scss/variables",
|
|
66
|
+
"options": {
|
|
67
|
+
"outputReferences": true
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"typescript": {
|
|
73
|
+
"transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
|
|
74
|
+
"transformGroup": "js",
|
|
75
|
+
"buildPath": "dist/",
|
|
76
|
+
"files": [
|
|
77
|
+
{
|
|
78
|
+
"format": "typescript/es6-declarations",
|
|
79
|
+
"destination": "index.d.ts"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"format": "typescript/module-declarations",
|
|
83
|
+
"destination": "tokens.d.ts"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"less": {
|
|
88
|
+
"transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
|
|
89
|
+
"buildPath": "dist/",
|
|
90
|
+
"files": [
|
|
91
|
+
{
|
|
92
|
+
"destination": "variables.less",
|
|
93
|
+
"format": "less/variables",
|
|
94
|
+
"options": {
|
|
95
|
+
"outputReferences": true
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|