@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,23 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"image-slider": {
|
|
4
|
-
"gap": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$value": "{ams.space.xs}",
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$extensions": {
|
|
8
|
+
"nl.amsterdam.subtype": "space"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
5
11
|
"scroller": {
|
|
6
|
-
"gap": {
|
|
7
|
-
|
|
12
|
+
"gap": {
|
|
13
|
+
"$value": "{ams.space.xs}",
|
|
14
|
+
"$type": "dimension",
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"nl.amsterdam.subtype": "space"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"outline-offset": {
|
|
20
|
+
"$value": "{ams.focus.outline-offset}",
|
|
21
|
+
"$type": "dimension",
|
|
22
|
+
"$extensions": {
|
|
23
|
+
"nl.amsterdam.subtype": "space"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
8
26
|
},
|
|
9
27
|
"thumbnails": {
|
|
10
|
-
"gap": {
|
|
28
|
+
"gap": {
|
|
29
|
+
"$value": "{ams.space.xs}",
|
|
30
|
+
"$type": "dimension",
|
|
31
|
+
"$extensions": {
|
|
32
|
+
"nl.amsterdam.subtype": "space"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
11
35
|
"thumbnail": {
|
|
12
|
-
"background-color": {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
36
|
+
"background-color": {
|
|
37
|
+
"$value": "transparent",
|
|
38
|
+
"$type": "color"
|
|
39
|
+
},
|
|
40
|
+
"cursor": {
|
|
41
|
+
"$value": "{ams.cursor.interactive}"
|
|
42
|
+
},
|
|
43
|
+
"opacity": {
|
|
44
|
+
"$value": "40%"
|
|
45
|
+
},
|
|
46
|
+
"outline-offset": {
|
|
47
|
+
"$value": "{ams.focus.outline-offset}",
|
|
48
|
+
"$type": "dimension",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"nl.amsterdam.subtype": "space"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
16
53
|
"in-view": {
|
|
17
|
-
"opacity": {
|
|
54
|
+
"opacity": {
|
|
55
|
+
"$value": "100%"
|
|
56
|
+
}
|
|
18
57
|
},
|
|
19
58
|
"hover": {
|
|
20
|
-
"opacity": {
|
|
59
|
+
"opacity": {
|
|
60
|
+
"$value": "100%"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"figure": {
|
|
66
|
+
"margin-block-end": {
|
|
67
|
+
"$value": "{ams.space.m}",
|
|
68
|
+
"$type": "dimension",
|
|
69
|
+
"$extensions": {
|
|
70
|
+
"nl.amsterdam.subtype": "space"
|
|
21
71
|
}
|
|
22
72
|
}
|
|
23
73
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"invalid-form-alert": {
|
|
4
|
-
"outline-offset": {
|
|
4
|
+
"outline-offset": {
|
|
5
|
+
"$value": "{ams.focus.outline-offset}",
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$extensions": {
|
|
8
|
+
"nl.amsterdam.subtype": "space"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
5
11
|
}
|
|
6
12
|
}
|
|
7
13
|
}
|
|
@@ -1,14 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"label": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
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.heading.3.font-size}",
|
|
14
|
+
"$extensions": {
|
|
15
|
+
"nl.amsterdam.type": "fontSize"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"font-weight": {
|
|
19
|
+
"$value": "{ams.typography.heading.font-weight}",
|
|
20
|
+
"$type": "fontWeight"
|
|
21
|
+
},
|
|
22
|
+
"line-height": {
|
|
23
|
+
"$value": "{ams.typography.heading.3.line-height}",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"nl.amsterdam.type": "lineHeight"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"text-wrap": {
|
|
29
|
+
"$value": "{ams.typography.heading.text-wrap}"
|
|
30
|
+
},
|
|
10
31
|
"in-fieldset": {
|
|
11
|
-
"font-weight": {
|
|
32
|
+
"font-weight": {
|
|
33
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
34
|
+
"$type": "fontWeight"
|
|
35
|
+
}
|
|
12
36
|
}
|
|
13
37
|
}
|
|
14
38
|
}
|
|
@@ -1,40 +1,125 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"link-list": {
|
|
4
|
-
"gap": {
|
|
4
|
+
"gap": {
|
|
5
|
+
"$value": "{ams.space.s}",
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$extensions": {
|
|
8
|
+
"nl.amsterdam.subtype": "space"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
5
11
|
"link": {
|
|
6
|
-
"color": {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
12
|
+
"color": {
|
|
13
|
+
"$value": "{ams.links.color}",
|
|
14
|
+
"$type": "color"
|
|
15
|
+
},
|
|
16
|
+
"font-family": {
|
|
17
|
+
"$value": "{ams.typography.font-family}",
|
|
18
|
+
"$type": "fontFamily"
|
|
19
|
+
},
|
|
20
|
+
"font-size": {
|
|
21
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
22
|
+
"$extensions": {
|
|
23
|
+
"nl.amsterdam.type": "fontSize"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"font-weight": {
|
|
27
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
28
|
+
"$type": "fontWeight"
|
|
29
|
+
},
|
|
30
|
+
"gap": {
|
|
31
|
+
"$value": "{ams.space.s}",
|
|
32
|
+
"$type": "dimension",
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"nl.amsterdam.subtype": "space"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"line-height": {
|
|
38
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
39
|
+
"$extensions": {
|
|
40
|
+
"nl.amsterdam.type": "lineHeight"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"outline-offset": {
|
|
44
|
+
"$value": "{ams.focus.outline-offset}",
|
|
45
|
+
"$type": "dimension",
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"nl.amsterdam.subtype": "space"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"text-decoration-line": {
|
|
51
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
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
|
+
},
|
|
16
64
|
"small": {
|
|
17
|
-
"font-size": {
|
|
18
|
-
|
|
65
|
+
"font-size": {
|
|
66
|
+
"$value": "{ams.typography.body-text.small.font-size}",
|
|
67
|
+
"$extensions": {
|
|
68
|
+
"nl.amsterdam.type": "fontSize"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"line-height": {
|
|
72
|
+
"$value": "{ams.typography.body-text.small.line-height}",
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"nl.amsterdam.type": "lineHeight"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
19
77
|
},
|
|
20
78
|
"large": {
|
|
21
|
-
"font-size": {
|
|
22
|
-
|
|
79
|
+
"font-size": {
|
|
80
|
+
"$value": "{ams.typography.body-text.large.font-size}",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"nl.amsterdam.type": "fontSize"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"line-height": {
|
|
86
|
+
"$value": "{ams.typography.body-text.large.line-height}",
|
|
87
|
+
"$extensions": {
|
|
88
|
+
"nl.amsterdam.type": "lineHeight"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
23
91
|
},
|
|
24
92
|
"hover": {
|
|
25
|
-
"color": {
|
|
26
|
-
|
|
93
|
+
"color": {
|
|
94
|
+
"$value": "{ams.links.hover.color}",
|
|
95
|
+
"$type": "color"
|
|
96
|
+
},
|
|
97
|
+
"text-decoration-line": {
|
|
98
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
99
|
+
}
|
|
27
100
|
},
|
|
28
101
|
"contrast": {
|
|
29
|
-
"color": {
|
|
102
|
+
"color": {
|
|
103
|
+
"$value": "{ams.links.contrast.color}",
|
|
104
|
+
"$type": "color"
|
|
105
|
+
},
|
|
30
106
|
"hover": {
|
|
31
|
-
"color": {
|
|
107
|
+
"color": {
|
|
108
|
+
"$value": "{ams.links.contrast.hover.color}",
|
|
109
|
+
"$type": "color"
|
|
110
|
+
}
|
|
32
111
|
}
|
|
33
112
|
},
|
|
34
113
|
"inverse": {
|
|
35
|
-
"color": {
|
|
114
|
+
"color": {
|
|
115
|
+
"$value": "{ams.links.inverse.color}",
|
|
116
|
+
"$type": "color"
|
|
117
|
+
},
|
|
36
118
|
"hover": {
|
|
37
|
-
"color": {
|
|
119
|
+
"color": {
|
|
120
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
121
|
+
"$type": "color"
|
|
122
|
+
}
|
|
38
123
|
}
|
|
39
124
|
}
|
|
40
125
|
}
|
|
@@ -1,29 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"link": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
"color": {
|
|
5
|
+
"$value": "{ams.links.color}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"font-family": {
|
|
9
|
+
"$value": "inherit",
|
|
10
|
+
"$type": "fontFamily"
|
|
11
|
+
},
|
|
12
|
+
"font-size": {
|
|
13
|
+
"$value": "inherit",
|
|
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": "inherit",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"nl.amsterdam.type": "lineHeight"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"outline-offset": {
|
|
29
|
+
"$value": "{ams.focus.outline-offset}",
|
|
30
|
+
"$type": "dimension",
|
|
31
|
+
"$extensions": {
|
|
32
|
+
"nl.amsterdam.subtype": "space"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"text-decoration-thickness": {
|
|
36
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
37
|
+
"$type": "dimension"
|
|
38
|
+
},
|
|
39
|
+
"text-underline-offset": {
|
|
40
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"nl.amsterdam.subtype": "space"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
12
46
|
"hover": {
|
|
13
|
-
"color": {
|
|
14
|
-
|
|
15
|
-
|
|
47
|
+
"color": {
|
|
48
|
+
"$value": "{ams.links.hover.color}",
|
|
49
|
+
"$type": "color"
|
|
50
|
+
},
|
|
51
|
+
"text-decoration-thickness": {
|
|
52
|
+
"$value": "{ams.links.hover.text-decoration-thickness}",
|
|
53
|
+
"$type": "dimension"
|
|
54
|
+
},
|
|
55
|
+
"text-underline-offset": {
|
|
56
|
+
"$value": "{ams.links.hover.text-underline-offset}",
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"nl.amsterdam.subtype": "space"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
16
62
|
},
|
|
17
63
|
"contrast": {
|
|
18
|
-
"color": {
|
|
64
|
+
"color": {
|
|
65
|
+
"$value": "{ams.links.contrast.color}",
|
|
66
|
+
"$type": "color"
|
|
67
|
+
},
|
|
19
68
|
"hover": {
|
|
20
|
-
"color": {
|
|
69
|
+
"color": {
|
|
70
|
+
"$value": "{ams.links.contrast.hover.color}",
|
|
71
|
+
"$type": "color"
|
|
72
|
+
}
|
|
21
73
|
}
|
|
22
74
|
},
|
|
23
75
|
"inverse": {
|
|
24
|
-
"color": {
|
|
76
|
+
"color": {
|
|
77
|
+
"$value": "{ams.links.inverse.color}",
|
|
78
|
+
"$type": "color"
|
|
79
|
+
},
|
|
25
80
|
"hover": {
|
|
26
|
-
"color": {
|
|
81
|
+
"color": {
|
|
82
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
83
|
+
"$type": "color"
|
|
84
|
+
}
|
|
27
85
|
}
|
|
28
86
|
}
|
|
29
87
|
}
|
|
@@ -1,16 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"logo": {
|
|
4
|
-
"block-size": {
|
|
5
|
-
|
|
4
|
+
"block-size": {
|
|
5
|
+
"$value": "{ams.space.xl}",
|
|
6
|
+
"$type": "dimension"
|
|
7
|
+
},
|
|
8
|
+
"min-block-size": {
|
|
9
|
+
"$value": {
|
|
10
|
+
"value": 2.5,
|
|
11
|
+
"unit": "rem"
|
|
12
|
+
},
|
|
13
|
+
"$type": "dimension"
|
|
14
|
+
},
|
|
6
15
|
"emblem": {
|
|
7
|
-
"color": {
|
|
16
|
+
"color": {
|
|
17
|
+
"$value": "#ec0000",
|
|
18
|
+
"$type": "color"
|
|
19
|
+
}
|
|
8
20
|
},
|
|
9
21
|
"subsite": {
|
|
10
|
-
"color": {
|
|
22
|
+
"color": {
|
|
23
|
+
"$value": "{ams.color.text.default}",
|
|
24
|
+
"$type": "color"
|
|
25
|
+
}
|
|
11
26
|
},
|
|
12
27
|
"title": {
|
|
13
|
-
"color": {
|
|
28
|
+
"color": {
|
|
29
|
+
"$value": "#ec0000",
|
|
30
|
+
"$type": "color"
|
|
31
|
+
}
|
|
14
32
|
}
|
|
15
33
|
}
|
|
16
34
|
}
|
|
@@ -4,25 +4,29 @@
|
|
|
4
4
|
"link": {
|
|
5
5
|
"contrast": {
|
|
6
6
|
"color": {
|
|
7
|
-
"
|
|
8
|
-
"value": "{ams.links.contrast.color}"
|
|
7
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed.",
|
|
8
|
+
"$value": "{ams.links.contrast.color}",
|
|
9
|
+
"$type": "color"
|
|
9
10
|
},
|
|
10
11
|
"hover": {
|
|
11
12
|
"color": {
|
|
12
|
-
"
|
|
13
|
-
"value": "{ams.links.contrast.hover.color}"
|
|
13
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed.",
|
|
14
|
+
"$value": "{ams.links.contrast.hover.color}",
|
|
15
|
+
"$type": "color"
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
},
|
|
17
19
|
"inverse": {
|
|
18
20
|
"color": {
|
|
19
|
-
"
|
|
20
|
-
"value": "{ams.links.inverse.color}"
|
|
21
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed.",
|
|
22
|
+
"$value": "{ams.links.inverse.color}",
|
|
23
|
+
"$type": "color"
|
|
21
24
|
},
|
|
22
25
|
"hover": {
|
|
23
26
|
"color": {
|
|
24
|
-
"
|
|
25
|
-
"value": "{ams.links.inverse.hover.color}"
|
|
27
|
+
"$deprecated": "The menu has a dark background now, so this is no longer needed.",
|
|
28
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
29
|
+
"$type": "color"
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
}
|
|
@@ -1,36 +1,134 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"menu": {
|
|
4
|
-
"background-color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "{ams.color.interactive.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.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.line-height}",
|
|
24
|
+
"$extensions": {
|
|
25
|
+
"nl.amsterdam.type": "lineHeight"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"padding-block": {
|
|
29
|
+
"$value": "{ams.space.m}",
|
|
30
|
+
"$type": "dimension",
|
|
31
|
+
"$extensions": {
|
|
32
|
+
"nl.amsterdam.subtype": "space"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
10
35
|
"wide": {
|
|
11
|
-
"max-inline-size": {
|
|
12
|
-
|
|
13
|
-
|
|
36
|
+
"max-inline-size": {
|
|
37
|
+
"$value": {
|
|
38
|
+
"value": 8,
|
|
39
|
+
"unit": "rem"
|
|
40
|
+
},
|
|
41
|
+
"$type": "dimension"
|
|
42
|
+
},
|
|
43
|
+
"padding-block": {
|
|
44
|
+
"$value": "calc({ams.logo.block-size} + 2 * {ams.page-header.padding-block}) {ams.space.m}",
|
|
45
|
+
"$type": "dimension",
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"nl.amsterdam.subtype": "space"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"padding-inline": {
|
|
51
|
+
"$value": "{ams.space.s}",
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$extensions": {
|
|
54
|
+
"nl.amsterdam.subtype": "space"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
14
57
|
},
|
|
15
58
|
"link": {
|
|
16
|
-
"color": {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
59
|
+
"color": {
|
|
60
|
+
"$value": "{ams.links.inverse.color}",
|
|
61
|
+
"$type": "color"
|
|
62
|
+
},
|
|
63
|
+
"gap": {
|
|
64
|
+
"$value": "{ams.space.s}",
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"nl.amsterdam.subtype": "space"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"outline-offset": {
|
|
71
|
+
"$value": "{ams.focus.outline-offset}",
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"nl.amsterdam.subtype": "space"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"padding-block": {
|
|
78
|
+
"$value": "{ams.space.s}",
|
|
79
|
+
"$type": "dimension",
|
|
80
|
+
"$extensions": {
|
|
81
|
+
"nl.amsterdam.subtype": "space"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"padding-inline": {
|
|
85
|
+
"$value": "{ams.space.s}",
|
|
86
|
+
"$type": "dimension",
|
|
87
|
+
"$extensions": {
|
|
88
|
+
"nl.amsterdam.subtype": "space"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"text-decoration-line": {
|
|
92
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
93
|
+
},
|
|
94
|
+
"text-decoration-thickness": {
|
|
95
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
96
|
+
"$type": "dimension"
|
|
97
|
+
},
|
|
98
|
+
"text-underline-offset": {
|
|
99
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
100
|
+
"$type": "dimension",
|
|
101
|
+
"$extensions": {
|
|
102
|
+
"nl.amsterdam.subtype": "space"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
24
105
|
"hover": {
|
|
25
|
-
"color": {
|
|
26
|
-
|
|
106
|
+
"color": {
|
|
107
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
108
|
+
"$type": "color"
|
|
109
|
+
},
|
|
110
|
+
"text-decoration-line": {
|
|
111
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
112
|
+
}
|
|
27
113
|
},
|
|
28
114
|
"wide": {
|
|
29
|
-
"gap": {
|
|
115
|
+
"gap": {
|
|
116
|
+
"$value": "{ams.space.xs}",
|
|
117
|
+
"$type": "dimension",
|
|
118
|
+
"$extensions": {
|
|
119
|
+
"nl.amsterdam.subtype": "space"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
30
122
|
}
|
|
31
123
|
},
|
|
32
124
|
"list": {
|
|
33
|
-
"gap": {
|
|
125
|
+
"gap": {
|
|
126
|
+
"$value": "{ams.space.m}",
|
|
127
|
+
"$type": "dimension",
|
|
128
|
+
"$extensions": {
|
|
129
|
+
"nl.amsterdam.subtype": "space"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
34
132
|
}
|
|
35
133
|
}
|
|
36
134
|
}
|