@amsterdam/design-system-tokens 0.13.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 (95) hide show
  1. package/CHANGELOG.md +89 -1
  2. package/README.md +27 -14
  3. package/build.js +42 -13
  4. package/dist/compact.css +18 -18
  5. package/dist/compact.d.ts +44 -38
  6. package/dist/compact.json +21 -15
  7. package/dist/compact.mjs +27 -18
  8. package/dist/compact.scss +18 -18
  9. package/dist/compact.theme.css +18 -18
  10. package/dist/index.css +789 -744
  11. package/dist/index.d.ts +1544 -1473
  12. package/dist/index.json +687 -616
  13. package/dist/index.mjs +900 -636
  14. package/dist/index.scss +789 -744
  15. package/dist/index.theme.css +789 -744
  16. package/package.json +4 -3
  17. package/src/brand/ams/aspect-ratio.tokens.json +12 -0
  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 +26 -19
  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 +6 -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 +17 -0
  45. package/src/components/ams/file-input.tokens.json +29 -26
  46. package/src/components/ams/file-list.tokens.json +21 -0
  47. package/src/components/ams/footer.tokens.json +30 -0
  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 +50 -4
  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 +25 -12
  55. package/src/components/ams/image-slider.tokens.json +1 -1
  56. package/src/components/ams/image.tokens.json +7 -0
  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 +11 -4
  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 +40 -25
  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 -28
  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 -15
  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 -10
  80. package/src/components/ams/tabs.tokens.json +16 -17
  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/proportion.tokens.json +0 -12
  87. package/src/brand/ams/text.tokens.json +0 -41
  88. package/src/common/ams/action.tokens.json +0 -12
  89. package/src/common/ams/hyphenation.tokens.json +0 -9
  90. package/src/common/ams/link-appearance.tokens.json +0 -43
  91. package/src/components/ams/aspect-ratio.tokens.json +0 -12
  92. package/src/components/ams/breakout.tokens.json +0 -11
  93. package/src/components/ams/gap.tokens.json +0 -11
  94. package/src/components/ams/margin.tokens.json +0 -11
  95. /package/src/{common → brand}/ams/focus.tokens.json +0 -0
@@ -0,0 +1,21 @@
1
+ {
2
+ "ams": {
3
+ "file-list": {
4
+ "gap": { "value": "{ams.space.m}" },
5
+ "padding-block": { "value": "{ams.space.m}" },
6
+ "file": {
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
+ "details": {
13
+ "color": { "value": "{ams.color.text.secondary}" }
14
+ },
15
+ "preview": {
16
+ "width": { "value": "clamp(2.5rem, 10vw, 5rem)" }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "ams": {
3
+ "footer": {
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" }
27
+ }
28
+ }
29
+ }
30
+ }
@@ -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,13 +1,59 @@
1
1
  {
2
2
  "ams": {
3
3
  "header": {
4
- "column-gap": {
5
- "value": "{ams.space.grid.md}",
6
- "comment": "Must have the same value as `ams.grid.column-gap`."
4
+ "font-family": { "value": "{ams.typography.font-family}" },
5
+ "padding-block": { "value": "{ams.space.l}" },
6
+ "padding-inline": {
7
+ "value": "{ams.grid.padding-inline}",
8
+ "comment": "Must be the Grid inline padding, to make sure Header and Grid line up"
7
9
  },
8
- "padding-block": { "value": "{ams.space.md}" },
9
10
  "logo-link": {
11
+ "column-gap": { "value": "{ams.space.m}" },
10
12
  "outline-offset": { "value": "{ams.focus.outline-offset}" }
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
+ },
19
+ "mega-menu": {
20
+ "button": {
21
+ "cursor": { "value": "{ams.cursor.interactive}" },
22
+ "label": {
23
+ "open": {
24
+ "font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" }
25
+ }
26
+ }
27
+ }
28
+ },
29
+ "menu": {
30
+ "column-gap": { "value": "{ams.space.l}" },
31
+ "row-gap": { "value": "{ams.space.xs}" },
32
+ "item": {
33
+ "color": { "value": "{ams.links.color}" },
34
+ "column-gap": { "value": "{ams.space.xs}" },
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}" },
39
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
40
+ "padding-block": { "value": "{ams.space.xs}" },
41
+ "hover": {
42
+ "color": { "value": "{ams.links.hover.color}" }
43
+ }
44
+ },
45
+ "link": {
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}" },
49
+ "hover": {
50
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
51
+ }
52
+ }
53
+ },
54
+ "navigation": {
55
+ "column-gap": { "value": "{ams.space.l}" },
56
+ "row-gap": { "value": "{ams.space.s}" }
11
57
  }
12
58
  }
13
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-grey2}" }
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-grey2}" }
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-grey2}" }
33
+ "color": { "value": "{ams.color.interactive.inverse}" },
34
+ "background-color": { "value": "{ams.color.interactive.disabled}" }
33
35
  }
34
36
  }
35
37
  }
@@ -1,21 +1,34 @@
1
1
  {
2
2
  "ams": {
3
3
  "icon": {
4
- "size-3": {
5
- "font-size": { "value": "{ams.text.level.3.font-size}" },
6
- "line-height": { "value": "{ams.text.level.3.line-height}" }
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}" }
7
9
  },
8
- "size-4": {
9
- "font-size": { "value": "{ams.text.level.4.font-size}" },
10
- "line-height": { "value": "{ams.text.level.4.line-height}" }
10
+ "large": {
11
+ "font-size": { "value": "{ams.typography.body-text.large.font-size}" },
12
+ "line-height": { "value": "{ams.typography.body-text.large.line-height}" }
11
13
  },
12
- "size-5": {
13
- "font-size": { "value": "{ams.text.level.5.font-size}" },
14
- "line-height": { "value": "{ams.text.level.5.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}" }
15
17
  },
16
- "size-6": {
17
- "font-size": { "value": "{ams.text.level.6.font-size}" },
18
- "line-height": { "value": "{ams.text.level.6.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}" }
21
+ },
22
+ "heading-5": {
23
+ "font-size": { "value": "{ams.typography.heading.5.font-size}" },
24
+ "line-height": { "value": "{ams.typography.heading.5.line-height}" }
25
+ },
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}" }
19
32
  }
20
33
  }
21
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": {
@@ -0,0 +1,7 @@
1
+ {
2
+ "ams": {
3
+ "image": {
4
+ "aspect-ratio": { "value": "{ams.aspect-ratio.16-9}" }
5
+ }
6
+ }
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
  }
@@ -1,59 +1,48 @@
1
1
  {
2
2
  "ams": {
3
3
  "link": {
4
- "color": { "value": "{ams.link-appearance.color}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
4
+ "color": { "value": "{ams.links.color}" },
5
+ "font-family": { "value": "{ams.typography.font-family}" },
6
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
7
7
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
8
8
  "hover": {
9
- "color": { "value": "{ams.link-appearance.hover.color}" }
9
+ "color": { "value": "{ams.links.hover.color}" }
10
10
  },
11
11
  "inline": {
12
- "text-decoration-line": { "value": "{ams.link-appearance.regular.text-decoration-line}" },
13
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
14
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
12
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
13
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
15
14
  "font-family": { "value": "inherit" },
16
15
  "font-size": { "value": "inherit" },
17
16
  "line-height": { "value": "inherit" },
18
17
  "hover": {
19
18
  "text-decoration-thickness": {
20
- "value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
19
+ "value": "{ams.links.hover.text-decoration-thickness}"
21
20
  },
22
- "text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
23
- },
24
- "visited": {
25
- "color": { "value": "{ams.color.purple}" }
21
+ "text-underline-offset": { "value": "{ams.links.hover.text-underline-offset}" }
26
22
  }
27
23
  },
28
24
  "standalone": {
29
- "font-size": { "value": "{ams.text.level.5.font-size}" },
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}" },
25
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
26
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
27
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
28
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
34
29
  "hover": {
35
30
  "text-decoration-thickness": {
36
- "value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
31
+ "value": "{ams.links.hover.text-decoration-thickness}"
37
32
  },
38
- "text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
33
+ "text-underline-offset": { "value": "{ams.links.hover.text-underline-offset}" }
39
34
  }
40
35
  },
41
- "contrast-color": {
42
- "color": { "value": "{ams.link-appearance.contrast.color}" },
36
+ "contrast": {
37
+ "color": { "value": "{ams.links.contrast.color}" },
43
38
  "hover": {
44
- "color": { "value": "{ams.link-appearance.contrast.hover.color}" }
45
- },
46
- "visited": {
47
- "color": { "value": "{ams.link-appearance.contrast.visited.color}" }
39
+ "color": { "value": "{ams.links.contrast.hover.color}" }
48
40
  }
49
41
  },
50
- "inverse-color": {
51
- "color": { "value": "{ams.link-appearance.inverse.color}" },
42
+ "inverse": {
43
+ "color": { "value": "{ams.links.inverse.color}" },
52
44
  "hover": {
53
- "color": { "value": "{ams.link-appearance.inverse.hover.color}" }
54
- },
55
- "visited": {
56
- "color": { "value": "{ams.link-appearance.inverse.visited.color}" }
45
+ "color": { "value": "{ams.links.inverse.hover.color}" }
57
46
  }
58
47
  }
59
48
  }
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "ams": {
3
3
  "logo": {
4
- "block-size": { "value": "2.5rem" },
5
- "emblem": { "color": { "value": "{ams.color.primary-red}" } },
6
- "title": { "color": { "value": "{ams.color.primary-red}" } },
7
- "subsite": { "color": { "value": "{ams.color.primary-black}" } }
4
+ "block-size": { "value": "{ams.space.xl}" },
5
+ "min-block-size": { "value": "2.5rem" },
6
+ "emblem": {
7
+ "color": { "value": "#ec0000" }
8
+ },
9
+ "subsite": {
10
+ "color": { "value": "{ams.color.text.default}" }
11
+ },
12
+ "title": {
13
+ "color": { "value": "#ec0000" }
14
+ }
8
15
  }
9
16
  }
10
17
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "mark": {
4
- "background-color": { "value": "{ams.color.yellow}" }
4
+ "background-color": { "value": "{ams.color.highlight.yellow}" }
5
5
  }
6
6
  }
7
7
  }
@@ -3,13 +3,13 @@
3
3
  "mega-menu": {
4
4
  "list-category": {
5
5
  "column-gap": {
6
- "value": "{ams.space.grid.md}",
6
+ "value": "{ams.space.xl}",
7
7
  "comment": "Must have the same value as `ams.grid.column-gap`."
8
8
  },
9
9
  "column-width": { "value": "20rem" },
10
- "padding-block-start": { "value": "{ams.space.md}" },
10
+ "padding-block-start": { "value": "{ams.space.m}" },
11
11
  "padding-block-end": {
12
- "value": "{ams.space.grid.md}",
12
+ "value": "{ams.space.xl}",
13
13
  "comment": "Must have the same value as `ams.grid.row-gap.md`."
14
14
  }
15
15
  }