@amsterdam/design-system-tokens 0.14.0 → 0.16.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 +100 -0
- package/LICENSE.md +2 -2
- package/README.md +18 -11
- package/build.js +39 -16
- package/dist/compact.css +18 -18
- package/dist/compact.d.ts +18 -12
- package/dist/compact.json +21 -15
- package/dist/compact.mjs +21 -22
- package/dist/compact.scss +18 -18
- package/dist/compact.theme.css +18 -18
- package/dist/index.css +788 -780
- package/dist/index.d.ts +414 -410
- package/dist/index.json +700 -696
- package/dist/index.mjs +609 -585
- package/dist/index.scss +788 -780
- package/dist/index.theme.css +788 -780
- package/package.json +5 -4
- package/src/brand/ams/aspect-ratio.tokens.json +6 -6
- package/src/brand/ams/border.tokens.json +3 -3
- package/src/brand/ams/color.tokens.json +34 -15
- package/src/brand/ams/cursor.tokens.json +8 -0
- package/src/brand/ams/space.compact.tokens.json +6 -15
- package/src/brand/ams/space.tokens.json +5 -14
- package/src/brand/ams/{text.compact.tokens.json → typography.compact.tokens.json} +14 -2
- package/src/brand/ams/typography.tokens.json +60 -0
- package/src/common/ams/links.tokens.json +32 -0
- package/src/components/ams/accordion.tokens.json +12 -12
- package/src/components/ams/action-group.tokens.json +1 -1
- package/src/components/ams/alert.tokens.json +27 -15
- package/src/components/ams/avatar.tokens.json +23 -53
- package/src/components/ams/badge.tokens.json +22 -48
- package/src/components/ams/blockquote.tokens.json +8 -6
- package/src/components/ams/breadcrumb.tokens.json +10 -10
- package/src/components/ams/button.tokens.json +31 -33
- package/src/components/ams/card.tokens.json +14 -8
- package/src/components/ams/character-count.tokens.json +6 -6
- package/src/components/ams/checkbox.tokens.json +31 -29
- package/src/components/ams/column.tokens.json +5 -6
- package/src/components/ams/date-input.tokens.json +18 -16
- package/src/components/ams/description-list.tokens.json +21 -10
- package/src/components/ams/dialog.tokens.json +34 -8
- package/src/components/ams/error-message.tokens.json +5 -5
- package/src/components/ams/field-set.tokens.json +9 -8
- package/src/components/ams/field.tokens.json +3 -3
- package/src/components/ams/figure.tokens.json +9 -7
- package/src/components/ams/file-input.tokens.json +29 -26
- package/src/components/ams/file-list.tokens.json +8 -8
- package/src/components/ams/grid.compact.tokens.json +1 -1
- package/src/components/ams/grid.tokens.json +12 -10
- package/src/components/ams/heading.tokens.json +30 -29
- package/src/components/ams/hint.tokens.json +1 -1
- package/src/components/ams/icon-button.tokens.json +18 -16
- package/src/components/ams/icon.tokens.json +24 -14
- package/src/components/ams/image-slider.tokens.json +1 -1
- package/src/components/ams/image.tokens.json +1 -1
- package/src/components/ams/{form-error-list.tokens.json → invalid-form-alert.tokens.json} +1 -1
- package/src/components/ams/label.tokens.json +6 -5
- package/src/components/ams/link-list.tokens.json +22 -22
- package/src/components/ams/link.tokens.json +16 -46
- package/src/components/ams/logo.tokens.json +10 -7
- package/src/components/ams/mark.tokens.json +1 -1
- package/src/components/ams/ordered-list.tokens.json +13 -11
- package/src/components/ams/page-footer.tokens.json +36 -0
- package/src/components/ams/page-header.tokens.json +67 -0
- package/src/components/ams/page-heading.tokens.json +9 -6
- package/src/components/ams/page.tokens.json +8 -0
- package/src/components/ams/pagination.tokens.json +13 -13
- package/src/components/ams/paragraph.tokens.json +12 -10
- package/src/components/ams/password-input.tokens.json +17 -16
- package/src/components/ams/radio.tokens.json +30 -28
- package/src/components/ams/row.tokens.json +5 -6
- package/src/components/ams/search-field.tokens.json +17 -18
- package/src/components/ams/select.tokens.json +17 -16
- package/src/components/ams/skip-link.tokens.json +9 -9
- package/src/components/ams/spotlight.tokens.json +10 -10
- package/src/components/ams/standalone-link.tokens.json +40 -0
- package/src/components/ams/switch.tokens.json +7 -6
- package/src/components/ams/table-of-contents.tokens.json +17 -17
- package/src/components/ams/table.tokens.json +10 -13
- package/src/components/ams/tabs.tokens.json +16 -20
- package/src/components/ams/text-area.tokens.json +18 -18
- package/src/components/ams/text-input.tokens.json +17 -16
- package/src/components/ams/time-input.tokens.json +18 -16
- package/src/components/ams/unordered-list.tokens.json +15 -13
- package/src/brand/ams/text.tokens.json +0 -41
- package/src/common/ams/action.tokens.json +0 -12
- package/src/common/ams/hyphenation.tokens.json +0 -9
- package/src/common/ams/link-appearance.tokens.json +0 -43
- package/src/components/ams/breakout.tokens.json +0 -11
- package/src/components/ams/footer.tokens.json +0 -9
- package/src/components/ams/gap.tokens.json +0 -11
- package/src/components/ams/header.tokens.json +0 -56
- package/src/components/ams/margin.tokens.json +0 -11
- package/src/components/ams/mega-menu.tokens.json +0 -18
- package/src/components/ams/page-menu.tokens.json +0 -24
- package/src/components/ams/screen.tokens.json +0 -13
- package/src/components/ams/top-task-link.tokens.json +0 -29
- /package/src/{common → brand}/ams/focus.tokens.json +0 -0
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"file-input": {
|
|
4
|
-
"background-color": { "value": "{ams.color.
|
|
5
|
-
"border": { "value": "{ams.border.width.
|
|
6
|
-
"color": { "value": "{ams.color.
|
|
7
|
-
"cursor": { "value": "{ams.
|
|
8
|
-
"font-family": { "value": "{ams.
|
|
9
|
-
"font-size": { "value": "{ams.text.
|
|
10
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
11
|
-
"line-height": { "value": "{ams.text.
|
|
12
|
-
"outline-offset": {
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"background-color": { "value": "{ams.color.background}" },
|
|
5
|
+
"border": { "value": "{ams.border.width.s} dashed {ams.color.interactive.secondary}" },
|
|
6
|
+
"color": { "value": "{ams.color.text.default}" },
|
|
7
|
+
"cursor": { "value": "{ams.cursor.interactive}" },
|
|
8
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
9
|
+
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
10
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
11
|
+
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
12
|
+
"outline-offset": {
|
|
13
|
+
"comment": "Compensate for the dashed border",
|
|
14
|
+
"value": "calc({ams.focus.outline-offset} * 2)"
|
|
15
|
+
},
|
|
16
|
+
"padding-block": { "value": "{ams.space.m}" },
|
|
17
|
+
"padding-inline": { "value": "{ams.space.m}" },
|
|
15
18
|
"disabled": {
|
|
16
|
-
"color": { "value": "{ams.color.
|
|
17
|
-
"cursor": { "value": "{ams.
|
|
19
|
+
"color": { "value": "{ams.color.interactive.disabled}" },
|
|
20
|
+
"cursor": { "value": "{ams.cursor.disabled}" }
|
|
18
21
|
},
|
|
19
22
|
"file-selector-button": {
|
|
20
|
-
"background-color": { "value": "{ams.color.
|
|
21
|
-
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.
|
|
22
|
-
"color": { "value": "{ams.color.
|
|
23
|
-
"cursor": { "value": "{ams.
|
|
24
|
-
"margin-inline-end": { "value": "{ams.space.
|
|
25
|
-
"padding-block": { "value": "{ams.space.
|
|
26
|
-
"padding-inline": { "value": "{ams.space.
|
|
23
|
+
"background-color": { "value": "{ams.color.background}" },
|
|
24
|
+
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.default}" },
|
|
25
|
+
"color": { "value": "{ams.color.interactive.default}" },
|
|
26
|
+
"cursor": { "value": "{ams.cursor.interactive}" },
|
|
27
|
+
"margin-inline-end": { "value": "{ams.space.m}" },
|
|
28
|
+
"padding-block": { "value": "{ams.space.s}" },
|
|
29
|
+
"padding-inline": { "value": "{ams.space.m}" },
|
|
27
30
|
"hover": {
|
|
28
|
-
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.
|
|
29
|
-
"color": { "value": "{ams.color.
|
|
31
|
+
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.l} {ams.color.interactive.hover}" },
|
|
32
|
+
"color": { "value": "{ams.color.interactive.hover}" }
|
|
30
33
|
},
|
|
31
34
|
"disabled": {
|
|
32
|
-
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.
|
|
33
|
-
"color": { "value": "{ams.color.
|
|
34
|
-
"cursor": { "value": "{ams.
|
|
35
|
+
"box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.disabled}" },
|
|
36
|
+
"color": { "value": "{ams.color.interactive.disabled}" },
|
|
37
|
+
"cursor": { "value": "{ams.cursor.disabled}" }
|
|
35
38
|
},
|
|
36
39
|
"forced-color-mode": {
|
|
37
|
-
"border": { "value": "{ams.border.width.
|
|
40
|
+
"border": { "value": "{ams.border.width.m} solid" }
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"file-list": {
|
|
4
|
-
"gap": { "value": "{ams.space.
|
|
5
|
-
"padding-block": { "value": "{ams.space.
|
|
4
|
+
"gap": { "value": "{ams.space.m}" },
|
|
5
|
+
"padding-block": { "value": "{ams.space.m}" },
|
|
6
6
|
"file": {
|
|
7
|
-
"font-family": { "value": "{ams.
|
|
8
|
-
"font-size": { "value": "{ams.text.
|
|
9
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
10
|
-
"gap": { "value": "{ams.space.
|
|
11
|
-
"line-height": { "value": "{ams.text.
|
|
7
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
8
|
+
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
|
|
9
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
10
|
+
"gap": { "value": "{ams.space.s}" },
|
|
11
|
+
"line-height": { "value": "{ams.typography.body-text.small.line-height}" },
|
|
12
12
|
"details": {
|
|
13
|
-
"color": { "value": "{ams.color.
|
|
13
|
+
"color": { "value": "{ams.color.text.secondary}" }
|
|
14
14
|
},
|
|
15
15
|
"preview": {
|
|
16
16
|
"width": { "value": "clamp(2.5rem, 10vw, 5rem)" }
|
|
@@ -2,23 +2,25 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"grid": {
|
|
4
4
|
"column-count": { "value": "4" },
|
|
5
|
-
"column-gap": { "value": "{ams.space.
|
|
5
|
+
"column-gap": { "value": "{ams.space.xl}" },
|
|
6
6
|
"padding-block": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"l": { "value": "{ams.space.l}" },
|
|
8
|
+
"xl": { "value": "{ams.space.xl}" },
|
|
9
|
+
"2xl": { "value": "{ams.space.2xl}" }
|
|
10
10
|
},
|
|
11
|
-
"padding-inline": { "value": "{ams.space.
|
|
11
|
+
"padding-inline": { "value": "{ams.space.l}" },
|
|
12
12
|
"row-gap": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"l": { "value": "{ams.space.l}" },
|
|
14
|
+
"xl": { "value": "{ams.space.xl}" },
|
|
15
|
+
"2xl": { "value": "{ams.space.2xl}" }
|
|
16
16
|
},
|
|
17
17
|
"medium": {
|
|
18
|
-
"column-count": { "value": "8" }
|
|
18
|
+
"column-count": { "value": "8" },
|
|
19
|
+
"padding-inline": { "value": "{ams.space.xl}" }
|
|
19
20
|
},
|
|
20
21
|
"wide": {
|
|
21
|
-
"column-count": { "value": "12" }
|
|
22
|
+
"column-count": { "value": "12" },
|
|
23
|
+
"padding-inline": { "value": "{ams.space.2xl}" }
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"heading": {
|
|
4
|
-
"color": { "value": "{ams.color.
|
|
5
|
-
"font-family": { "value": "{ams.
|
|
6
|
-
"font-weight": { "value": "{ams.
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
4
|
+
"color": { "value": "{ams.color.text.default}" },
|
|
5
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
6
|
+
"font-weight": { "value": "{ams.typography.heading.font-weight}" },
|
|
7
|
+
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
|
|
8
|
+
"inverse": {
|
|
9
|
+
"color": { "value": "{ams.color.text.inverse}" }
|
|
10
|
+
},
|
|
11
|
+
"1": {
|
|
12
|
+
"font-size": { "value": "{ams.typography.heading.1.font-size}" },
|
|
13
|
+
"line-height": { "value": "{ams.typography.heading.1.line-height}" }
|
|
14
|
+
},
|
|
15
|
+
"2": {
|
|
16
|
+
"font-size": { "value": "{ams.typography.heading.2.font-size}" },
|
|
17
|
+
"line-height": { "value": "{ams.typography.heading.2.line-height}" }
|
|
18
|
+
},
|
|
19
|
+
"3": {
|
|
20
|
+
"font-size": { "value": "{ams.typography.heading.3.font-size}" },
|
|
21
|
+
"line-height": { "value": "{ams.typography.heading.3.line-height}" }
|
|
22
|
+
},
|
|
23
|
+
"4": {
|
|
24
|
+
"font-size": { "value": "{ams.typography.heading.4.font-size}" },
|
|
25
|
+
"line-height": { "value": "{ams.typography.heading.4.line-height}" }
|
|
26
|
+
},
|
|
27
|
+
"5": {
|
|
28
|
+
"font-size": { "value": "{ams.typography.heading.5.font-size}" },
|
|
29
|
+
"line-height": { "value": "{ams.typography.heading.5.line-height}" }
|
|
30
|
+
},
|
|
31
|
+
"6": {
|
|
32
|
+
"font-size": { "value": "{ams.typography.heading.6.font-size}" },
|
|
33
|
+
"line-height": { "value": "{ams.typography.heading.6.line-height}" }
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"icon-button": {
|
|
4
|
-
"color": { "value": "{ams.color.
|
|
4
|
+
"color": { "value": "{ams.color.interactive.default}" },
|
|
5
|
+
"cursor": { "value": "{ams.cursor.interactive}" },
|
|
5
6
|
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
6
7
|
"hover": {
|
|
7
|
-
"background-color": { "value": "
|
|
8
|
-
"color": { "value": "{ams.color.
|
|
8
|
+
"background-color": { "value": "rgb(0 70 153 / 12.5%)" },
|
|
9
|
+
"color": { "value": "{ams.color.interactive.hover}" }
|
|
9
10
|
},
|
|
10
11
|
"disabled": {
|
|
11
|
-
"color": { "value": "{ams.color.
|
|
12
|
+
"color": { "value": "{ams.color.interactive.disabled}" },
|
|
13
|
+
"cursor": { "value": "{ams.cursor.disabled}" }
|
|
12
14
|
},
|
|
13
|
-
"contrast
|
|
14
|
-
"color": { "value": "{ams.color.
|
|
15
|
+
"contrast": {
|
|
16
|
+
"color": { "value": "{ams.color.interactive.contrast}" },
|
|
15
17
|
"hover": {
|
|
16
|
-
"background-color": { "value": "
|
|
17
|
-
"color": { "value": "{ams.color.
|
|
18
|
+
"background-color": { "value": "rgb(0 0 0 / 12.5%)" },
|
|
19
|
+
"color": { "value": "{ams.color.interactive.contrast}" }
|
|
18
20
|
},
|
|
19
21
|
"disabled": {
|
|
20
|
-
"color": { "value": "{ams.color.
|
|
22
|
+
"color": { "value": "{ams.color.interactive.disabled}" }
|
|
21
23
|
}
|
|
22
24
|
},
|
|
23
|
-
"inverse
|
|
24
|
-
"background-color": { "value": "{ams.color.
|
|
25
|
-
"color": { "value": "{ams.color.
|
|
25
|
+
"inverse": {
|
|
26
|
+
"background-color": { "value": "{ams.color.interactive.default}" },
|
|
27
|
+
"color": { "value": "{ams.color.interactive.inverse}" },
|
|
26
28
|
"hover": {
|
|
27
|
-
"background-color": { "value": "{ams.color.
|
|
28
|
-
"color": { "value": "{ams.color.
|
|
29
|
+
"background-color": { "value": "{ams.color.interactive.hover}" },
|
|
30
|
+
"color": { "value": "{ams.color.interactive.inverse}" }
|
|
29
31
|
},
|
|
30
32
|
"disabled": {
|
|
31
|
-
"color": { "value": "{ams.color.
|
|
32
|
-
"background-color": { "value": "{ams.color.
|
|
33
|
+
"color": { "value": "{ams.color.interactive.inverse}" },
|
|
34
|
+
"background-color": { "value": "{ams.color.interactive.disabled}" }
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"icon": {
|
|
4
|
-
"
|
|
5
|
-
|
|
4
|
+
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
5
|
+
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
6
|
+
"small": {
|
|
7
|
+
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
|
|
8
|
+
"line-height": { "value": "{ams.typography.body-text.small.line-height}" }
|
|
9
|
+
},
|
|
10
|
+
"large": {
|
|
11
|
+
"font-size": { "value": "{ams.typography.body-text.large.font-size}" },
|
|
12
|
+
"line-height": { "value": "{ams.typography.body-text.large.line-height}" }
|
|
6
13
|
},
|
|
7
|
-
"
|
|
8
|
-
"font-size": { "value": "{ams.
|
|
9
|
-
"line-height": { "value": "{ams.
|
|
14
|
+
"heading-3": {
|
|
15
|
+
"font-size": { "value": "{ams.typography.heading.3.font-size}" },
|
|
16
|
+
"line-height": { "value": "{ams.typography.heading.3.line-height}" }
|
|
10
17
|
},
|
|
11
|
-
"
|
|
12
|
-
"font-size": { "value": "{ams.
|
|
13
|
-
"line-height": { "value": "{ams.
|
|
18
|
+
"heading-4": {
|
|
19
|
+
"font-size": { "value": "{ams.typography.heading.4.font-size}" },
|
|
20
|
+
"line-height": { "value": "{ams.typography.heading.4.line-height}" }
|
|
14
21
|
},
|
|
15
|
-
"
|
|
16
|
-
"font-size": { "value": "{ams.
|
|
17
|
-
"line-height": { "value": "{ams.
|
|
22
|
+
"heading-5": {
|
|
23
|
+
"font-size": { "value": "{ams.typography.heading.5.font-size}" },
|
|
24
|
+
"line-height": { "value": "{ams.typography.heading.5.line-height}" }
|
|
18
25
|
},
|
|
19
|
-
"
|
|
20
|
-
"font-size": { "value": "{ams.
|
|
21
|
-
"line-height": { "value": "{ams.
|
|
26
|
+
"heading-6": {
|
|
27
|
+
"font-size": { "value": "{ams.typography.heading.6.font-size}" },
|
|
28
|
+
"line-height": { "value": "{ams.typography.heading.6.line-height}" }
|
|
29
|
+
},
|
|
30
|
+
"inverse": {
|
|
31
|
+
"color": { "value": "{ams.color.text.inverse}" }
|
|
22
32
|
}
|
|
23
33
|
}
|
|
24
34
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"gap": { "value": "{ams.space.xs}" },
|
|
11
11
|
"thumbnail": {
|
|
12
12
|
"background-color": { "value": "transparent" },
|
|
13
|
-
"cursor": { "value": "{ams.
|
|
13
|
+
"cursor": { "value": "{ams.cursor.interactive}" },
|
|
14
14
|
"opacity": { "value": "40%" },
|
|
15
15
|
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
16
16
|
"in-view": {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"label": {
|
|
4
|
-
"color": { "value": "{ams.color.
|
|
5
|
-
"font-family": { "value": "{ams.
|
|
6
|
-
"font-size": { "value": "{ams.
|
|
7
|
-
"font-weight": { "value": "{ams.
|
|
8
|
-
"line-height": { "value": "{ams.
|
|
4
|
+
"color": { "value": "{ams.color.text.default}" },
|
|
5
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
6
|
+
"font-size": { "value": "{ams.typography.heading.4.font-size}" },
|
|
7
|
+
"font-weight": { "value": "{ams.typography.heading.font-weight}" },
|
|
8
|
+
"line-height": { "value": "{ams.typography.heading.4.line-height}" },
|
|
9
|
+
"text-wrap": { "value": "{ams.typography.heading.text-wrap}" }
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"link-list": {
|
|
4
|
-
"gap": { "value": "{ams.space.
|
|
4
|
+
"gap": { "value": "{ams.space.s}" },
|
|
5
5
|
"link": {
|
|
6
|
-
"color": { "value": "{ams.
|
|
7
|
-
"font-family": { "value": "{ams.
|
|
8
|
-
"font-size": { "value": "{ams.text.
|
|
9
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
10
|
-
"gap": { "value": "{ams.space.
|
|
11
|
-
"line-height": { "value": "{ams.text.
|
|
6
|
+
"color": { "value": "{ams.links.color}" },
|
|
7
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
8
|
+
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
9
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
10
|
+
"gap": { "value": "{ams.space.s}" },
|
|
11
|
+
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
12
12
|
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
13
|
-
"text-decoration-line": { "value": "{ams.
|
|
14
|
-
"text-decoration-thickness": { "value": "{ams.
|
|
15
|
-
"text-underline-offset": { "value": "{ams.
|
|
13
|
+
"text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
|
|
14
|
+
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
15
|
+
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
16
16
|
"small": {
|
|
17
|
-
"font-size": { "value": "{ams.text.
|
|
18
|
-
"line-height": { "value": "{ams.text.
|
|
17
|
+
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
|
|
18
|
+
"line-height": { "value": "{ams.typography.body-text.small.line-height}" }
|
|
19
19
|
},
|
|
20
20
|
"large": {
|
|
21
|
-
"font-size": { "value": "{ams.text.
|
|
22
|
-
"line-height": { "value": "{ams.text.
|
|
21
|
+
"font-size": { "value": "{ams.typography.body-text.large.font-size}" },
|
|
22
|
+
"line-height": { "value": "{ams.typography.body-text.large.line-height}" }
|
|
23
23
|
},
|
|
24
24
|
"hover": {
|
|
25
|
-
"color": { "value": "{ams.
|
|
26
|
-
"text-decoration-line": { "value": "{ams.
|
|
25
|
+
"color": { "value": "{ams.links.hover.color}" },
|
|
26
|
+
"text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
|
|
27
27
|
},
|
|
28
|
-
"contrast
|
|
29
|
-
"color": { "value": "{ams.
|
|
28
|
+
"contrast": {
|
|
29
|
+
"color": { "value": "{ams.links.contrast.color}" },
|
|
30
30
|
"hover": {
|
|
31
|
-
"color": { "value": "{ams.
|
|
31
|
+
"color": { "value": "{ams.links.contrast.hover.color}" }
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"inverse
|
|
35
|
-
"color": { "value": "{ams.
|
|
34
|
+
"inverse": {
|
|
35
|
+
"color": { "value": "{ams.links.inverse.color}" },
|
|
36
36
|
"hover": {
|
|
37
|
-
"color": { "value": "{ams.
|
|
37
|
+
"color": { "value": "{ams.links.inverse.hover.color}" }
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,59 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"link": {
|
|
4
|
-
"color": { "value": "{ams.
|
|
5
|
-
"font-family": { "value": "
|
|
6
|
-
"font-
|
|
4
|
+
"color": { "value": "{ams.links.color}" },
|
|
5
|
+
"font-family": { "value": "inherit" },
|
|
6
|
+
"font-size": { "value": "inherit" },
|
|
7
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
8
|
+
"line-height": { "value": "inherit" },
|
|
7
9
|
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
10
|
+
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
11
|
+
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
8
12
|
"hover": {
|
|
9
|
-
"color": { "value": "{ams.
|
|
13
|
+
"color": { "value": "{ams.links.hover.color}" },
|
|
14
|
+
"text-decoration-thickness": { "value": "{ams.links.hover.text-decoration-thickness}" },
|
|
15
|
+
"text-underline-offset": { "value": "{ams.links.hover.text-underline-offset}" }
|
|
10
16
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
|
|
14
|
-
"text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
|
|
15
|
-
"font-family": { "value": "inherit" },
|
|
16
|
-
"font-size": { "value": "inherit" },
|
|
17
|
-
"line-height": { "value": "inherit" },
|
|
17
|
+
"contrast": {
|
|
18
|
+
"color": { "value": "{ams.links.contrast.color}" },
|
|
18
19
|
"hover": {
|
|
19
|
-
"
|
|
20
|
-
"value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
|
|
21
|
-
},
|
|
22
|
-
"text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
|
|
23
|
-
},
|
|
24
|
-
"visited": {
|
|
25
|
-
"color": { "value": "{ams.color.purple}" }
|
|
20
|
+
"color": { "value": "{ams.links.contrast.hover.color}" }
|
|
26
21
|
}
|
|
27
22
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"line-height": { "value": "{ams.text.level.5.line-height}" },
|
|
31
|
-
"text-decoration-line": { "value": "{ams.link-appearance.regular.text-decoration-line}" },
|
|
32
|
-
"text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
|
|
33
|
-
"text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
|
|
23
|
+
"inverse": {
|
|
24
|
+
"color": { "value": "{ams.links.inverse.color}" },
|
|
34
25
|
"hover": {
|
|
35
|
-
"
|
|
36
|
-
"value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
|
|
37
|
-
},
|
|
38
|
-
"text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"contrast-color": {
|
|
42
|
-
"color": { "value": "{ams.link-appearance.contrast.color}" },
|
|
43
|
-
"hover": {
|
|
44
|
-
"color": { "value": "{ams.link-appearance.contrast.hover.color}" }
|
|
45
|
-
},
|
|
46
|
-
"visited": {
|
|
47
|
-
"color": { "value": "{ams.link-appearance.contrast.visited.color}" }
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"inverse-color": {
|
|
51
|
-
"color": { "value": "{ams.link-appearance.inverse.color}" },
|
|
52
|
-
"hover": {
|
|
53
|
-
"color": { "value": "{ams.link-appearance.inverse.hover.color}" }
|
|
54
|
-
},
|
|
55
|
-
"visited": {
|
|
56
|
-
"color": { "value": "{ams.link-appearance.inverse.visited.color}" }
|
|
26
|
+
"color": { "value": "{ams.links.inverse.hover.color}" }
|
|
57
27
|
}
|
|
58
28
|
}
|
|
59
29
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"logo": {
|
|
4
|
-
"block-size": {
|
|
5
|
-
"value": "clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",
|
|
6
|
-
"comment": "This is the same size as Grid space medium"
|
|
7
|
-
},
|
|
8
|
-
"emblem": { "color": { "value": "{ams.color.primary-red}" } },
|
|
4
|
+
"block-size": { "value": "{ams.space.xl}" },
|
|
9
5
|
"min-block-size": { "value": "2.5rem" },
|
|
10
|
-
"
|
|
11
|
-
|
|
6
|
+
"emblem": {
|
|
7
|
+
"color": { "value": "#ec0000" }
|
|
8
|
+
},
|
|
9
|
+
"subsite": {
|
|
10
|
+
"color": { "value": "{ams.color.text.default}" }
|
|
11
|
+
},
|
|
12
|
+
"title": {
|
|
13
|
+
"color": { "value": "#ec0000" }
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"ordered-list": {
|
|
4
|
-
"color": { "value": "{ams.color.
|
|
5
|
-
"font-family": { "value": "{ams.
|
|
6
|
-
"font-size": { "value": "{ams.text.
|
|
7
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
8
|
-
"gap": { "value": "{ams.space.
|
|
9
|
-
"
|
|
10
|
-
"line-height": { "value": "{ams.text.level.5.line-height}" },
|
|
4
|
+
"color": { "value": "{ams.color.text.default}" },
|
|
5
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
6
|
+
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
7
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
8
|
+
"gap": { "value": "{ams.space.m}" },
|
|
9
|
+
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
11
10
|
"list-style-type": { "value": "decimal" },
|
|
12
11
|
"small": {
|
|
13
|
-
"font-size": { "value": "{ams.text.
|
|
14
|
-
"line-height": { "value": "{ams.text.
|
|
12
|
+
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
|
|
13
|
+
"line-height": { "value": "{ams.typography.body-text.small.line-height}" }
|
|
14
|
+
},
|
|
15
|
+
"inverse": {
|
|
16
|
+
"color": { "value": "{ams.color.text.inverse}" }
|
|
15
17
|
},
|
|
16
18
|
"item": {
|
|
17
19
|
"margin-inline-start": {
|
|
@@ -24,10 +26,10 @@
|
|
|
24
26
|
}
|
|
25
27
|
},
|
|
26
28
|
"ordered-list": {
|
|
27
|
-
"gap": { "value": "{ams.space.
|
|
29
|
+
"gap": { "value": "{ams.space.s}" },
|
|
28
30
|
"list-style-type": { "value": "lower-alpha" },
|
|
29
31
|
"padding-block-end": { "value": "0" },
|
|
30
|
-
"padding-block-start": { "value": "{ams.space.
|
|
32
|
+
"padding-block-start": { "value": "{ams.space.s}" },
|
|
31
33
|
"item": {
|
|
32
34
|
"margin-inline-start": {
|
|
33
35
|
"value": "1.5rem",
|