@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.
Files changed (93) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +14 -7
  3. package/build.js +39 -16
  4. package/dist/compact.css +18 -18
  5. package/dist/compact.d.ts +18 -12
  6. package/dist/compact.json +21 -15
  7. package/dist/compact.mjs +21 -22
  8. package/dist/compact.scss +18 -18
  9. package/dist/compact.theme.css +18 -18
  10. package/dist/index.css +779 -766
  11. package/dist/index.d.ts +286 -283
  12. package/dist/index.json +589 -586
  13. package/dist/index.mjs +533 -509
  14. package/dist/index.scss +779 -766
  15. package/dist/index.theme.css +779 -766
  16. package/package.json +4 -3
  17. package/src/brand/ams/aspect-ratio.tokens.json +6 -6
  18. package/src/brand/ams/border.tokens.json +3 -3
  19. package/src/brand/ams/color.tokens.json +34 -15
  20. package/src/brand/ams/cursor.tokens.json +8 -0
  21. package/src/brand/ams/space.compact.tokens.json +6 -15
  22. package/src/brand/ams/space.tokens.json +5 -14
  23. package/src/brand/ams/{text.compact.tokens.json → typography.compact.tokens.json} +14 -2
  24. package/src/brand/ams/typography.tokens.json +59 -0
  25. package/src/common/ams/links.tokens.json +32 -0
  26. package/src/components/ams/accordion.tokens.json +11 -12
  27. package/src/components/ams/action-group.tokens.json +1 -1
  28. package/src/components/ams/alert.tokens.json +27 -15
  29. package/src/components/ams/avatar.tokens.json +23 -53
  30. package/src/components/ams/badge.tokens.json +22 -48
  31. package/src/components/ams/blockquote.tokens.json +8 -6
  32. package/src/components/ams/breadcrumb.tokens.json +10 -10
  33. package/src/components/ams/button.tokens.json +31 -33
  34. package/src/components/ams/card.tokens.json +8 -8
  35. package/src/components/ams/character-count.tokens.json +6 -6
  36. package/src/components/ams/checkbox.tokens.json +31 -29
  37. package/src/components/ams/column.tokens.json +5 -6
  38. package/src/components/ams/date-input.tokens.json +18 -16
  39. package/src/components/ams/description-list.tokens.json +21 -10
  40. package/src/components/ams/dialog.tokens.json +19 -8
  41. package/src/components/ams/error-message.tokens.json +5 -5
  42. package/src/components/ams/field-set.tokens.json +8 -8
  43. package/src/components/ams/field.tokens.json +3 -3
  44. package/src/components/ams/figure.tokens.json +9 -7
  45. package/src/components/ams/file-input.tokens.json +29 -26
  46. package/src/components/ams/file-list.tokens.json +8 -8
  47. package/src/components/ams/footer.tokens.json +23 -2
  48. package/src/components/ams/grid.compact.tokens.json +1 -1
  49. package/src/components/ams/grid.tokens.json +12 -10
  50. package/src/components/ams/header.tokens.json +23 -19
  51. package/src/components/ams/heading.tokens.json +29 -29
  52. package/src/components/ams/hint.tokens.json +1 -1
  53. package/src/components/ams/icon-button.tokens.json +18 -16
  54. package/src/components/ams/icon.tokens.json +24 -14
  55. package/src/components/ams/image-slider.tokens.json +1 -1
  56. package/src/components/ams/image.tokens.json +1 -1
  57. package/src/components/ams/{form-error-list.tokens.json → invalid-form-alert.tokens.json} +1 -1
  58. package/src/components/ams/label.tokens.json +5 -5
  59. package/src/components/ams/link-list.tokens.json +22 -22
  60. package/src/components/ams/link.tokens.json +20 -31
  61. package/src/components/ams/logo.tokens.json +10 -7
  62. package/src/components/ams/mark.tokens.json +1 -1
  63. package/src/components/ams/mega-menu.tokens.json +3 -3
  64. package/src/components/ams/ordered-list.tokens.json +13 -11
  65. package/src/components/ams/page-heading.tokens.json +8 -6
  66. package/src/components/ams/page-menu.tokens.json +13 -13
  67. package/src/components/ams/pagination.tokens.json +13 -13
  68. package/src/components/ams/paragraph.tokens.json +12 -10
  69. package/src/components/ams/password-input.tokens.json +17 -16
  70. package/src/components/ams/radio.tokens.json +30 -28
  71. package/src/components/ams/row.tokens.json +5 -6
  72. package/src/components/ams/screen.tokens.json +1 -1
  73. package/src/components/ams/search-field.tokens.json +17 -18
  74. package/src/components/ams/select.tokens.json +17 -16
  75. package/src/components/ams/skip-link.tokens.json +9 -9
  76. package/src/components/ams/spotlight.tokens.json +10 -10
  77. package/src/components/ams/switch.tokens.json +7 -6
  78. package/src/components/ams/table-of-contents.tokens.json +17 -17
  79. package/src/components/ams/table.tokens.json +10 -13
  80. package/src/components/ams/tabs.tokens.json +16 -20
  81. package/src/components/ams/text-area.tokens.json +18 -18
  82. package/src/components/ams/text-input.tokens.json +17 -16
  83. package/src/components/ams/time-input.tokens.json +18 -16
  84. package/src/components/ams/top-task-link.tokens.json +16 -16
  85. package/src/components/ams/unordered-list.tokens.json +15 -13
  86. package/src/brand/ams/text.tokens.json +0 -41
  87. package/src/common/ams/action.tokens.json +0 -12
  88. package/src/common/ams/hyphenation.tokens.json +0 -9
  89. package/src/common/ams/link-appearance.tokens.json +0 -43
  90. package/src/components/ams/breakout.tokens.json +0 -11
  91. package/src/components/ams/gap.tokens.json +0 -11
  92. package/src/components/ams/margin.tokens.json +0 -11
  93. /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.primary-white}" },
5
- "border": { "value": "{ams.border.width.sm} dashed {ams.color.neutral-grey3}" },
6
- "color": { "value": "{ams.color.primary-black}" },
7
- "cursor": { "value": "{ams.action.activate.cursor}" },
8
- "font-family": { "value": "{ams.text.font-family}" },
9
- "font-size": { "value": "{ams.text.level.5.font-size}" },
10
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
11
- "line-height": { "value": "{ams.text.level.5.line-height}" },
12
- "outline-offset": { "value": "{ams.focus.outline-offset}" },
13
- "padding-block": { "value": "{ams.space.md}" },
14
- "padding-inline": { "value": "{ams.space.md}" },
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.neutral-grey3}" },
17
- "cursor": { "value": "{ams.action.disabled.cursor}" }
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.primary-white}" },
21
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-blue}" },
22
- "color": { "value": "{ams.color.primary-blue}" },
23
- "cursor": { "value": "{ams.action.activate.cursor}" },
24
- "margin-inline-end": { "value": "{ams.space.md}" },
25
- "padding-block": { "value": "{ams.space.sm}" },
26
- "padding-inline": { "value": "{ams.space.md}" },
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.lg} {ams.color.dark-blue}" },
29
- "color": { "value": "{ams.color.dark-blue}" }
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.md} {ams.color.neutral-grey3}" },
33
- "color": { "value": "{ams.color.neutral-grey3}" },
34
- "cursor": { "value": "{ams.action.disabled.cursor}" }
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.md} solid" }
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.md}" },
5
- "padding-block": { "value": "{ams.space.md}" },
4
+ "gap": { "value": "{ams.space.m}" },
5
+ "padding-block": { "value": "{ams.space.m}" },
6
6
  "file": {
7
- "font-family": { "value": "{ams.text.font-family}" },
8
- "font-size": { "value": "{ams.text.level.6.font-size}" },
9
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
10
- "gap": { "value": "{ams.space.sm}" },
11
- "line-height": { "value": "{ams.text.level.6.line-height}" },
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.neutral-grey3}" }
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
- "top": {
5
- "background-color": { "value": "{ams.color.primary-blue}" }
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
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "grid": {
4
- "padding-inline": { "value": "{ams.space.grid.md}" }
4
+ "padding-inline": { "value": "{ams.space.xl}" }
5
5
  }
6
6
  }
7
7
  }
@@ -2,23 +2,25 @@
2
2
  "ams": {
3
3
  "grid": {
4
4
  "column-count": { "value": "4" },
5
- "column-gap": { "value": "{ams.space.grid.md}" },
5
+ "column-gap": { "value": "{ams.space.xl}" },
6
6
  "padding-block": {
7
- "sm": { "value": "{ams.space.grid.sm}" },
8
- "md": { "value": "{ams.space.grid.md}" },
9
- "lg": { "value": "{ams.space.grid.lg}" }
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.grid.lg}" },
11
+ "padding-inline": { "value": "{ams.space.l}" },
12
12
  "row-gap": {
13
- "sm": { "value": "{ams.space.grid.sm}" },
14
- "md": { "value": "{ams.space.grid.md}" },
15
- "lg": { "value": "{ams.space.grid.lg}" }
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
- "padding-block": { "value": "{ams.space.grid.sm}" },
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.bold}" }
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.lg}" },
30
+ "column-gap": { "value": "{ams.space.l}" },
27
31
  "row-gap": { "value": "{ams.space.xs}" },
28
32
  "item": {
29
- "color": { "value": "{ams.link-appearance.color}" },
33
+ "color": { "value": "{ams.links.color}" },
30
34
  "column-gap": { "value": "{ams.space.xs}" },
31
- "font-family": { "value": "{ams.text.font-family}" },
32
- "font-size": { "value": "{ams.text.level.5.font-size}" },
33
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
34
- "line-height": { "value": "{ams.text.level.5.line-height}" },
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.link-appearance.hover.color}" }
42
+ "color": { "value": "{ams.links.hover.color}" }
39
43
  }
40
44
  },
41
45
  "link": {
42
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
43
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
44
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
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.link-appearance.subtle.hover.text-decoration-line}" }
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.lg}" },
52
- "row-gap": { "value": "{ams.space.grid.md}" }
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.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
7
- "inverse-color": { "value": "{ams.color.primary-white}" },
8
- "level": {
9
- "1": {
10
- "font-size": { "value": "{ams.text.level.1.font-size}" },
11
- "line-height": { "value": "{ams.text.level.1.line-height}" }
12
- },
13
- "2": {
14
- "font-size": { "value": "{ams.text.level.2.font-size}" },
15
- "line-height": { "value": "{ams.text.level.2.line-height}" }
16
- },
17
- "3": {
18
- "font-size": { "value": "{ams.text.level.3.font-size}" },
19
- "line-height": { "value": "{ams.text.level.3.line-height}" }
20
- },
21
- "4": {
22
- "font-size": { "value": "{ams.text.level.4.font-size}" },
23
- "line-height": { "value": "{ams.text.level.4.line-height}" }
24
- },
25
- "5": {
26
- "font-size": { "value": "{ams.text.level.5.font-size}" },
27
- "line-height": { "value": "{ams.text.level.5.line-height}" }
28
- },
29
- "6": {
30
- "font-size": { "value": "{ams.text.level.6.font-size}" },
31
- "line-height": { "value": "{ams.text.level.6.line-height}" }
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,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "hint": {
4
- "color": { "value": "{ams.color.neutral-grey3}" }
4
+ "color": { "value": "{ams.color.text.secondary}" }
5
5
  }
6
6
  }
7
7
  }
@@ -1,35 +1,37 @@
1
1
  {
2
2
  "ams": {
3
3
  "icon-button": {
4
- "color": { "value": "{ams.color.primary-blue}" },
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": "rgba(0, 70, 153, 0.125)" },
8
- "color": { "value": "{ams.color.dark-blue}" }
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.neutral-grey3}" }
12
+ "color": { "value": "{ams.color.interactive.disabled}" },
13
+ "cursor": { "value": "{ams.cursor.disabled}" }
12
14
  },
13
- "contrast-color": {
14
- "color": { "value": "{ams.color.primary-black}" },
15
+ "contrast": {
16
+ "color": { "value": "{ams.color.interactive.contrast}" },
15
17
  "hover": {
16
- "background-color": { "value": "rgba(0, 0, 0, 0.125)" },
17
- "color": { "value": "{ams.color.primary-black}" }
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.neutral-grey3}" }
22
+ "color": { "value": "{ams.color.interactive.disabled}" }
21
23
  }
22
24
  },
23
- "inverse-color": {
24
- "background-color": { "value": "{ams.color.primary-blue}" },
25
- "color": { "value": "{ams.color.primary-white}" },
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.dark-blue}" },
28
- "color": { "value": "{ams.color.primary-white}" }
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.primary-white}" },
32
- "background-color": { "value": "{ams.color.neutral-grey3}" }
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
- "inverse": {
5
- "color": { "value": "{ams.color.primary-white}" }
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
- "size-3": {
8
- "font-size": { "value": "{ams.text.level.3.font-size}" },
9
- "line-height": { "value": "{ams.text.level.3.line-height}" }
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
- "size-4": {
12
- "font-size": { "value": "{ams.text.level.4.font-size}" },
13
- "line-height": { "value": "{ams.text.level.4.line-height}" }
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
- "size-5": {
16
- "font-size": { "value": "{ams.text.level.5.font-size}" },
17
- "line-height": { "value": "{ams.text.level.5.line-height}" }
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
- "size-6": {
20
- "font-size": { "value": "{ams.text.level.6.font-size}" },
21
- "line-height": { "value": "{ams.text.level.6.line-height}" }
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.action.activate.cursor}" },
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,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "image": {
4
- "aspect-ratio": { "value": "{ams.aspect-ratio.x-wide}" }
4
+ "aspect-ratio": { "value": "{ams.aspect-ratio.16-9}" }
5
5
  }
6
6
  }
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ams": {
3
- "form-error-list": {
3
+ "invalid-form-alert": {
4
4
  "outline-offset": { "value": "{ams.focus.outline-offset}" }
5
5
  }
6
6
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "ams": {
3
3
  "label": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.4.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
8
- "line-height": { "value": "{ams.text.level.4.line-height}" }
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.sm}" },
4
+ "gap": { "value": "{ams.space.s}" },
5
5
  "link": {
6
- "color": { "value": "{ams.link-appearance.color}" },
7
- "font-family": { "value": "{ams.text.font-family}" },
8
- "font-size": { "value": "{ams.text.level.5.font-size}" },
9
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
10
- "gap": { "value": "{ams.space.sm}" },
11
- "line-height": { "value": "{ams.text.level.5.line-height}" },
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.link-appearance.subtle.text-decoration-line}" },
14
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
15
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
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.level.6.font-size}" },
18
- "line-height": { "value": "{ams.text.level.6.line-height}" }
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.level.4.font-size}" },
22
- "line-height": { "value": "{ams.text.level.4.line-height}" }
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.link-appearance.hover.color}" },
26
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
25
+ "color": { "value": "{ams.links.hover.color}" },
26
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
27
27
  },
28
- "contrast-color": {
29
- "color": { "value": "{ams.link-appearance.contrast.color}" },
28
+ "contrast": {
29
+ "color": { "value": "{ams.links.contrast.color}" },
30
30
  "hover": {
31
- "color": { "value": "{ams.link-appearance.contrast.hover.color}" }
31
+ "color": { "value": "{ams.links.contrast.hover.color}" }
32
32
  }
33
33
  },
34
- "inverse-color": {
35
- "color": { "value": "{ams.link-appearance.inverse.color}" },
34
+ "inverse": {
35
+ "color": { "value": "{ams.links.inverse.color}" },
36
36
  "hover": {
37
- "color": { "value": "{ams.link-appearance.inverse.hover.color}" }
37
+ "color": { "value": "{ams.links.inverse.hover.color}" }
38
38
  }
39
39
  }
40
40
  }