@amsterdam/design-system-tokens 3.1.0 → 3.2.0
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/CHANGELOG.md +10 -0
- package/README.md +45 -1
- package/build.js +25 -35
- package/dist/compact.css +2 -2
- package/dist/compact.d.ts +3 -3
- package/dist/compact.mjs +2 -2
- package/dist/compact.scss +2 -2
- package/dist/compact.theme.css +2 -2
- package/dist/index.css +59 -47
- package/dist/index.d.ts +21 -3
- package/dist/index.json +41 -23
- package/dist/index.mjs +89 -66
- package/dist/index.scss +59 -47
- package/dist/index.theme.css +59 -47
- package/package.json +2 -2
- package/src/brand/ams/aspect-ratio.tokens.json +18 -6
- package/src/brand/ams/border.compact.tokens.json +36 -4
- package/src/brand/ams/border.tokens.json +36 -4
- package/src/brand/ams/color.deprecated.tokens.json +3 -2
- package/src/brand/ams/color.tokens.json +104 -26
- package/src/brand/ams/cursor.tokens.json +6 -2
- package/src/brand/ams/focus.tokens.json +10 -1
- package/src/brand/ams/space.compact.tokens.json +30 -6
- package/src/brand/ams/space.tokens.json +24 -6
- package/src/brand/ams/typography.compact.tokens.json +110 -18
- package/src/brand/ams/typography.deprecated.compact.tokens.json +10 -4
- package/src/brand/ams/typography.deprecated.tokens.json +20 -8
- package/src/brand/ams/typography.tokens.json +131 -24
- package/src/common/ams/inputs.tokens.json +121 -18
- package/src/common/ams/links.tokens.json +72 -12
- package/src/components/ams/accordion.deprecated.tokens.json +29 -7
- package/src/components/ams/accordion.tokens.json +46 -8
- package/src/components/ams/action-group.tokens.json +7 -1
- package/src/components/ams/alert.tokens.json +83 -16
- package/src/components/ams/avatar.tokens.json +139 -31
- package/src/components/ams/badge.tokens.json +98 -22
- package/src/components/ams/blockquote.tokens.json +28 -6
- package/src/components/ams/breadcrumb.tokens.json +68 -15
- package/src/components/ams/button.tokens.json +176 -34
- package/src/components/ams/call-to-action-link.tokens.json +73 -14
- package/src/components/ams/card.tokens.json +60 -11
- package/src/components/ams/character-count.tokens.json +28 -6
- package/src/components/ams/checkbox.deprecated.tokens.json +23 -7
- package/src/components/ams/checkbox.tokens.json +154 -36
- package/src/components/ams/column.tokens.json +35 -5
- package/src/components/ams/date-input.deprecated.tokens.json +10 -10
- package/src/components/ams/date-input.tokens.json +93 -21
- package/src/components/ams/description-list.tokens.json +86 -13
- package/src/components/ams/dialog.tokens.json +144 -23
- package/src/components/ams/error-message.tokens.json +31 -6
- package/src/components/ams/field-set.deprecated.tokens.json +8 -1
- package/src/components/ams/field-set.tokens.json +69 -13
- package/src/components/ams/field.deprecated.tokens.json +8 -1
- package/src/components/ams/field.tokens.json +24 -4
- package/src/components/ams/figure.tokens.json +35 -7
- package/src/components/ams/file-input.tokens.json +143 -29
- package/src/components/ams/file-list.tokens.json +49 -9
- package/src/components/ams/grid.compact.tokens.json +7 -1
- package/src/components/ams/grid.tokens.json +79 -13
- package/src/components/ams/heading.tokens.json +91 -17
- package/src/components/ams/hint.tokens.json +8 -2
- package/src/components/ams/icon-button.tokens.json +69 -17
- package/src/components/ams/icon.deprecated.tokens.json +10 -4
- package/src/components/ams/icon.tokens.json +112 -19
- package/src/components/ams/image-slider.tokens.json +60 -10
- package/src/components/ams/image.tokens.json +3 -1
- package/src/components/ams/invalid-form-alert.tokens.json +7 -1
- package/src/components/ams/label.tokens.json +31 -7
- package/src/components/ams/link-list.tokens.json +106 -21
- package/src/components/ams/link.tokens.json +73 -15
- package/src/components/ams/logo.tokens.json +23 -5
- package/src/components/ams/mark.tokens.json +4 -1
- package/src/components/ams/menu.deprecated.tokens.json +12 -8
- package/src/components/ams/menu.tokens.json +119 -21
- package/src/components/ams/ordered-list.tokens.json +110 -22
- package/src/components/ams/page-footer.tokens.json +98 -18
- package/src/components/ams/page-header.compact.tokens.json +19 -3
- package/src/components/ams/page-header.tokens.json +214 -34
- package/src/components/ams/page-heading.deprecated.tokens.json +38 -8
- package/src/components/ams/page.tokens.json +24 -5
- package/src/components/ams/pagination.tokens.json +70 -14
- package/src/components/ams/paragraph.tokens.json +55 -11
- package/src/components/ams/password-input.tokens.json +92 -19
- package/src/components/ams/progress-list.tokens.json +172 -55
- package/src/components/ams/radio.tokens.json +142 -33
- package/src/components/ams/row.tokens.json +35 -5
- package/src/components/ams/search-field.tokens.json +101 -22
- package/src/components/ams/select.tokens.json +97 -24
- package/src/components/ams/skip-link.tokens.json +53 -10
- package/src/components/ams/spotlight.tokens.json +28 -7
- package/src/components/ams/standalone-link.deprecated.tokens.json +16 -10
- package/src/components/ams/standalone-link.tokens.json +75 -16
- package/src/components/ams/switch.tokens.json +57 -12
- package/src/components/ams/table-of-contents.deprecated.tokens.json +16 -3
- package/src/components/ams/table-of-contents.tokens.json +80 -15
- package/src/components/ams/table.tokens.json +49 -10
- package/src/components/ams/tabs.tokens.json +130 -17
- package/src/components/ams/text-area.tokens.json +97 -20
- package/src/components/ams/text-input.tokens.json +90 -19
- package/src/components/ams/time-input.deprecated.tokens.json +10 -10
- package/src/components/ams/time-input.tokens.json +91 -21
- package/src/components/ams/unordered-list.tokens.json +112 -22
- package/style-dictionary/dimensionToString.js +25 -0
- package/style-dictionary/transforms/dtcg-dimension.js +30 -0
- package/style-dictionary/transforms/name-custom-camel.js +27 -0
- package/style-dictionary/transforms/name-custom-kebab.js +27 -0
- package/style-dictionary/transforms/shadow-dtcg-dimension-normalize.js +50 -0
|
@@ -1,87 +1,205 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"checkbox": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
"color": {
|
|
5
|
+
"$value": "{ams.color.text.default}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"cursor": {
|
|
9
|
+
"$value": "{ams.cursor.interactive}"
|
|
10
|
+
},
|
|
11
|
+
"font-family": {
|
|
12
|
+
"$value": "{ams.typography.font-family}",
|
|
13
|
+
"$type": "fontFamily"
|
|
14
|
+
},
|
|
15
|
+
"font-size": {
|
|
16
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
17
|
+
"$extensions": {
|
|
18
|
+
"nl.amsterdam.type": "fontSize"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"font-weight": {
|
|
22
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
23
|
+
"$type": "fontWeight"
|
|
24
|
+
},
|
|
25
|
+
"gap": {
|
|
26
|
+
"$value": "{ams.space.s}",
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"nl.amsterdam.subtype": "space"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"line-height": {
|
|
33
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"nl.amsterdam.type": "lineHeight"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"outline-offset": {
|
|
39
|
+
"$value": "{ams.focus.outline-offset}",
|
|
40
|
+
"$type": "dimension",
|
|
41
|
+
"$extensions": {
|
|
42
|
+
"nl.amsterdam.subtype": "space"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"text-decoration-thickness": {
|
|
46
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
47
|
+
"$type": "dimension"
|
|
48
|
+
},
|
|
49
|
+
"text-underline-offset": {
|
|
50
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
51
|
+
"$type": "dimension",
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"nl.amsterdam.subtype": "space"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
14
56
|
"disabled": {
|
|
15
|
-
"cursor": {
|
|
16
|
-
|
|
57
|
+
"cursor": {
|
|
58
|
+
"$value": "{ams.cursor.disabled}"
|
|
59
|
+
},
|
|
60
|
+
"color": {
|
|
61
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
62
|
+
"$type": "color"
|
|
63
|
+
}
|
|
17
64
|
},
|
|
18
65
|
"hover": {
|
|
19
|
-
"color": {
|
|
20
|
-
|
|
66
|
+
"color": {
|
|
67
|
+
"$value": "{ams.color.interactive.hover}",
|
|
68
|
+
"$type": "color"
|
|
69
|
+
},
|
|
70
|
+
"text-decoration-line": {
|
|
71
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
72
|
+
}
|
|
21
73
|
},
|
|
22
74
|
"checked-indicator": {
|
|
23
|
-
"stroke": {
|
|
75
|
+
"stroke": {
|
|
76
|
+
"$value": "{ams.color.interactive.inverse}",
|
|
77
|
+
"$type": "color"
|
|
78
|
+
}
|
|
24
79
|
},
|
|
25
80
|
"hover-indicator": {
|
|
26
81
|
"hover": {
|
|
27
|
-
"stroke": {
|
|
82
|
+
"stroke": {
|
|
83
|
+
"$value": "{ams.color.interactive.hover}",
|
|
84
|
+
"$type": "color"
|
|
85
|
+
}
|
|
28
86
|
},
|
|
29
87
|
"invalid": {
|
|
30
88
|
"hover": {
|
|
31
|
-
"stroke": {
|
|
89
|
+
"stroke": {
|
|
90
|
+
"$value": "{ams.color.interactive.invalid.hover}",
|
|
91
|
+
"$type": "color"
|
|
92
|
+
}
|
|
32
93
|
}
|
|
33
94
|
}
|
|
34
95
|
},
|
|
35
96
|
"icon-container": {
|
|
36
|
-
"block-size": {
|
|
37
|
-
|
|
97
|
+
"block-size": {
|
|
98
|
+
"$value": "calc({ams.checkbox.font-size} * {ams.checkbox.line-height})",
|
|
99
|
+
"$type": "dimension"
|
|
100
|
+
},
|
|
101
|
+
"inline-size": {
|
|
102
|
+
"$value": "{ams.checkbox.font-size}",
|
|
103
|
+
"$type": "dimension"
|
|
104
|
+
}
|
|
38
105
|
},
|
|
39
106
|
"indeterminate-indicator": {
|
|
40
|
-
"stroke": {
|
|
107
|
+
"stroke": {
|
|
108
|
+
"$value": "{ams.color.interactive.inverse}",
|
|
109
|
+
"$type": "color"
|
|
110
|
+
}
|
|
41
111
|
},
|
|
42
112
|
"rectangle": {
|
|
43
|
-
"fill": {
|
|
44
|
-
|
|
113
|
+
"fill": {
|
|
114
|
+
"$value": "{ams.color.background}",
|
|
115
|
+
"$type": "color"
|
|
116
|
+
},
|
|
117
|
+
"stroke": {
|
|
118
|
+
"$value": "{ams.color.interactive.default}",
|
|
119
|
+
"$type": "color"
|
|
120
|
+
},
|
|
45
121
|
"checked": {
|
|
46
|
-
"fill": {
|
|
122
|
+
"fill": {
|
|
123
|
+
"$value": "{ams.color.interactive.default}",
|
|
124
|
+
"$type": "color"
|
|
125
|
+
},
|
|
47
126
|
"disabled": {
|
|
48
|
-
"fill": {
|
|
127
|
+
"fill": {
|
|
128
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
129
|
+
"$type": "color"
|
|
130
|
+
}
|
|
49
131
|
},
|
|
50
132
|
"hover": {
|
|
51
|
-
"fill": {
|
|
133
|
+
"fill": {
|
|
134
|
+
"$value": "{ams.color.interactive.hover}",
|
|
135
|
+
"$type": "color"
|
|
136
|
+
}
|
|
52
137
|
},
|
|
53
138
|
"invalid": {
|
|
54
|
-
"fill": {
|
|
139
|
+
"fill": {
|
|
140
|
+
"$value": "{ams.color.interactive.invalid.default}",
|
|
141
|
+
"$type": "color"
|
|
142
|
+
},
|
|
55
143
|
"hover": {
|
|
56
|
-
"fill": {
|
|
144
|
+
"fill": {
|
|
145
|
+
"$value": "{ams.color.interactive.invalid.hover}",
|
|
146
|
+
"$type": "color"
|
|
147
|
+
}
|
|
57
148
|
}
|
|
58
149
|
}
|
|
59
150
|
},
|
|
60
151
|
"disabled": {
|
|
61
|
-
"stroke": {
|
|
152
|
+
"stroke": {
|
|
153
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
154
|
+
"$type": "color"
|
|
155
|
+
}
|
|
62
156
|
},
|
|
63
157
|
"hover": {
|
|
64
|
-
"stroke": {
|
|
158
|
+
"stroke": {
|
|
159
|
+
"$value": "{ams.color.interactive.hover}",
|
|
160
|
+
"$type": "color"
|
|
161
|
+
}
|
|
65
162
|
},
|
|
66
163
|
"indeterminate": {
|
|
67
|
-
"fill": {
|
|
164
|
+
"fill": {
|
|
165
|
+
"$value": "{ams.color.interactive.default}",
|
|
166
|
+
"$type": "color"
|
|
167
|
+
},
|
|
68
168
|
"disabled": {
|
|
69
|
-
"fill": {
|
|
169
|
+
"fill": {
|
|
170
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
171
|
+
"$type": "color"
|
|
172
|
+
}
|
|
70
173
|
},
|
|
71
174
|
"hover": {
|
|
72
|
-
"fill": {
|
|
175
|
+
"fill": {
|
|
176
|
+
"$value": "{ams.color.interactive.hover}",
|
|
177
|
+
"$type": "color"
|
|
178
|
+
}
|
|
73
179
|
},
|
|
74
180
|
"invalid": {
|
|
75
|
-
"fill": {
|
|
181
|
+
"fill": {
|
|
182
|
+
"$value": "{ams.color.interactive.invalid.default}",
|
|
183
|
+
"$type": "color"
|
|
184
|
+
},
|
|
76
185
|
"hover": {
|
|
77
|
-
"fill": {
|
|
186
|
+
"fill": {
|
|
187
|
+
"$value": "{ams.color.interactive.invalid.hover}",
|
|
188
|
+
"$type": "color"
|
|
189
|
+
}
|
|
78
190
|
}
|
|
79
191
|
}
|
|
80
192
|
},
|
|
81
193
|
"invalid": {
|
|
82
|
-
"stroke": {
|
|
194
|
+
"stroke": {
|
|
195
|
+
"$value": "{ams.color.interactive.invalid.default}",
|
|
196
|
+
"$type": "color"
|
|
197
|
+
},
|
|
83
198
|
"hover": {
|
|
84
|
-
"stroke": {
|
|
199
|
+
"stroke": {
|
|
200
|
+
"$value": "{ams.color.interactive.invalid.hover}",
|
|
201
|
+
"$type": "color"
|
|
202
|
+
}
|
|
85
203
|
}
|
|
86
204
|
}
|
|
87
205
|
}
|
|
@@ -2,11 +2,41 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"column": {
|
|
4
4
|
"gap": {
|
|
5
|
-
"x-small": {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
"x-small": {
|
|
6
|
+
"$value": "{ams.space.xs}",
|
|
7
|
+
"$type": "dimension",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"nl.amsterdam.subtype": "space"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"small": {
|
|
13
|
+
"$value": "{ams.space.s}",
|
|
14
|
+
"$type": "dimension",
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"nl.amsterdam.subtype": "space"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"medium": {
|
|
20
|
+
"$value": "{ams.space.m}",
|
|
21
|
+
"$type": "dimension",
|
|
22
|
+
"$extensions": {
|
|
23
|
+
"nl.amsterdam.subtype": "space"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"large": {
|
|
27
|
+
"$value": "{ams.space.l}",
|
|
28
|
+
"$type": "dimension",
|
|
29
|
+
"$extensions": {
|
|
30
|
+
"nl.amsterdam.subtype": "space"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"x-large": {
|
|
34
|
+
"$value": "{ams.space.xl}",
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"$extensions": {
|
|
37
|
+
"nl.amsterdam.subtype": "space"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
10
40
|
}
|
|
11
41
|
}
|
|
12
42
|
}
|
|
@@ -4,33 +4,33 @@
|
|
|
4
4
|
"disabled": {
|
|
5
5
|
"calendar-picker-indicator": {
|
|
6
6
|
"background-image": {
|
|
7
|
-
"
|
|
8
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
7
|
+
"$deprecated": "This token will be removed in release 6.0.0",
|
|
8
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"calender-picker-indicator": {
|
|
12
12
|
"background-image": {
|
|
13
|
-
"
|
|
14
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
13
|
+
"$deprecated": "Use `ams.date-input.disabled.calendar-picker-indicator.background-image` instead",
|
|
14
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23767676'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"hover": {
|
|
19
19
|
"calender-picker-indicator": {
|
|
20
20
|
"background-image": {
|
|
21
|
-
"
|
|
22
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
21
|
+
"$deprecated": "Use `ams.date-input.hover.calendar-picker-indicator.background-image` instead",
|
|
22
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"calender-picker-indicator": {
|
|
27
27
|
"background-image": {
|
|
28
|
-
"
|
|
29
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
28
|
+
"$deprecated": "Use `ams.date-input.calendar-picker-indicator.background-image` instead",
|
|
29
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
30
30
|
},
|
|
31
31
|
"cursor": {
|
|
32
|
-
"
|
|
33
|
-
"value": "{ams.cursor.interactive}"
|
|
32
|
+
"$deprecated": "Use `ams.date-input.calendar-picker-indicator.cursor` instead",
|
|
33
|
+
"$value": "{ams.cursor.interactive}"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,42 +1,114 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"date-input": {
|
|
4
|
-
"background-color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"color": {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "{ams.inputs.background-color}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"border-color": {
|
|
9
|
+
"$value": "{ams.inputs.border-color}",
|
|
10
|
+
"$type": "color"
|
|
11
|
+
},
|
|
12
|
+
"border-style": {
|
|
13
|
+
"$value": "{ams.inputs.border-style}",
|
|
14
|
+
"$extensions": {
|
|
15
|
+
"nl.amsterdam.type": "borderStyle"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"border-width": {
|
|
19
|
+
"$value": "{ams.inputs.border-width}",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"nl.amsterdam.type": "borderWidth"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"color": {
|
|
25
|
+
"$value": "{ams.inputs.color}",
|
|
26
|
+
"$type": "color"
|
|
27
|
+
},
|
|
28
|
+
"font-family": {
|
|
29
|
+
"$value": "{ams.inputs.font-family}",
|
|
30
|
+
"$type": "fontFamily"
|
|
31
|
+
},
|
|
32
|
+
"font-size": {
|
|
33
|
+
"$value": "{ams.inputs.font-size}",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"nl.amsterdam.type": "fontSize"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"font-weight": {
|
|
39
|
+
"$value": "{ams.inputs.font-weight}",
|
|
40
|
+
"$type": "fontWeight"
|
|
41
|
+
},
|
|
42
|
+
"line-height": {
|
|
43
|
+
"$value": "{ams.inputs.line-height}",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"nl.amsterdam.type": "lineHeight"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"outline-offset": {
|
|
49
|
+
"$value": "{ams.inputs.outline-offset}",
|
|
50
|
+
"$type": "dimension",
|
|
51
|
+
"$extensions": {
|
|
52
|
+
"nl.amsterdam.subtype": "space"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"padding-block": {
|
|
56
|
+
"$value": "{ams.inputs.padding-block}",
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"nl.amsterdam.subtype": "space"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"padding-inline": {
|
|
63
|
+
"$value": "{ams.inputs.padding-inline}",
|
|
64
|
+
"$type": "dimension",
|
|
65
|
+
"$extensions": {
|
|
66
|
+
"nl.amsterdam.subtype": "space"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
16
69
|
"disabled": {
|
|
17
|
-
"color": {
|
|
18
|
-
|
|
70
|
+
"color": {
|
|
71
|
+
"$value": "{ams.inputs.disabled.color}",
|
|
72
|
+
"$type": "color"
|
|
73
|
+
},
|
|
74
|
+
"cursor": {
|
|
75
|
+
"$value": "{ams.cursor.disabled}"
|
|
76
|
+
}
|
|
19
77
|
},
|
|
20
78
|
"hover": {
|
|
21
|
-
"box-shadow": {
|
|
79
|
+
"box-shadow": {
|
|
80
|
+
"$type": "shadow",
|
|
81
|
+
"$value": "{ams.inputs.hover.box-shadow}"
|
|
82
|
+
},
|
|
22
83
|
"calendar-picker-indicator": {
|
|
23
84
|
"background-image": {
|
|
24
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
85
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23003677'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
25
86
|
}
|
|
26
87
|
}
|
|
27
88
|
},
|
|
28
89
|
"invalid": {
|
|
29
|
-
"border-color": {
|
|
90
|
+
"border-color": {
|
|
91
|
+
"$value": "{ams.inputs.invalid.border-color}",
|
|
92
|
+
"$type": "color"
|
|
93
|
+
},
|
|
30
94
|
"hover": {
|
|
31
|
-
"border-color": {
|
|
32
|
-
|
|
95
|
+
"border-color": {
|
|
96
|
+
"$value": "{ams.inputs.invalid.hover.border-color}",
|
|
97
|
+
"$type": "color"
|
|
98
|
+
},
|
|
99
|
+
"box-shadow": {
|
|
100
|
+
"$type": "shadow",
|
|
101
|
+
"$value": "{ams.inputs.invalid.hover.box-shadow}"
|
|
102
|
+
}
|
|
33
103
|
}
|
|
34
104
|
},
|
|
35
105
|
"calendar-picker-indicator": {
|
|
36
106
|
"background-image": {
|
|
37
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
107
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
|
|
38
108
|
},
|
|
39
|
-
"cursor": {
|
|
109
|
+
"cursor": {
|
|
110
|
+
"$value": "{ams.cursor.interactive}"
|
|
111
|
+
}
|
|
40
112
|
}
|
|
41
113
|
}
|
|
42
114
|
}
|
|
@@ -1,30 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"description-list": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
4
|
+
"color": {
|
|
5
|
+
"$value": "{ams.color.text.default}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"column-gap": {
|
|
9
|
+
"$value": "{ams.space.l}",
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$extensions": {
|
|
12
|
+
"nl.amsterdam.subtype": "space"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"font-family": {
|
|
16
|
+
"$value": "{ams.typography.font-family}",
|
|
17
|
+
"$type": "fontFamily"
|
|
18
|
+
},
|
|
19
|
+
"font-size": {
|
|
20
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
21
|
+
"$extensions": {
|
|
22
|
+
"nl.amsterdam.type": "fontSize"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"line-height": {
|
|
26
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
27
|
+
"$extensions": {
|
|
28
|
+
"nl.amsterdam.type": "lineHeight"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"row-gap": {
|
|
32
|
+
"$deprecated": "This token will be removed in release 6.0.0",
|
|
33
|
+
"$value": "{ams.space.s}",
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"nl.amsterdam.subtype": "space"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
10
39
|
"inverse": {
|
|
11
|
-
"color": {
|
|
40
|
+
"color": {
|
|
41
|
+
"$value": "{ams.color.text.inverse}",
|
|
42
|
+
"$type": "color"
|
|
43
|
+
}
|
|
12
44
|
},
|
|
13
45
|
"term": {
|
|
14
|
-
"font-weight": {
|
|
46
|
+
"font-weight": {
|
|
47
|
+
"$value": "{ams.typography.body-text.bold.font-weight}",
|
|
48
|
+
"$type": "fontWeight"
|
|
49
|
+
},
|
|
50
|
+
"margin-block-end": {
|
|
51
|
+
"$value": "{ams.space.xs}",
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$extensions": {
|
|
54
|
+
"nl.amsterdam.subtype": "space"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
15
57
|
},
|
|
16
58
|
"description": {
|
|
17
|
-
"font-weight": {
|
|
18
|
-
|
|
59
|
+
"font-weight": {
|
|
60
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
61
|
+
"$type": "fontWeight"
|
|
62
|
+
},
|
|
63
|
+
"margin-block-end": {
|
|
64
|
+
"$value": "{ams.space.m}",
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"nl.amsterdam.subtype": "space"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"padding-inline-start": {
|
|
71
|
+
"$value": "0",
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"nl.amsterdam.subtype": "space"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"section": {
|
|
79
|
+
"margin-block-end": {
|
|
80
|
+
"$value": "{ams.space.m}",
|
|
81
|
+
"$type": "dimension",
|
|
82
|
+
"$extensions": {
|
|
83
|
+
"nl.amsterdam.subtype": "space"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
19
86
|
},
|
|
20
87
|
"narrow": {
|
|
21
|
-
"grid-template-columns": {
|
|
88
|
+
"grid-template-columns": {
|
|
89
|
+
"$value": "1fr 4fr"
|
|
90
|
+
}
|
|
22
91
|
},
|
|
23
92
|
"medium": {
|
|
24
|
-
"grid-template-columns": {
|
|
93
|
+
"grid-template-columns": {
|
|
94
|
+
"$value": "1fr 2fr"
|
|
95
|
+
}
|
|
25
96
|
},
|
|
26
97
|
"wide": {
|
|
27
|
-
"grid-template-columns": {
|
|
98
|
+
"grid-template-columns": {
|
|
99
|
+
"$value": "1fr 1fr"
|
|
100
|
+
}
|
|
28
101
|
}
|
|
29
102
|
}
|
|
30
103
|
}
|