@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,60 +1,202 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"button": {
|
|
4
|
-
"border-style": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"border-style": {
|
|
5
|
+
"$value": "solid",
|
|
6
|
+
"$extensions": {
|
|
7
|
+
"nl.amsterdam.type": "borderStyle"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"border-width": {
|
|
11
|
+
"$value": "{ams.border.width.m}",
|
|
12
|
+
"$extensions": {
|
|
13
|
+
"nl.amsterdam.type": "borderWidth"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"cursor": {
|
|
17
|
+
"$value": "{ams.cursor.interactive}"
|
|
18
|
+
},
|
|
19
|
+
"font-family": {
|
|
20
|
+
"$value": "{ams.typography.font-family}",
|
|
21
|
+
"$type": "fontFamily"
|
|
22
|
+
},
|
|
23
|
+
"font-size": {
|
|
24
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
25
|
+
"$extensions": {
|
|
26
|
+
"nl.amsterdam.type": "fontSize"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"font-weight": {
|
|
30
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
31
|
+
"$type": "fontWeight"
|
|
32
|
+
},
|
|
33
|
+
"line-height": {
|
|
34
|
+
"$value": "{ams.inputs.line-height}",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"nl.amsterdam.type": "lineHeight"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"gap": {
|
|
40
|
+
"$value": "{ams.space.s}",
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"nl.amsterdam.subtype": "space"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"outline-offset": {
|
|
47
|
+
"$value": "{ams.focus.outline-offset}",
|
|
48
|
+
"$type": "dimension",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"nl.amsterdam.subtype": "space"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"padding-block": {
|
|
54
|
+
"$value": "{ams.space.s}",
|
|
55
|
+
"$type": "dimension",
|
|
56
|
+
"$extensions": {
|
|
57
|
+
"nl.amsterdam.subtype": "space"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"padding-inline": {
|
|
61
|
+
"$value": "{ams.space.m}",
|
|
62
|
+
"$type": "dimension",
|
|
63
|
+
"$extensions": {
|
|
64
|
+
"nl.amsterdam.subtype": "space"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
15
67
|
"disabled": {
|
|
16
|
-
"cursor": {
|
|
68
|
+
"cursor": {
|
|
69
|
+
"$value": "{ams.cursor.disabled}"
|
|
70
|
+
}
|
|
17
71
|
},
|
|
18
72
|
"icon-only": {
|
|
19
|
-
"padding-block": {
|
|
20
|
-
|
|
73
|
+
"padding-block": {
|
|
74
|
+
"$value": "{ams.space.s}",
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$extensions": {
|
|
77
|
+
"nl.amsterdam.subtype": "space"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"padding-inline": {
|
|
81
|
+
"$value": "{ams.space.s}",
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$extensions": {
|
|
84
|
+
"nl.amsterdam.subtype": "space"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
21
87
|
},
|
|
22
88
|
"primary": {
|
|
23
|
-
"background-color": {
|
|
24
|
-
|
|
25
|
-
|
|
89
|
+
"background-color": {
|
|
90
|
+
"$value": "{ams.color.interactive.default}",
|
|
91
|
+
"$type": "color"
|
|
92
|
+
},
|
|
93
|
+
"border-color": {
|
|
94
|
+
"$value": "{ams.color.interactive.default}",
|
|
95
|
+
"$type": "color"
|
|
96
|
+
},
|
|
97
|
+
"color": {
|
|
98
|
+
"$value": "{ams.color.text.inverse}",
|
|
99
|
+
"$type": "color"
|
|
100
|
+
},
|
|
26
101
|
"disabled": {
|
|
27
|
-
"background-color": {
|
|
28
|
-
|
|
102
|
+
"background-color": {
|
|
103
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
104
|
+
"$type": "color"
|
|
105
|
+
},
|
|
106
|
+
"border-color": {
|
|
107
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
108
|
+
"$type": "color"
|
|
109
|
+
}
|
|
29
110
|
},
|
|
30
111
|
"hover": {
|
|
31
|
-
"background-color": {
|
|
32
|
-
|
|
112
|
+
"background-color": {
|
|
113
|
+
"$value": "{ams.color.interactive.hover}",
|
|
114
|
+
"$type": "color"
|
|
115
|
+
},
|
|
116
|
+
"border-color": {
|
|
117
|
+
"$value": "{ams.color.interactive.hover}",
|
|
118
|
+
"$type": "color"
|
|
119
|
+
}
|
|
33
120
|
}
|
|
34
121
|
},
|
|
35
122
|
"secondary": {
|
|
36
|
-
"background-color": {
|
|
37
|
-
|
|
38
|
-
|
|
123
|
+
"background-color": {
|
|
124
|
+
"$value": "{ams.color.background}",
|
|
125
|
+
"$type": "color"
|
|
126
|
+
},
|
|
127
|
+
"border-color": {
|
|
128
|
+
"$value": "currentColor",
|
|
129
|
+
"$type": "color"
|
|
130
|
+
},
|
|
131
|
+
"color": {
|
|
132
|
+
"$value": "{ams.color.interactive.default}",
|
|
133
|
+
"$type": "color"
|
|
134
|
+
},
|
|
39
135
|
"disabled": {
|
|
40
|
-
"border-color": {
|
|
41
|
-
|
|
136
|
+
"border-color": {
|
|
137
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
138
|
+
"$type": "color"
|
|
139
|
+
},
|
|
140
|
+
"color": {
|
|
141
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
142
|
+
"$type": "color"
|
|
143
|
+
}
|
|
42
144
|
},
|
|
43
145
|
"hover": {
|
|
44
|
-
"box-shadow": {
|
|
45
|
-
|
|
146
|
+
"box-shadow": {
|
|
147
|
+
"$type": "shadow",
|
|
148
|
+
"$value": {
|
|
149
|
+
"inset": true,
|
|
150
|
+
"offsetX": {
|
|
151
|
+
"value": 0,
|
|
152
|
+
"unit": "rem"
|
|
153
|
+
},
|
|
154
|
+
"offsetY": {
|
|
155
|
+
"value": 0,
|
|
156
|
+
"unit": "rem"
|
|
157
|
+
},
|
|
158
|
+
"blur": {
|
|
159
|
+
"value": 0,
|
|
160
|
+
"unit": "rem"
|
|
161
|
+
},
|
|
162
|
+
"spread": "{ams.border.width.s}",
|
|
163
|
+
"color": "currentColor"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"color": {
|
|
167
|
+
"$value": "{ams.color.interactive.hover}",
|
|
168
|
+
"$type": "color"
|
|
169
|
+
}
|
|
46
170
|
}
|
|
47
171
|
},
|
|
48
172
|
"tertiary": {
|
|
49
|
-
"background-color": {
|
|
50
|
-
|
|
51
|
-
|
|
173
|
+
"background-color": {
|
|
174
|
+
"$value": "transparent",
|
|
175
|
+
"$type": "color"
|
|
176
|
+
},
|
|
177
|
+
"border-color": {
|
|
178
|
+
"$value": "transparent",
|
|
179
|
+
"$type": "color"
|
|
180
|
+
},
|
|
181
|
+
"color": {
|
|
182
|
+
"$value": "{ams.color.interactive.default}",
|
|
183
|
+
"$type": "color"
|
|
184
|
+
},
|
|
52
185
|
"disabled": {
|
|
53
|
-
"color": {
|
|
186
|
+
"color": {
|
|
187
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
188
|
+
"$type": "color"
|
|
189
|
+
}
|
|
54
190
|
},
|
|
55
191
|
"hover": {
|
|
56
|
-
"border-color": {
|
|
57
|
-
|
|
192
|
+
"border-color": {
|
|
193
|
+
"$value": "currentColor",
|
|
194
|
+
"$type": "color"
|
|
195
|
+
},
|
|
196
|
+
"color": {
|
|
197
|
+
"$value": "{ams.color.interactive.hover}",
|
|
198
|
+
"$type": "color"
|
|
199
|
+
}
|
|
58
200
|
}
|
|
59
201
|
}
|
|
60
202
|
}
|
|
@@ -1,23 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"call-to-action-link": {
|
|
4
|
-
"background-color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "#00893c",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"color": {
|
|
9
|
+
"$value": "{ams.color.text.inverse}",
|
|
10
|
+
"$type": "color"
|
|
11
|
+
},
|
|
12
|
+
"font-family": {
|
|
13
|
+
"$value": "{ams.typography.font-family}",
|
|
14
|
+
"$type": "fontFamily"
|
|
15
|
+
},
|
|
16
|
+
"font-size": {
|
|
17
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"nl.amsterdam.type": "fontSize"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"font-weight": {
|
|
23
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
24
|
+
"$type": "fontWeight"
|
|
25
|
+
},
|
|
26
|
+
"line-height": {
|
|
27
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"nl.amsterdam.type": "lineHeight"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"outline-offset": {
|
|
33
|
+
"$value": "{ams.focus.outline-offset}",
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"nl.amsterdam.subtype": "space"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"padding-block": {
|
|
40
|
+
"$value": "{ams.space.xs}",
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"nl.amsterdam.subtype": "space"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"padding-inline": {
|
|
47
|
+
"$value": "{ams.space.m}",
|
|
48
|
+
"$type": "dimension",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"nl.amsterdam.subtype": "space"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"text-decoration-thickness": {
|
|
54
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
55
|
+
"$type": "dimension"
|
|
56
|
+
},
|
|
57
|
+
"text-underline-offset": {
|
|
58
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"nl.amsterdam.subtype": "space"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
15
64
|
"hover": {
|
|
16
|
-
"background-color": {
|
|
65
|
+
"background-color": {
|
|
66
|
+
"$value": "#10552b",
|
|
67
|
+
"$type": "color"
|
|
68
|
+
},
|
|
17
69
|
"text-decoration-thickness": {
|
|
18
|
-
"value": "{ams.links.hover.text-decoration-thickness}"
|
|
70
|
+
"$value": "{ams.links.hover.text-decoration-thickness}",
|
|
71
|
+
"$type": "dimension"
|
|
19
72
|
},
|
|
20
|
-
"text-underline-offset": {
|
|
73
|
+
"text-underline-offset": {
|
|
74
|
+
"$value": "{ams.links.hover.text-underline-offset}",
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$extensions": {
|
|
77
|
+
"nl.amsterdam.subtype": "space"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
21
80
|
}
|
|
22
81
|
}
|
|
23
82
|
}
|
|
@@ -2,26 +2,75 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"card": {
|
|
4
4
|
"heading": {
|
|
5
|
-
"margin-block-end": {
|
|
5
|
+
"margin-block-end": {
|
|
6
|
+
"$value": "{ams.space.xs}",
|
|
7
|
+
"$type": "dimension",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"nl.amsterdam.subtype": "space"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
6
12
|
},
|
|
7
13
|
"heading-group": {
|
|
8
|
-
"gap": {
|
|
9
|
-
|
|
14
|
+
"gap": {
|
|
15
|
+
"$value": "{ams.space.xs}",
|
|
16
|
+
"$type": "dimension",
|
|
17
|
+
"$extensions": {
|
|
18
|
+
"nl.amsterdam.subtype": "space"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"margin-block-end": {
|
|
22
|
+
"$value": "{ams.space.xs}",
|
|
23
|
+
"$type": "dimension",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"nl.amsterdam.subtype": "space"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
10
28
|
},
|
|
11
29
|
"image": {
|
|
12
|
-
"margin-block-end": {
|
|
30
|
+
"margin-block-end": {
|
|
31
|
+
"$value": "{ams.space.s}",
|
|
32
|
+
"$type": "dimension",
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"nl.amsterdam.subtype": "space"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
13
37
|
},
|
|
14
38
|
"link": {
|
|
15
|
-
"color": {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
39
|
+
"color": {
|
|
40
|
+
"$value": "{ams.links.color}",
|
|
41
|
+
"$type": "color"
|
|
42
|
+
},
|
|
43
|
+
"text-decoration-line": {
|
|
44
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
45
|
+
},
|
|
46
|
+
"text-decoration-thickness": {
|
|
47
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
48
|
+
"$type": "dimension"
|
|
49
|
+
},
|
|
50
|
+
"text-underline-offset": {
|
|
51
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$extensions": {
|
|
54
|
+
"nl.amsterdam.subtype": "space"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
19
57
|
"hover": {
|
|
20
|
-
"color": {
|
|
21
|
-
|
|
58
|
+
"color": {
|
|
59
|
+
"$value": "{ams.links.hover.color}",
|
|
60
|
+
"$type": "color"
|
|
61
|
+
},
|
|
62
|
+
"text-decoration-line": {
|
|
63
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
64
|
+
}
|
|
22
65
|
}
|
|
23
66
|
},
|
|
24
|
-
"outline-offset": {
|
|
67
|
+
"outline-offset": {
|
|
68
|
+
"$value": "{ams.focus.outline-offset}",
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$extensions": {
|
|
71
|
+
"nl.amsterdam.subtype": "space"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
25
74
|
}
|
|
26
75
|
}
|
|
27
76
|
}
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"character-count": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
4
|
+
"color": {
|
|
5
|
+
"$value": "{ams.color.text.default}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"font-family": {
|
|
9
|
+
"$value": "{ams.typography.font-family}",
|
|
10
|
+
"$type": "fontFamily"
|
|
11
|
+
},
|
|
12
|
+
"font-size": {
|
|
13
|
+
"$value": "{ams.typography.body-text.small.font-size}",
|
|
14
|
+
"$extensions": {
|
|
15
|
+
"nl.amsterdam.type": "fontSize"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"font-weight": {
|
|
19
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
20
|
+
"$type": "fontWeight"
|
|
21
|
+
},
|
|
22
|
+
"line-height": {
|
|
23
|
+
"$value": "{ams.typography.body-text.small.line-height}",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"nl.amsterdam.type": "lineHeight"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
9
28
|
"error": {
|
|
10
|
-
"color": {
|
|
29
|
+
"color": {
|
|
30
|
+
"$value": "{ams.color.feedback.error}",
|
|
31
|
+
"$type": "color"
|
|
32
|
+
}
|
|
11
33
|
}
|
|
12
34
|
}
|
|
13
35
|
}
|
|
@@ -3,37 +3,53 @@
|
|
|
3
3
|
"checkbox": {
|
|
4
4
|
"hover": {
|
|
5
5
|
"text-decoration-thickness": {
|
|
6
|
-
"
|
|
7
|
-
"value": "{ams.border.width.m}"
|
|
6
|
+
"$deprecated": "Use `ams.checkbox.text-decoration-thickness` instead",
|
|
7
|
+
"$value": "{ams.border.width.m}",
|
|
8
|
+
"$type": "dimension"
|
|
8
9
|
}
|
|
9
10
|
},
|
|
10
11
|
"rectangle": {
|
|
11
12
|
"checked": {
|
|
12
13
|
"disabled": {
|
|
13
14
|
"hover": {
|
|
14
|
-
"fill": {
|
|
15
|
+
"fill": {
|
|
16
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
17
|
+
"$type": "color"
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
21
|
"hover": {
|
|
18
22
|
"disabled-invalid": {
|
|
19
|
-
"fill": {
|
|
23
|
+
"fill": {
|
|
24
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
25
|
+
"$type": "color"
|
|
26
|
+
}
|
|
20
27
|
}
|
|
21
28
|
}
|
|
22
29
|
},
|
|
23
30
|
"hover": {
|
|
24
31
|
"disabled-invalid": {
|
|
25
|
-
"stroke": {
|
|
32
|
+
"stroke": {
|
|
33
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
34
|
+
"$type": "color"
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
},
|
|
28
38
|
"indeterminate": {
|
|
29
39
|
"disabled": {
|
|
30
40
|
"hover": {
|
|
31
|
-
"fill": {
|
|
41
|
+
"fill": {
|
|
42
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
43
|
+
"$type": "color"
|
|
44
|
+
}
|
|
32
45
|
}
|
|
33
46
|
},
|
|
34
47
|
"hover": {
|
|
35
48
|
"disabled-invalid": {
|
|
36
|
-
"fill": {
|
|
49
|
+
"fill": {
|
|
50
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
51
|
+
"$type": "color"
|
|
52
|
+
}
|
|
37
53
|
}
|
|
38
54
|
}
|
|
39
55
|
}
|