@open-inwoner/design-tokens 0.0.16 → 0.0.18
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-inwoner/design-tokens",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "Design tokens for Open Inwoner",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/maykinmedia/open-inwoner-design-tokens#readme",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"chokidar": "^
|
|
38
|
+
"chokidar": "^4.0.3",
|
|
39
39
|
"chokidar-cli": "^3.0.0",
|
|
40
40
|
"prettier": "^2.8.0",
|
|
41
|
-
"style-dictionary": "^
|
|
41
|
+
"style-dictionary": "^5.1.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"primary": {
|
|
10
|
-
"value": "
|
|
11
|
-
"comment": "The primary color makes up a large part of the theme, it is used in buttons for example.",
|
|
10
|
+
"value": "hsl(var(--oip-color-primary-h), var(--oip-color-primary-s), var(--oip-color-primary-l))",
|
|
11
|
+
"comment": "The primary color #0065BD makes up a large part of the theme, it is used in buttons for example.",
|
|
12
12
|
"$extensions": {
|
|
13
13
|
"dte.metadata": {
|
|
14
14
|
"isCurated": true,
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"comment": "Darker version of primary color"
|
|
38
38
|
},
|
|
39
39
|
"secondary": {
|
|
40
|
-
"value": "
|
|
41
|
-
"comment": "The secondary compliments the primary color and serves as the default for text-links.",
|
|
40
|
+
"value": "hsl(var(--oip-color-secondary-h), var(--oip-color-secondary-s), var(--oip-color-secondary-l))",
|
|
41
|
+
"comment": "The secondary color #006A0F compliments the primary color and serves as the default for text-links.",
|
|
42
42
|
"$extensions": {
|
|
43
43
|
"dte.metadata": {
|
|
44
44
|
"isCurated": true,
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"comment": "Darker version of secondary color"
|
|
64
64
|
},
|
|
65
65
|
"accent": {
|
|
66
|
-
"value": "
|
|
67
|
-
"comment": "The accent color is usually the main identity color for a municipality",
|
|
66
|
+
"value": "hsl(var(--oip-color-accent-h), var(--oip-color-accent-s), var(--oip-color-accent-l))",
|
|
67
|
+
"comment": "The accent color #E10019 is usually the main identity color for a municipality",
|
|
68
68
|
"$extensions": {
|
|
69
69
|
"dte.metadata": {
|
|
70
70
|
"isCurated": true,
|
|
@@ -72,6 +72,26 @@
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
+
"accent-h": {
|
|
76
|
+
"value": "50",
|
|
77
|
+
"comment": "Accent color hue value"
|
|
78
|
+
},
|
|
79
|
+
"accent-s": {
|
|
80
|
+
"value": "94%",
|
|
81
|
+
"comment": "Accent color saturation value"
|
|
82
|
+
},
|
|
83
|
+
"accent-l": {
|
|
84
|
+
"value": "57%",
|
|
85
|
+
"comment": "Accent color lightness value"
|
|
86
|
+
},
|
|
87
|
+
"accent-darker": {
|
|
88
|
+
"value": "hsl(var(--oip-color-accent-h), var(--oip-color-accent-s), calc(var(--oip-color-accent-l) - 10%))",
|
|
89
|
+
"comment": "Darker version of accent color"
|
|
90
|
+
},
|
|
91
|
+
"accent-lighter": {
|
|
92
|
+
"value": "hsl(var(--oip-color-accent-h), var(--oip-color-accent-s), calc(var(--oip-color-accent-l) + 10%))",
|
|
93
|
+
"comment": "Lighter version of accent color"
|
|
94
|
+
},
|
|
75
95
|
"info": {
|
|
76
96
|
"value": "#2566A7",
|
|
77
97
|
"comment": "The dark blue text color for informational states and/or messages.",
|
|
@@ -125,7 +145,7 @@
|
|
|
125
145
|
"comment": "Danger color lightness value"
|
|
126
146
|
},
|
|
127
147
|
"danger-light": {
|
|
128
|
-
"value": "
|
|
148
|
+
"value": "hsl(var(--oip-color-danger-h), var(--oip-color-danger-s), calc(var(--oip-color-danger-l) + 13%))",
|
|
129
149
|
"comment": "The light red background color for error/critical states and/or messages."
|
|
130
150
|
},
|
|
131
151
|
"danger-lightest": {
|
|
@@ -138,11 +158,23 @@
|
|
|
138
158
|
},
|
|
139
159
|
"fg": {
|
|
140
160
|
"value": "#4b4b4b",
|
|
141
|
-
"comment": "Blackish foreground color for the (main) user interface."
|
|
161
|
+
"comment": "Blackish/gray-dark foreground color for the (main) user interface."
|
|
162
|
+
},
|
|
163
|
+
"fg-font-primary": {
|
|
164
|
+
"value": "#ffffff",
|
|
165
|
+
"comment": "White font color for texts inside primary buttons."
|
|
166
|
+
},
|
|
167
|
+
"fg-font-secondary": {
|
|
168
|
+
"value": "#ffffff",
|
|
169
|
+
"comment": "White font color for texts inside secondary buttons."
|
|
170
|
+
},
|
|
171
|
+
"fg-font-accent": {
|
|
172
|
+
"value": "#4b4b4b",
|
|
173
|
+
"comment": "Dark gray font color for texts inside areas with a very light accent color as a light background-color."
|
|
142
174
|
},
|
|
143
175
|
"fg-lighter": {
|
|
144
176
|
"value": "#676767",
|
|
145
|
-
"comment": "Blackish 90%
|
|
177
|
+
"comment": "Blackish 90% gray foreground color for lighter text elements (eg date)."
|
|
146
178
|
},
|
|
147
179
|
"fg-muted": {
|
|
148
180
|
"value": "#949494",
|
|
@@ -150,7 +182,7 @@
|
|
|
150
182
|
},
|
|
151
183
|
"fg-heading": {
|
|
152
184
|
"value": "#000000",
|
|
153
|
-
"comment": "Black foreground color for fully black elements."
|
|
185
|
+
"comment": "Black foreground color for fully black elements, like headings."
|
|
154
186
|
},
|
|
155
187
|
"border": {
|
|
156
188
|
"value": "#d2d2d2",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"single": {
|
|
16
16
|
"padding-block-start": {"value": "{denhaag.action.padding-block-start}"},
|
|
17
|
-
"padding-block-end": {"value": "{denhaag.action.padding-block-end}"}
|
|
17
|
+
"padding-block-end": {"value": "{denhaag.action.padding-block-end}"},
|
|
18
|
+
"hover": {"background-color": {"value": "{oip.color.gray-lightest}"}}
|
|
18
19
|
},
|
|
19
20
|
"lg-single": {
|
|
20
21
|
"padding-block-start": {"value": "{denhaag.action.lg.padding-block-start}"},
|
|
@@ -30,7 +31,13 @@
|
|
|
30
31
|
},
|
|
31
32
|
"gap": {"value": "8px"},
|
|
32
33
|
"lg-gap": {"value": "16px"},
|
|
33
|
-
"actions-gap": {"value": "16px"}
|
|
34
|
+
"actions-gap": {"value": "16px"},
|
|
35
|
+
"link": {
|
|
36
|
+
"icon": {
|
|
37
|
+
"color": {"value": "{oip.color.primary}"},
|
|
38
|
+
"width": {"value": "16px"}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
34
41
|
}
|
|
35
42
|
}
|
|
36
43
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"color": {"value": "{oip.color.secondary}"},
|
|
9
9
|
"cursor": {"value": "pointer"},
|
|
10
10
|
"font-size": {"value": "{oip.text.font-size}"},
|
|
11
|
+
"font-family": {"value": "{oip.typography.sans-serif.font-family}"},
|
|
11
12
|
"line-height": {"value": "{oip.text.line-height}"},
|
|
12
13
|
"min-block-size": {"value": "0"},
|
|
13
14
|
"min-inline-size": {"value": "0"},
|