@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.
Files changed (44) hide show
  1. package/LICENSE.md +288 -0
  2. package/README.md +9 -0
  3. package/dist/_variables.scss +306 -0
  4. package/dist/index.css +309 -0
  5. package/dist/index.d.ts +309 -0
  6. package/dist/index.js +307 -0
  7. package/dist/index.json +304 -0
  8. package/dist/index.tokens.json +688 -0
  9. package/dist/root.css +309 -0
  10. package/dist/tokens.d.ts +710 -0
  11. package/dist/tokens.js +6554 -0
  12. package/dist/variables.less +306 -0
  13. package/package.json +34 -0
  14. package/src/brand/rhc/color.tokens.json +103 -0
  15. package/src/brand/rhc/font.tokens.json +34 -0
  16. package/src/common/utrecht/action.tokens.json +10 -0
  17. package/src/common/utrecht/focus.tokens.json +17 -0
  18. package/src/components/basiselementen/document.tokens.json +15 -0
  19. package/src/components/rvo/button.tokens.json +33 -0
  20. package/src/components/rvo/checkbox.tokens.json +32 -0
  21. package/src/components/rvo/custom-radio-button.tokens.json +24 -0
  22. package/src/components/rvo/heading.tokens.json +24 -0
  23. package/src/components/rvo/logo.tokens.json +13 -0
  24. package/src/components/rvo/select.tokens.json +15 -0
  25. package/src/components/utrecht/breadcrumbs.tokens.json +66 -0
  26. package/src/components/utrecht/button.tokens.json +120 -0
  27. package/src/components/utrecht/custom-radio-button.tokens.json +53 -0
  28. package/src/components/utrecht/data-list.tokens.json +91 -0
  29. package/src/components/utrecht/document.tokens.json +12 -0
  30. package/src/components/utrecht/form-field.tokens.json +21 -0
  31. package/src/components/utrecht/form-fieldset.tokens.json +27 -0
  32. package/src/components/utrecht/form-input.tokens.json +42 -0
  33. package/src/components/utrecht/form-label.tokens.json +23 -0
  34. package/src/components/utrecht/heading-1.tokens.json +13 -0
  35. package/src/components/utrecht/heading-2.tokens.json +13 -0
  36. package/src/components/utrecht/heading-3.tokens.json +13 -0
  37. package/src/components/utrecht/heading-4.tokens.json +13 -0
  38. package/src/components/utrecht/heading-5.tokens.json +13 -0
  39. package/src/components/utrecht/heading-6.tokens.json +13 -0
  40. package/src/components/utrecht/link.tokens.json +44 -0
  41. package/src/components/utrecht/ordered-list.tokens.json +19 -0
  42. package/src/components/utrecht/paragraph.tokens.json +23 -0
  43. package/src/components/utrecht/unordered-list.tokens.json +31 -0
  44. 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
+ }