@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.
Files changed (98) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/LICENSE.md +2 -2
  3. package/README.md +18 -11
  4. package/build.js +39 -16
  5. package/dist/compact.css +18 -18
  6. package/dist/compact.d.ts +18 -12
  7. package/dist/compact.json +21 -15
  8. package/dist/compact.mjs +21 -22
  9. package/dist/compact.scss +18 -18
  10. package/dist/compact.theme.css +18 -18
  11. package/dist/index.css +788 -780
  12. package/dist/index.d.ts +414 -410
  13. package/dist/index.json +700 -696
  14. package/dist/index.mjs +609 -585
  15. package/dist/index.scss +788 -780
  16. package/dist/index.theme.css +788 -780
  17. package/package.json +5 -4
  18. package/src/brand/ams/aspect-ratio.tokens.json +6 -6
  19. package/src/brand/ams/border.tokens.json +3 -3
  20. package/src/brand/ams/color.tokens.json +34 -15
  21. package/src/brand/ams/cursor.tokens.json +8 -0
  22. package/src/brand/ams/space.compact.tokens.json +6 -15
  23. package/src/brand/ams/space.tokens.json +5 -14
  24. package/src/brand/ams/{text.compact.tokens.json → typography.compact.tokens.json} +14 -2
  25. package/src/brand/ams/typography.tokens.json +60 -0
  26. package/src/common/ams/links.tokens.json +32 -0
  27. package/src/components/ams/accordion.tokens.json +12 -12
  28. package/src/components/ams/action-group.tokens.json +1 -1
  29. package/src/components/ams/alert.tokens.json +27 -15
  30. package/src/components/ams/avatar.tokens.json +23 -53
  31. package/src/components/ams/badge.tokens.json +22 -48
  32. package/src/components/ams/blockquote.tokens.json +8 -6
  33. package/src/components/ams/breadcrumb.tokens.json +10 -10
  34. package/src/components/ams/button.tokens.json +31 -33
  35. package/src/components/ams/card.tokens.json +14 -8
  36. package/src/components/ams/character-count.tokens.json +6 -6
  37. package/src/components/ams/checkbox.tokens.json +31 -29
  38. package/src/components/ams/column.tokens.json +5 -6
  39. package/src/components/ams/date-input.tokens.json +18 -16
  40. package/src/components/ams/description-list.tokens.json +21 -10
  41. package/src/components/ams/dialog.tokens.json +34 -8
  42. package/src/components/ams/error-message.tokens.json +5 -5
  43. package/src/components/ams/field-set.tokens.json +9 -8
  44. package/src/components/ams/field.tokens.json +3 -3
  45. package/src/components/ams/figure.tokens.json +9 -7
  46. package/src/components/ams/file-input.tokens.json +29 -26
  47. package/src/components/ams/file-list.tokens.json +8 -8
  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/heading.tokens.json +30 -29
  51. package/src/components/ams/hint.tokens.json +1 -1
  52. package/src/components/ams/icon-button.tokens.json +18 -16
  53. package/src/components/ams/icon.tokens.json +24 -14
  54. package/src/components/ams/image-slider.tokens.json +1 -1
  55. package/src/components/ams/image.tokens.json +1 -1
  56. package/src/components/ams/{form-error-list.tokens.json → invalid-form-alert.tokens.json} +1 -1
  57. package/src/components/ams/label.tokens.json +6 -5
  58. package/src/components/ams/link-list.tokens.json +22 -22
  59. package/src/components/ams/link.tokens.json +16 -46
  60. package/src/components/ams/logo.tokens.json +10 -7
  61. package/src/components/ams/mark.tokens.json +1 -1
  62. package/src/components/ams/ordered-list.tokens.json +13 -11
  63. package/src/components/ams/page-footer.tokens.json +36 -0
  64. package/src/components/ams/page-header.tokens.json +67 -0
  65. package/src/components/ams/page-heading.tokens.json +9 -6
  66. package/src/components/ams/page.tokens.json +8 -0
  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/search-field.tokens.json +17 -18
  73. package/src/components/ams/select.tokens.json +17 -16
  74. package/src/components/ams/skip-link.tokens.json +9 -9
  75. package/src/components/ams/spotlight.tokens.json +10 -10
  76. package/src/components/ams/standalone-link.tokens.json +40 -0
  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/unordered-list.tokens.json +15 -13
  85. package/src/brand/ams/text.tokens.json +0 -41
  86. package/src/common/ams/action.tokens.json +0 -12
  87. package/src/common/ams/hyphenation.tokens.json +0 -9
  88. package/src/common/ams/link-appearance.tokens.json +0 -43
  89. package/src/components/ams/breakout.tokens.json +0 -11
  90. package/src/components/ams/footer.tokens.json +0 -9
  91. package/src/components/ams/gap.tokens.json +0 -11
  92. package/src/components/ams/header.tokens.json +0 -56
  93. package/src/components/ams/margin.tokens.json +0 -11
  94. package/src/components/ams/mega-menu.tokens.json +0 -18
  95. package/src/components/ams/page-menu.tokens.json +0 -24
  96. package/src/components/ams/screen.tokens.json +0 -13
  97. package/src/components/ams/top-task-link.tokens.json +0 -29
  98. /package/src/{common → brand}/ams/focus.tokens.json +0 -0
@@ -0,0 +1,36 @@
1
+ {
2
+ "ams": {
3
+ "page-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
+ "medium": {
10
+ "padding-inline": { "value": "{ams.grid.medium.padding-inline}" }
11
+ },
12
+ "wide": {
13
+ "padding-inline": { "value": "{ams.grid.wide.padding-inline}" }
14
+ },
15
+ "link": {
16
+ "color": { "value": "{ams.links.color}" },
17
+ "font-family": { "value": "{ams.typography.font-family}" },
18
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
19
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
20
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
21
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
22
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
23
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
24
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
25
+ "hover": {
26
+ "color": { "value": "{ams.links.hover.color}" },
27
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
28
+ }
29
+ }
30
+ },
31
+ "spotlight": {
32
+ "background-color": { "value": "#004699" }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "ams": {
3
+ "page-header": {
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"
9
+ },
10
+ "medium": {
11
+ "padding-inline": { "value": "{ams.grid.medium.padding-inline}" }
12
+ },
13
+ "wide": {
14
+ "padding-inline": { "value": "{ams.grid.wide.padding-inline}" }
15
+ },
16
+ "logo-link": {
17
+ "column-gap": { "value": "{ams.space.m}" },
18
+ "outline-offset": { "value": "{ams.focus.outline-offset}" }
19
+ },
20
+ "brand-name": {
21
+ "color": { "value": "{ams.color.text.default}" },
22
+ "font-size": { "value": "{ams.typography.heading.4.font-size}" },
23
+ "font-weight": { "value": "{ams.typography.heading.font-weight}" },
24
+ "text-wrap": { "value": "{ams.typography.heading.text-wrap}" }
25
+ },
26
+ "mega-menu": {
27
+ "button": {
28
+ "cursor": { "value": "{ams.cursor.interactive}" },
29
+ "label": {
30
+ "open": {
31
+ "font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" }
32
+ }
33
+ }
34
+ }
35
+ },
36
+ "menu": {
37
+ "column-gap": { "value": "{ams.space.l}" },
38
+ "row-gap": { "value": "{ams.space.xs}" },
39
+ "item": {
40
+ "color": { "value": "{ams.links.color}" },
41
+ "column-gap": { "value": "{ams.space.xs}" },
42
+ "font-family": { "value": "{ams.typography.font-family}" },
43
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
44
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
45
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
46
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
47
+ "padding-block": { "value": "{ams.space.xs}" },
48
+ "hover": {
49
+ "color": { "value": "{ams.links.hover.color}" }
50
+ }
51
+ },
52
+ "link": {
53
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
54
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
55
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
56
+ "hover": {
57
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
58
+ }
59
+ }
60
+ },
61
+ "navigation": {
62
+ "column-gap": { "value": "{ams.space.l}" },
63
+ "row-gap": { "value": "{ams.space.s}" }
64
+ }
65
+ }
66
+ }
67
+ }
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "ams": {
3
3
  "page-heading": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.0.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
8
- "inverse-color": { "value": "{ams.color.primary-white}" },
9
- "line-height": { "value": "{ams.text.level.0.font-size}" }
4
+ "color": { "value": "{ams.color.text.default}" },
5
+ "font-family": { "value": "{ams.typography.font-family}" },
6
+ "font-size": { "value": "{ams.typography.heading.0.font-size}" },
7
+ "font-weight": { "value": "{ams.typography.heading.font-weight}" },
8
+ "line-height": { "value": "{ams.typography.heading.0.line-height}" },
9
+ "text-wrap": { "value": "{ams.typography.heading.text-wrap}" },
10
+ "inverse": {
11
+ "color": { "value": "{ams.color.text.inverse}" }
12
+ }
10
13
  }
11
14
  }
12
15
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "ams": {
3
+ "page": {
4
+ "background-color": { "value": "{ams.color.background}" },
5
+ "max-inline-size": { "value": "100rem" }
6
+ }
7
+ }
8
+ }
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "ams": {
3
3
  "pagination": {
4
- "color": { "value": "{ams.link-appearance.color}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.5.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
8
- "line-height": { "value": "{ams.text.level.5.line-height}" },
9
- "button": {
4
+ "font-family": { "value": "{ams.typography.font-family}" },
5
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
6
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
7
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
8
+ "link": {
9
+ "color": { "value": "{ams.links.color}" },
10
10
  "gap": { "value": "{ams.space.xs}" },
11
11
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
12
- "padding-inline": { "value": "{ams.space.sm}" },
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}" },
12
+ "padding-inline": { "value": "{ams.space.s}" },
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
  "current": {
17
- "font-weight": { "value": "{ams.text.font-weight.bold}" }
17
+ "font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" }
18
18
  },
19
19
  "hover": {
20
- "color": { "value": "{ams.link-appearance.hover.color}" },
21
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
20
+ "color": { "value": "{ams.links.hover.color}" },
21
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
22
22
  }
23
23
  }
24
24
  }
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "ams": {
3
3
  "paragraph": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.5.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
8
- "line-height": { "value": "{ams.text.level.5.line-height}" },
9
- "inverse-color": { "value": "{ams.color.primary-white}" },
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
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
9
+ "inverse": {
10
+ "color": { "value": "{ams.color.text.inverse}" }
11
+ },
10
12
  "small": {
11
- "font-size": { "value": "{ams.text.level.6.font-size}" },
12
- "line-height": { "value": "{ams.text.level.6.line-height}" }
13
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
14
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" }
13
15
  },
14
16
  "large": {
15
- "font-size": { "value": "{ams.text.level.4.font-size}" },
16
- "line-height": { "value": "{ams.text.level.4.line-height}" }
17
+ "font-size": { "value": "{ams.typography.body-text.large.font-size}" },
18
+ "line-height": { "value": "{ams.typography.body-text.large.line-height}" }
17
19
  }
18
20
  }
19
21
  }
@@ -1,32 +1,33 @@
1
1
  {
2
2
  "ams": {
3
3
  "password-input": {
4
- "background-color": { "value": "{ams.color.primary-white}" },
5
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
6
- "color": { "value": "{ams.color.primary-black}" },
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
- "line-height": { "value": "{ams.text.level.5.line-height}" },
4
+ "background-color": { "value": "{ams.color.background}" },
5
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.secondary}" },
6
+ "color": { "value": "{ams.color.text.default}" },
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
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
11
11
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
12
- "padding-block": { "value": "{ams.space.sm}" },
13
- "padding-inline": { "value": "{ams.space.md}" },
12
+ "padding-block": { "value": "{ams.space.s}" },
13
+ "padding-inline": { "value": "{ams.space.m}" },
14
14
  "disabled": {
15
- "background-color": { "value": "{ams.color.primary-white}" },
16
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.neutral-grey3}" },
17
- "color": { "value": "{ams.color.neutral-grey3}" }
15
+ "background-color": { "value": "{ams.color.background}" },
16
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.disabled}" },
17
+ "color": { "value": "{ams.color.interactive.disabled}" },
18
+ "cursor": { "value": "{ams.cursor.disabled}" }
18
19
  },
19
20
  "hover": {
20
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-black}" }
21
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" }
21
22
  },
22
23
  "invalid": {
23
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-red}" },
24
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.default}" },
24
25
  "hover": {
25
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-red}" }
26
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.invalid.hover}" }
26
27
  }
27
28
  },
28
29
  "placeholder": {
29
- "color": { "value": "{ams.color.neutral-grey3}" }
30
+ "color": { "value": "{ams.color.text.secondary}" }
30
31
  }
31
32
  }
32
33
  }
@@ -1,76 +1,78 @@
1
1
  {
2
2
  "ams": {
3
3
  "radio": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.5.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
8
- "gap": { "value": "{ams.space.sm}" },
9
- "line-height": { "value": "{ams.text.level.5.line-height}" },
4
+ "color": { "value": "{ams.color.text.default}" },
5
+ "cursor": { "value": "{ams.cursor.interactive}" },
6
+ "font-family": { "value": "{ams.typography.font-family}" },
7
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
8
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
9
+ "gap": { "value": "{ams.space.s}" },
10
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
10
11
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
12
- "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}" },
13
14
  "checked-indicator": {
14
- "fill": { "value": "{ams.color.primary-blue}" },
15
+ "fill": { "value": "{ams.color.interactive.default}" },
15
16
  "disabled": {
16
- "fill": { "value": "{ams.color.neutral-grey3}" }
17
+ "fill": { "value": "{ams.color.interactive.disabled}" }
17
18
  },
18
19
  "disabled-invalid": {
19
- "fill": { "value": "{ams.color.neutral-grey3}" },
20
+ "fill": { "value": "{ams.color.interactive.disabled}" },
20
21
  "hover": {
21
- "fill": { "value": "{ams.color.neutral-grey3}" }
22
+ "fill": { "value": "{ams.color.interactive.disabled}" }
22
23
  }
23
24
  },
24
25
  "hover": {
25
- "fill": { "value": "{ams.color.dark-blue}" }
26
+ "fill": { "value": "{ams.color.interactive.hover}" }
26
27
  },
27
28
  "invalid": {
28
- "fill": { "value": "{ams.color.primary-red}" },
29
+ "fill": { "value": "{ams.color.interactive.invalid.default}" },
29
30
  "hover": {
30
- "fill": { "value": "{ams.color.primary-red}" }
31
+ "fill": { "value": "{ams.color.interactive.invalid.hover}" }
31
32
  }
32
33
  }
33
34
  },
34
35
  "hover-indicator": {
35
36
  "stroke-width": { "value": "3px" },
36
37
  "hover": {
37
- "stroke": { "value": "{ams.color.primary-blue}" }
38
+ "stroke": { "value": "{ams.color.interactive.hover}" }
38
39
  },
39
40
  "invalid": {
40
41
  "hover": {
41
- "stroke": { "value": "{ams.color.primary-red}" }
42
+ "stroke": { "value": "{ams.color.interactive.invalid.hover}" }
42
43
  }
43
44
  }
44
45
  },
45
46
  "circle": {
46
- "fill": { "value": "{ams.color.primary-white}" },
47
- "stroke": { "value": "{ams.color.primary-blue}" },
47
+ "fill": { "value": "{ams.color.background}" },
48
+ "stroke": { "value": "{ams.color.interactive.default}" },
48
49
  "stroke-width": { "value": "2px" },
49
50
  "disabled": {
50
- "stroke": { "value": "{ams.color.neutral-grey3}" }
51
+ "stroke": { "value": "{ams.color.interactive.disabled}" }
51
52
  },
52
53
  "disabled-invalid": {
53
- "stroke": { "value": "{ams.color.neutral-grey3}" },
54
+ "stroke": { "value": "{ams.color.interactive.disabled}" },
54
55
  "hover": {
55
- "stroke": { "value": "{ams.color.neutral-grey3}" }
56
+ "stroke": { "value": "{ams.color.interactive.disabled}" }
56
57
  }
57
58
  },
58
59
  "hover": {
59
- "stroke": { "value": "{ams.color.dark-blue}" }
60
+ "stroke": { "value": "{ams.color.interactive.hover}" }
60
61
  },
61
62
  "invalid": {
62
- "stroke": { "value": "{ams.color.primary-red}" },
63
+ "stroke": { "value": "{ams.color.interactive.invalid.default}" },
63
64
  "hover": {
64
- "stroke": { "value": "{ams.color.primary-red}" }
65
+ "stroke": { "value": "{ams.color.interactive.invalid.hover}" }
65
66
  }
66
67
  }
67
68
  },
68
69
  "disabled": {
69
- "color": { "value": "{ams.color.neutral-grey3}" }
70
+ "color": { "value": "{ams.color.interactive.disabled}" },
71
+ "cursor": { "value": "{ams.cursor.disabled}" }
70
72
  },
71
73
  "hover": {
72
- "color": { "value": "{ams.color.dark-blue}" },
73
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
74
+ "color": { "value": "{ams.color.interactive.hover}" },
75
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
74
76
  },
75
77
  "icon-container": {
76
78
  "block-size": { "value": "calc({ams.radio.font-size} * {ams.radio.line-height})" },
@@ -2,12 +2,11 @@
2
2
  "ams": {
3
3
  "row": {
4
4
  "gap": {
5
- "no": { "value": "0" },
6
- "xs": { "value": "{ams.space.xs}" },
7
- "sm": { "value": "{ams.space.sm}" },
8
- "md": { "value": "{ams.space.md}" },
9
- "lg": { "value": "{ams.space.lg}" },
10
- "xl": { "value": "{ams.space.xl}" }
5
+ "x-small": { "value": "{ams.space.xs}" },
6
+ "small": { "value": "{ams.space.s}" },
7
+ "medium": { "value": "{ams.space.m}" },
8
+ "large": { "value": "{ams.space.l}" },
9
+ "x-large": { "value": "{ams.space.xl}" }
11
10
  }
12
11
  }
13
12
  }
@@ -2,37 +2,36 @@
2
2
  "ams": {
3
3
  "search-field": {
4
4
  "input": {
5
- "background-color": { "value": "{ams.color.primary-white}" },
6
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
7
- "color": { "value": "{ams.color.primary-black}" },
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}" },
5
+ "background-color": { "value": "{ams.color.background}" },
6
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.secondary}" },
7
+ "color": { "value": "{ams.color.text.default}" },
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
12
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
13
- "padding-block": { "value": "{ams.space.sm}" },
14
- "padding-inline": { "value": "{ams.space.md}" },
13
+ "padding-block": { "value": "{ams.space.s}" },
14
+ "padding-inline": { "value": "{ams.space.m}" },
15
15
  "cancel-button": {
16
16
  "background-image": {
17
17
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z'/></svg>\")"
18
18
  },
19
- "block-size": { "value": "{ams.text.level.5.font-size}" },
20
- "color": { "value": "{ams.color.primary-blue}" },
21
- "inline-size": { "value": "{ams.text.level.5.font-size}" }
19
+ "block-size": { "value": "{ams.typography.body-text.font-size}" },
20
+ "color": { "value": "{ams.color.interactive.default}" },
21
+ "cursor": { "value": "{ams.cursor.interactive}" },
22
+ "inline-size": { "value": "{ams.typography.body-text.font-size}" }
22
23
  },
23
24
  "hover": {
24
- "box-shadow": {
25
- "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-black}"
26
- }
25
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" }
27
26
  },
28
27
  "invalid": {
29
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-red}" },
28
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.default}" },
30
29
  "hover": {
31
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-red}" }
30
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.invalid.hover}" }
32
31
  }
33
32
  },
34
33
  "placeholder": {
35
- "color": { "value": "{ams.color.neutral-grey3}" }
34
+ "color": { "value": "{ams.color.text.secondary}" }
36
35
  }
37
36
  }
38
37
  }
@@ -1,39 +1,40 @@
1
1
  {
2
2
  "ams": {
3
3
  "select": {
4
- "background-color": { "value": "{ams.color.primary-white}" },
4
+ "background-color": { "value": "{ams.color.background}" },
5
5
  "background-image": {
6
6
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
7
7
  },
8
- "background-position": { "value": "right {ams.space.md} center" },
9
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
10
- "color": { "value": "{ams.color.primary-black}" },
11
- "font-family": { "value": "{ams.text.font-family}" },
12
- "font-size": { "value": "{ams.text.level.5.font-size}" },
13
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
14
- "line-height": { "value": "{ams.text.level.5.line-height}" },
8
+ "background-position": { "value": "right {ams.space.m} center" },
9
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.secondary}" },
10
+ "color": { "value": "{ams.color.text.default}" },
11
+ "font-family": { "value": "{ams.typography.font-family}" },
12
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
13
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
14
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
15
15
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
16
- "padding-block": { "value": "{ams.space.sm}" },
17
- "padding-inline": { "value": "{ams.space.md} calc(2 * {ams.space.md} + 1em)" },
16
+ "padding-block": { "value": "{ams.space.s}" },
17
+ "padding-inline": { "value": "{ams.space.m} calc(2 * {ams.space.m} + 1em)" },
18
18
  "disabled": {
19
19
  "background-image": {
20
20
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23BEBEBE' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
21
21
  },
22
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.neutral-grey3}" },
23
- "color": { "value": "{ams.color.neutral-grey3}" }
22
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.disabled}" },
23
+ "color": { "value": "{ams.color.interactive.disabled}" },
24
+ "cursor": { "value": "{ams.cursor.disabled}" }
24
25
  },
25
26
  "hover": {
26
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-black}" }
27
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" }
27
28
  },
28
29
  "invalid": {
29
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-red}" },
30
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.default}" },
30
31
  "hover": {
31
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-red}" }
32
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.invalid.hover}" }
32
33
  }
33
34
  },
34
35
  "option": {
35
36
  "disabled": {
36
- "color": { "value": "{ams.color.neutral-grey3}" }
37
+ "color": { "value": "{ams.color.interactive.disabled}" }
37
38
  }
38
39
  }
39
40
  }
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "ams": {
3
3
  "skip-link": {
4
- "background-color": { "value": "{ams.color.primary-blue}" },
5
- "color": { "value": "{ams.color.primary-white}" },
6
- "font-family": { "value": "{ams.text.font-family}" },
7
- "font-size": { "value": "{ams.text.level.6.font-size}" },
8
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
9
- "line-height": { "value": "{ams.text.level.6.line-height}" },
4
+ "background-color": { "value": "{ams.color.interactive.default}" },
5
+ "color": { "value": "{ams.color.text.inverse}" },
6
+ "font-family": { "value": "{ams.typography.font-family}" },
7
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
8
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
9
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
10
10
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
- "padding-block": { "value": "{ams.space.sm}" },
12
- "padding-inline": { "value": "{ams.space.md}" },
11
+ "padding-block": { "value": "{ams.space.s}" },
12
+ "padding-inline": { "value": "{ams.space.m}" },
13
13
  "hover": {
14
- "background-color": { "value": "{ams.color.dark-blue}" }
14
+ "background-color": { "value": "{ams.color.interactive.hover}" }
15
15
  }
16
16
  }
17
17
  }
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "ams": {
3
3
  "spotlight": {
4
- "background-color": { "value": "{ams.color.purple}" },
5
- "blue": {
6
- "background-color": { "value": "{ams.color.blue}" }
7
- },
8
- "dark-green": {
9
- "background-color": { "value": "{ams.color.dark-green}" }
4
+ "background-color": { "value": "{ams.color.highlight.purple}" },
5
+ "azure": {
6
+ "background-color": { "value": "{ams.color.highlight.azure}" }
10
7
  },
11
8
  "green": {
12
- "background-color": { "value": "{ams.color.green}" }
9
+ "background-color": { "value": "{ams.color.highlight.green}" }
10
+ },
11
+ "lime": {
12
+ "background-color": { "value": "{ams.color.highlight.lime}" }
13
13
  },
14
14
  "magenta": {
15
- "background-color": { "value": "{ams.color.magenta}" }
15
+ "background-color": { "value": "{ams.color.highlight.magenta}" }
16
16
  },
17
17
  "orange": {
18
- "background-color": { "value": "{ams.color.orange}" }
18
+ "background-color": { "value": "{ams.color.highlight.orange}" }
19
19
  },
20
20
  "yellow": {
21
- "background-color": { "value": "{ams.color.yellow}" }
21
+ "background-color": { "value": "{ams.color.highlight.yellow}" }
22
22
  }
23
23
  }
24
24
  }
@@ -0,0 +1,40 @@
1
+ {
2
+ "ams": {
3
+ "standalone-link": {
4
+ "color": { "value": "{ams.links.color}" },
5
+ "column-gap": { "value": "{ams.space.s}" },
6
+ "font-family": { "value": "{ams.typography.font-family}" },
7
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
8
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
9
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
10
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
12
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
13
+ "contrast": {
14
+ "color": { "value": "{ams.links.contrast.color}" },
15
+ "hover": {
16
+ "color": { "value": "{ams.links.contrast.hover.color}" }
17
+ }
18
+ },
19
+ "hover": {
20
+ "color": { "value": "{ams.links.hover.color}" },
21
+ "text-decoration-thickness": {
22
+ "value": "{ams.links.hover.text-decoration-thickness}"
23
+ },
24
+ "text-underline-offset": { "value": "{ams.links.hover.text-underline-offset}" }
25
+ },
26
+ "inverse": {
27
+ "color": { "value": "{ams.links.inverse.color}" },
28
+ "hover": {
29
+ "color": { "value": "{ams.links.inverse.hover.color}" }
30
+ }
31
+ },
32
+ "with-icon": {
33
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
34
+ "hover": {
35
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }