@amsterdam/design-system-tokens 3.0.0 → 3.1.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.
@@ -0,0 +1,255 @@
1
+ {
2
+ "ams": {
3
+ "progress-list": {
4
+ "heading-2": {
5
+ "step": {
6
+ "marker": {
7
+ "block-size": {
8
+ "value": "calc({ams.typography.heading.2.font-size} * {ams.typography.heading.2.line-height})"
9
+ },
10
+ "margin-block-start": {
11
+ "value": "calc(({ams.typography.heading.2.line-height} * {ams.typography.heading.2.font-size}) / 2)"
12
+ }
13
+ }
14
+ }
15
+ },
16
+ "heading-3": {
17
+ "step": {
18
+ "marker": {
19
+ "block-size": {
20
+ "value": "calc({ams.typography.heading.3.font-size} * {ams.typography.heading.3.line-height})"
21
+ },
22
+ "margin-block-start": {
23
+ "value": "calc(({ams.typography.heading.3.line-height} * {ams.typography.heading.3.font-size}) / 2)"
24
+ }
25
+ }
26
+ }
27
+ },
28
+ "heading-4": {
29
+ "step": {
30
+ "marker": {
31
+ "block-size": {
32
+ "value": "calc({ams.typography.heading.4.font-size} * {ams.typography.heading.4.line-height})"
33
+ },
34
+ "margin-block-start": {
35
+ "value": "calc(({ams.typography.heading.4.line-height} * {ams.typography.heading.4.font-size}) / 2)"
36
+ }
37
+ }
38
+ }
39
+ },
40
+ "step": {
41
+ "gap": {
42
+ "value": "{ams.space.m}"
43
+ },
44
+ "medium": {
45
+ "gap": {
46
+ "value": "{ams.space.l}"
47
+ }
48
+ },
49
+ "marker": {
50
+ "shape": {
51
+ "block-size": {
52
+ "value": "1.5rem"
53
+ },
54
+ "background-color": {
55
+ "value": "{ams.color.background}"
56
+ },
57
+ "border-color": {
58
+ "value": "{ams.color.progress.upcoming}"
59
+ },
60
+ "border-style": {
61
+ "value": "solid"
62
+ },
63
+ "border-width": {
64
+ "value": "{ams.border.width.m}"
65
+ },
66
+ "outline-color": {
67
+ "value": "{ams.color.background}"
68
+ },
69
+ "outline-style": {
70
+ "value": "solid"
71
+ },
72
+ "outline-width": {
73
+ "value": "{ams.border.width.m}"
74
+ }
75
+ }
76
+ },
77
+ "connector": {
78
+ "border-inline-color": {
79
+ "value": "{ams.color.progress.upcoming}"
80
+ },
81
+ "border-inline-style": {
82
+ "value": "dashed"
83
+ },
84
+ "border-inline-width": {
85
+ "value": "1px"
86
+ }
87
+ },
88
+ "heading": {
89
+ "margin-block-end": {
90
+ "value": "{ams.space.s}"
91
+ }
92
+ },
93
+ "content": {
94
+ "margin-block-end": {
95
+ "value": "{ams.space.l}"
96
+ }
97
+ },
98
+ "completed": {
99
+ "marker": {
100
+ "shape": {
101
+ "background-color": {
102
+ "value": "{ams.color.progress.completed}"
103
+ },
104
+ "border-color": {
105
+ "value": "{ams.color.progress.completed}"
106
+ }
107
+ }
108
+ },
109
+ "connector": {
110
+ "border-inline-color": {
111
+ "value": "{ams.color.progress.completed}"
112
+ },
113
+ "border-inline-style": {
114
+ "value": "solid"
115
+ }
116
+ }
117
+ },
118
+ "current": {
119
+ "marker": {
120
+ "shape": {
121
+ "background-color": {
122
+ "value": "{ams.color.progress.current}"
123
+ },
124
+ "border-color": {
125
+ "value": "{ams.color.progress.current}"
126
+ }
127
+ }
128
+ },
129
+ "connector": {
130
+ "border-inline-color": {
131
+ "value": "{ams.color.progress.current}"
132
+ }
133
+ }
134
+ }
135
+ },
136
+ "substeps": {
137
+ "padding-block-start": {
138
+ "value": "{ams.space.m}"
139
+ },
140
+ "step": {
141
+ "indicator": {
142
+ "margin-inline-end": {
143
+ "value": "{ams.space.m}"
144
+ },
145
+ "medium": {
146
+ "margin-inline-end": {
147
+ "value": "{ams.space.l}"
148
+ }
149
+ }
150
+ },
151
+ "marker": {
152
+ "block-size": {
153
+ "value": "calc({ams.typography.body-text.font-size} * {ams.typography.body-text.line-height})"
154
+ },
155
+ "inline-size": {
156
+ "value": "{ams.progress-list.step.marker.shape.block-size}"
157
+ },
158
+ "shape": {
159
+ "block-size": {
160
+ "value": "0.75rem"
161
+ },
162
+ "background-color": {
163
+ "value": "{ams.color.background}"
164
+ },
165
+ "border-color": {
166
+ "value": "{ams.color.progress.upcoming}"
167
+ },
168
+ "border-style": {
169
+ "value": "solid"
170
+ },
171
+ "border-width": {
172
+ "value": "{ams.border.width.m}"
173
+ },
174
+ "outline-color": {
175
+ "value": "{ams.color.background}"
176
+ },
177
+ "outline-style": {
178
+ "value": "solid"
179
+ },
180
+ "outline-width": {
181
+ "value": "{ams.border.width.m}"
182
+ }
183
+ }
184
+ },
185
+ "connector": {
186
+ "background-color": {
187
+ "value": "{ams.color.background}"
188
+ },
189
+ "border-inline-color": {
190
+ "value": "{ams.color.progress.upcoming}"
191
+ },
192
+ "border-inline-style": {
193
+ "value": "dashed"
194
+ },
195
+ "border-inline-width": {
196
+ "value": "1px"
197
+ },
198
+ "margin-block-start": {
199
+ "value": "calc({ams.typography.body-text.font-size} * {ams.typography.body-text.line-height} / 2)"
200
+ },
201
+ "last-child": {
202
+ "border-inline-color": {
203
+ "value": "{ams.color.background}"
204
+ }
205
+ }
206
+ },
207
+ "content": {
208
+ "margin-block-end": {
209
+ "value": "{ams.space.m}"
210
+ }
211
+ },
212
+ "completed": {
213
+ "marker": {
214
+ "shape": {
215
+ "background-color": {
216
+ "value": "{ams.color.progress.completed}"
217
+ },
218
+ "border-color": {
219
+ "value": "{ams.color.progress.completed}"
220
+ }
221
+ }
222
+ },
223
+ "connector": {
224
+ "border-inline-color": {
225
+ "value": "{ams.color.progress.completed}"
226
+ },
227
+ "border-inline-style": {
228
+ "value": "solid"
229
+ }
230
+ }
231
+ },
232
+ "current": {
233
+ "marker": {
234
+ "shape": {
235
+ "background-color": {
236
+ "value": "{ams.color.progress.current}"
237
+ },
238
+ "border-color": {
239
+ "value": "{ams.color.progress.current}"
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "last-child": {
246
+ "content": {
247
+ "margin-block-end": {
248
+ "value": "{ams.space.l}"
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
@@ -2,6 +2,12 @@
2
2
  "ams": {
3
3
  "time-input": {
4
4
  "disabled": {
5
+ "calendar-picker-indicator": {
6
+ "comment": "This token will be removed in release 6.0.0",
7
+ "background-image": {
8
+ "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")"
9
+ }
10
+ },
5
11
  "calender-picker-indicator": {
6
12
  "background-image": {
7
13
  "comment": "Use the token with ‘calendar’ spelled correctly instead",
@@ -15,12 +15,7 @@
15
15
  "padding-inline": { "value": "{ams.inputs.padding-inline}" },
16
16
  "disabled": {
17
17
  "color": { "value": "{ams.inputs.disabled.color}" },
18
- "cursor": { "value": "{ams.cursor.disabled}" },
19
- "calendar-picker-indicator": {
20
- "background-image": {
21
- "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23767676'><path d='M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm.9 28v-2h-2v1.9A11.8 11.8 0 0 1 4.1 17H6v-2H4.1A11.8 11.8 0 0 1 15 4.1V6h2V4.1A11.8 11.8 0 0 1 27.9 15H26v2h1.9a11.9 11.9 0 0 1-11 11zm.1-13h4v2h-6V9h2v6z'/></svg>\")"
22
- }
23
- }
18
+ "cursor": { "value": "{ams.cursor.disabled}" }
24
19
  },
25
20
  "hover": {
26
21
  "box-shadow": { "value": "{ams.inputs.hover.box-shadow}" },