@rijkshuisstijl-community/design-tokens 1.0.0-alpha.8 → 1.0.0-alpha.81
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 +7 -282
- package/README.md +21 -3
- package/dist/_variables.scss +1171 -295
- package/dist/index.css +1171 -295
- package/dist/index.d.ts +1145 -270
- package/dist/index.js +1171 -295
- package/dist/index.json +1170 -294
- package/dist/index.tokens.json +1748 -597
- package/dist/root.css +1171 -295
- package/dist/tokens.d.ts +1657 -505
- package/dist/tokens.js +25788 -4614
- package/dist/variables.less +1171 -295
- package/figma/figma.tokens.json +6943 -0
- package/package.json +15 -12
- package/src/common/utrecht/focus.tokens.json +2 -2
- package/src/generated/figma.tokens.json +5508 -0
- package/token-transformer.mjs +49 -0
- package/src/brand/rhc/color.tokens.json +0 -103
- package/src/brand/rhc/font.tokens.json +0 -34
- package/src/components/basiselementen/document.tokens.json +0 -15
- package/src/components/rvo/button.tokens.json +0 -33
- package/src/components/rvo/checkbox.tokens.json +0 -32
- package/src/components/rvo/custom-radio-button.tokens.json +0 -24
- package/src/components/rvo/heading.tokens.json +0 -24
- package/src/components/rvo/logo.tokens.json +0 -13
- package/src/components/rvo/select.tokens.json +0 -15
- package/src/components/utrecht/breadcrumbs.tokens.json +0 -66
- package/src/components/utrecht/button.tokens.json +0 -120
- package/src/components/utrecht/custom-radio-button.tokens.json +0 -53
- package/src/components/utrecht/data-list.tokens.json +0 -91
- package/src/components/utrecht/document.tokens.json +0 -12
- package/src/components/utrecht/form-field.tokens.json +0 -21
- package/src/components/utrecht/form-fieldset.tokens.json +0 -27
- package/src/components/utrecht/form-input.tokens.json +0 -42
- package/src/components/utrecht/form-label.tokens.json +0 -23
- package/src/components/utrecht/heading-1.tokens.json +0 -13
- package/src/components/utrecht/heading-2.tokens.json +0 -13
- package/src/components/utrecht/heading-3.tokens.json +0 -13
- package/src/components/utrecht/heading-4.tokens.json +0 -13
- package/src/components/utrecht/heading-5.tokens.json +0 -13
- package/src/components/utrecht/heading-6.tokens.json +0 -13
- package/src/components/utrecht/link.tokens.json +0 -44
- package/src/components/utrecht/ordered-list.tokens.json +0 -19
- package/src/components/utrecht/paragraph.tokens.json +0 -23
- package/src/components/utrecht/unordered-list.tokens.json +0 -31
package/package.json
CHANGED
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"name": "@rijkshuisstijl-community/design-tokens",
|
|
3
|
+
"version": "1.0.0-alpha.81",
|
|
3
4
|
"author": "Community for NL Design System",
|
|
4
5
|
"description": "Example design tokens",
|
|
5
|
-
"license": "
|
|
6
|
-
"name": "@rijkshuisstijl-community/design-tokens",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"nl-design-system"
|
|
9
9
|
],
|
|
10
10
|
"private": false,
|
|
11
11
|
"publishConfig": {
|
|
12
|
-
"access": "
|
|
12
|
+
"access": "public",
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git+ssh",
|
|
17
|
-
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git"
|
|
17
|
+
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git",
|
|
18
|
+
"directory": "proprietary/design-tokens"
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
20
|
-
"clean": "rimraf dist/",
|
|
21
|
-
"
|
|
22
|
-
"build": "
|
|
21
|
+
"clean": "rimraf dist/* src/generated/*",
|
|
22
|
+
"build": "npm-run-all clean build:figma-tokens build:style-dictionary",
|
|
23
|
+
"build:figma-tokens": "node ./token-transformer.mjs",
|
|
24
|
+
"build:scss": "sass --no-source-map src/:dist/",
|
|
23
25
|
"build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.json",
|
|
24
26
|
"watch": "npm-run-all watch:**",
|
|
25
|
-
"watch:style-dictionary": "chokidar --follow-symlinks --
|
|
27
|
+
"watch:style-dictionary": "chokidar --follow-symlinks --command 'npm-run-all clean build:figma-tokens build:style-dictionary' 'src/**/*.tokens.json'"
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"chokidar-cli": "3.0.0",
|
|
29
31
|
"npm-run-all": "4.1.5",
|
|
30
|
-
"rimraf": "
|
|
31
|
-
"style-dictionary": "3.
|
|
32
|
+
"rimraf": "6.0.1",
|
|
33
|
+
"style-dictionary": "3.9.2",
|
|
34
|
+
"token-transformer": "0.0.33"
|
|
32
35
|
},
|
|
33
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "4cfb96f419392c8e64afb6c20d57b00ce886b54e"
|
|
34
37
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"utrecht": {
|
|
3
3
|
"focus": {
|
|
4
4
|
"background-color": {},
|
|
5
|
-
"outline-color": { "value": "{
|
|
5
|
+
"outline-color": { "value": "{rhc.color.zwart}" },
|
|
6
6
|
"outline-offset": {
|
|
7
7
|
"value": "3px",
|
|
8
8
|
"comment": "This is only for buttons. Form fields (input, select and textarea) and links do not have an offset"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"outline-style": { "value": "dashed" },
|
|
11
11
|
"outline-width": { "value": "2px" },
|
|
12
12
|
"inverse": {
|
|
13
|
-
"outline-color": { "value": "{
|
|
13
|
+
"outline-color": { "value": "{rhc.color.wit}" }
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|