@rijkshuisstijl-community/design-tokens 1.0.0-alpha.16 → 1.0.0-alpha.160
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/build.mjs +129 -0
- package/dist/_variables.scss +1198 -301
- package/dist/index.css +1198 -301
- package/dist/index.d.ts +1175 -280
- package/dist/index.js +1197 -300
- package/dist/index.json +1196 -299
- package/dist/index.tokens.json +1765 -594
- package/dist/root.css +1198 -301
- package/dist/tokens.d.ts +1706 -534
- package/dist/tokens.js +26247 -4623
- package/dist/uitvoerend-mintgroen-focus/_variables.scss +1205 -0
- package/dist/uitvoerend-mintgroen-focus/index.css +1208 -0
- package/dist/uitvoerend-mintgroen-focus/index.d.ts +1206 -0
- package/dist/uitvoerend-mintgroen-focus/index.js +1206 -0
- package/dist/uitvoerend-mintgroen-focus/index.json +1203 -0
- package/dist/uitvoerend-mintgroen-focus/index.tokens.json +1895 -0
- package/dist/uitvoerend-mintgroen-focus/root.css +1208 -0
- package/dist/uitvoerend-mintgroen-focus/tokens.d.ts +1918 -0
- package/dist/uitvoerend-mintgroen-focus/tokens.js +28272 -0
- package/dist/uitvoerend-violet/_variables.scss +1198 -0
- package/dist/uitvoerend-violet/index.css +1201 -0
- package/dist/uitvoerend-violet/index.d.ts +1199 -0
- package/dist/uitvoerend-violet/index.js +1199 -0
- package/dist/uitvoerend-violet/index.json +1196 -0
- package/dist/uitvoerend-violet/index.tokens.json +1852 -0
- package/dist/uitvoerend-violet/root.css +1201 -0
- package/dist/uitvoerend-violet/tokens.d.ts +1875 -0
- package/dist/uitvoerend-violet/tokens.js +28071 -0
- package/dist/uitvoerend-violet-oud/_variables.scss +1198 -0
- package/dist/uitvoerend-violet-oud/index.css +1201 -0
- package/dist/uitvoerend-violet-oud/index.d.ts +1199 -0
- package/dist/uitvoerend-violet-oud/index.js +1199 -0
- package/dist/uitvoerend-violet-oud/index.json +1196 -0
- package/dist/uitvoerend-violet-oud/index.tokens.json +1852 -0
- package/dist/uitvoerend-violet-oud/root.css +1201 -0
- package/dist/uitvoerend-violet-oud/tokens.d.ts +1875 -0
- package/dist/uitvoerend-violet-oud/tokens.js +28071 -0
- package/dist/wetgevend/_variables.scss +1198 -0
- package/dist/wetgevend/index.css +1201 -0
- package/dist/wetgevend/index.d.ts +1199 -0
- package/dist/wetgevend/index.js +1199 -0
- package/dist/wetgevend/index.json +1196 -0
- package/dist/wetgevend/index.tokens.json +1852 -0
- package/dist/wetgevend/root.css +1201 -0
- package/dist/wetgevend/tokens.d.ts +1875 -0
- package/dist/wetgevend/tokens.js +28071 -0
- package/figma/figma.tokens.json +7683 -0
- package/package.json +15 -13
- package/src/common/utrecht/focus.tokens.json +2 -2
- package/src/generated/base.tokens.json +5618 -0
- package/src/generated/themes.json +22466 -0
- package/src/generated/uitvoerend-mintgroen-focus/tokens.json +5660 -0
- package/src/generated/uitvoerend-violet/tokens.json +5596 -0
- package/src/generated/uitvoerend-violet-oud/tokens.json +5596 -0
- package/src/generated/wetgevend/tokens.json +5596 -0
- package/token-transformer.mjs +85 -0
- package/dist/variables.less +0 -306
- 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/style-dictionary.config.json +0 -101
package/package.json
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"name": "@rijkshuisstijl-community/design-tokens",
|
|
3
|
+
"version": "1.0.0-alpha.160",
|
|
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": "
|
|
23
|
-
"build:style-dictionary": "
|
|
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:style-dictionary": "node build.mjs",
|
|
24
25
|
"watch": "npm-run-all watch:**",
|
|
25
|
-
"watch:style-dictionary": "chokidar --follow-symlinks --
|
|
26
|
+
"watch:style-dictionary": "chokidar --follow-symlinks --command 'npm-run-all clean build:figma-tokens build:style-dictionary' 'src/**/*.tokens.json'"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"chokidar-cli": "3.0.0",
|
|
29
30
|
"npm-run-all": "4.1.5",
|
|
30
|
-
"rimraf": "
|
|
31
|
-
"style-dictionary": "3.
|
|
31
|
+
"rimraf": "6.0.1",
|
|
32
|
+
"style-dictionary": "3.9.2",
|
|
33
|
+
"token-transformer": "0.0.33"
|
|
32
34
|
},
|
|
33
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "09b69f27a54d8812f10a622a8494afe8075b9392"
|
|
34
36
|
}
|
|
@@ -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
|
}
|