@amsterdam/design-system-tokens 0.14.0 → 0.15.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 +65 -0
- package/README.md +14 -7
- 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 +779 -766
- package/dist/index.d.ts +286 -283
- package/dist/index.json +589 -586
- package/dist/index.mjs +533 -509
- package/dist/index.scss +779 -766
- package/dist/index.theme.css +779 -766
- package/package.json +4 -3
- 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 +59 -0
- package/src/common/ams/links.tokens.json +32 -0
- package/src/components/ams/accordion.tokens.json +11 -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 +8 -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 +19 -8
- package/src/components/ams/error-message.tokens.json +5 -5
- package/src/components/ams/field-set.tokens.json +8 -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/footer.tokens.json +23 -2
- package/src/components/ams/grid.compact.tokens.json +1 -1
- package/src/components/ams/grid.tokens.json +12 -10
- package/src/components/ams/header.tokens.json +23 -19
- package/src/components/ams/heading.tokens.json +29 -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 +5 -5
- package/src/components/ams/link-list.tokens.json +22 -22
- package/src/components/ams/link.tokens.json +20 -31
- package/src/components/ams/logo.tokens.json +10 -7
- package/src/components/ams/mark.tokens.json +1 -1
- package/src/components/ams/mega-menu.tokens.json +3 -3
- package/src/components/ams/ordered-list.tokens.json +13 -11
- package/src/components/ams/page-heading.tokens.json +8 -6
- package/src/components/ams/page-menu.tokens.json +13 -13
- 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/screen.tokens.json +1 -1
- 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/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/top-task-link.tokens.json +16 -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/gap.tokens.json +0 -11
- package/src/components/ams/margin.tokens.json +0 -11
- /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)" }
|
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"footer": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"menu": {
|
|
5
|
+
"column-gap": { "value": "{ams.space.l}" },
|
|
6
|
+
"padding-block": { "value": "{ams.space.l}" },
|
|
7
|
+
"padding-inline": { "value": "{ams.grid.padding-inline}" },
|
|
8
|
+
"row-gap": { "value": "{ams.space.xs}" },
|
|
9
|
+
"link": {
|
|
10
|
+
"color": { "value": "{ams.links.color}" },
|
|
11
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
12
|
+
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
|
|
13
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
14
|
+
"line-height": { "value": "{ams.typography.body-text.small.line-height}" },
|
|
15
|
+
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
16
|
+
"text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
|
|
17
|
+
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
18
|
+
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
19
|
+
"hover": {
|
|
20
|
+
"color": { "value": "{ams.links.hover.color}" },
|
|
21
|
+
"text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"spotlight": {
|
|
26
|
+
"background-color": { "value": "#004699" }
|
|
6
27
|
}
|
|
7
28
|
}
|
|
8
29
|
}
|
|
@@ -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
|
+
"s": { "value": "{ams.space.l}" },
|
|
8
|
+
"m": { "value": "{ams.space.xl}" },
|
|
9
|
+
"l": { "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
|
+
"s": { "value": "{ams.space.l}" },
|
|
14
|
+
"m": { "value": "{ams.space.xl}" },
|
|
15
|
+
"l": { "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,55 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"header": {
|
|
4
|
-
"
|
|
4
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
5
|
+
"padding-block": { "value": "{ams.space.l}" },
|
|
5
6
|
"padding-inline": {
|
|
6
7
|
"value": "{ams.grid.padding-inline}",
|
|
7
8
|
"comment": "Must be the Grid inline padding, to make sure Header and Grid line up"
|
|
8
9
|
},
|
|
9
|
-
"branding": {
|
|
10
|
-
"column-gap": { "value": "{ams.space.md}" },
|
|
11
|
-
"row-gap": { "value": "{ams.space.grid.xs}" }
|
|
12
|
-
},
|
|
13
10
|
"logo-link": {
|
|
11
|
+
"column-gap": { "value": "{ams.space.m}" },
|
|
14
12
|
"outline-offset": { "value": "{ams.focus.outline-offset}" }
|
|
15
13
|
},
|
|
14
|
+
"brand-name": {
|
|
15
|
+
"color": { "value": "{ams.color.text.default}" },
|
|
16
|
+
"font-size": { "value": "{ams.typography.heading.4.font-size}" },
|
|
17
|
+
"font-weight": { "value": "{ams.typography.heading.font-weight}" }
|
|
18
|
+
},
|
|
16
19
|
"mega-menu": {
|
|
17
20
|
"button": {
|
|
21
|
+
"cursor": { "value": "{ams.cursor.interactive}" },
|
|
18
22
|
"label": {
|
|
19
23
|
"open": {
|
|
20
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
24
|
+
"font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" }
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
"menu": {
|
|
26
|
-
"column-gap": { "value": "{ams.space.
|
|
30
|
+
"column-gap": { "value": "{ams.space.l}" },
|
|
27
31
|
"row-gap": { "value": "{ams.space.xs}" },
|
|
28
32
|
"item": {
|
|
29
|
-
"color": { "value": "{ams.
|
|
33
|
+
"color": { "value": "{ams.links.color}" },
|
|
30
34
|
"column-gap": { "value": "{ams.space.xs}" },
|
|
31
|
-
"font-family": { "value": "{ams.
|
|
32
|
-
"font-size": { "value": "{ams.text.
|
|
33
|
-
"font-weight": { "value": "{ams.text.font-weight
|
|
34
|
-
"line-height": { "value": "{ams.text.
|
|
35
|
+
"font-family": { "value": "{ams.typography.font-family}" },
|
|
36
|
+
"font-size": { "value": "{ams.typography.body-text.font-size}" },
|
|
37
|
+
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
|
|
38
|
+
"line-height": { "value": "{ams.typography.body-text.line-height}" },
|
|
35
39
|
"outline-offset": { "value": "{ams.focus.outline-offset}" },
|
|
36
40
|
"padding-block": { "value": "{ams.space.xs}" },
|
|
37
41
|
"hover": {
|
|
38
|
-
"color": { "value": "{ams.
|
|
42
|
+
"color": { "value": "{ams.links.hover.color}" }
|
|
39
43
|
}
|
|
40
44
|
},
|
|
41
45
|
"link": {
|
|
42
|
-
"text-decoration-line": { "value": "{ams.
|
|
43
|
-
"text-decoration-thickness": { "value": "{ams.
|
|
44
|
-
"text-underline-offset": { "value": "{ams.
|
|
46
|
+
"text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
|
|
47
|
+
"text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
|
|
48
|
+
"text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
|
|
45
49
|
"hover": {
|
|
46
|
-
"text-decoration-line": { "value": "{ams.
|
|
50
|
+
"text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
},
|
|
50
54
|
"navigation": {
|
|
51
|
-
"column-gap": { "value": "{ams.space.
|
|
52
|
-
"row-gap": { "value": "{ams.space.
|
|
55
|
+
"column-gap": { "value": "{ams.space.l}" },
|
|
56
|
+
"row-gap": { "value": "{ams.space.s}" }
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"heading": {
|
|
4
|
-
"color": { "value": "{ams.color.
|
|
5
|
-
"font-family": { "value": "{ams.
|
|
6
|
-
"font-weight": { "value": "{ams.
|
|
7
|
-
"inverse
|
|
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
|
+
"inverse": {
|
|
8
|
+
"color": { "value": "{ams.color.text.inverse}" }
|
|
9
|
+
},
|
|
10
|
+
"1": {
|
|
11
|
+
"font-size": { "value": "{ams.typography.heading.1.font-size}" },
|
|
12
|
+
"line-height": { "value": "{ams.typography.heading.1.line-height}" }
|
|
13
|
+
},
|
|
14
|
+
"2": {
|
|
15
|
+
"font-size": { "value": "{ams.typography.heading.2.font-size}" },
|
|
16
|
+
"line-height": { "value": "{ams.typography.heading.2.line-height}" }
|
|
17
|
+
},
|
|
18
|
+
"3": {
|
|
19
|
+
"font-size": { "value": "{ams.typography.heading.3.font-size}" },
|
|
20
|
+
"line-height": { "value": "{ams.typography.heading.3.line-height}" }
|
|
21
|
+
},
|
|
22
|
+
"4": {
|
|
23
|
+
"font-size": { "value": "{ams.typography.heading.4.font-size}" },
|
|
24
|
+
"line-height": { "value": "{ams.typography.heading.4.line-height}" }
|
|
25
|
+
},
|
|
26
|
+
"5": {
|
|
27
|
+
"font-size": { "value": "{ams.typography.heading.5.font-size}" },
|
|
28
|
+
"line-height": { "value": "{ams.typography.heading.5.line-height}" }
|
|
29
|
+
},
|
|
30
|
+
"6": {
|
|
31
|
+
"font-size": { "value": "{ams.typography.heading.6.font-size}" },
|
|
32
|
+
"line-height": { "value": "{ams.typography.heading.6.line-height}" }
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -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,11 @@
|
|
|
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
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -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
|
}
|