@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
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "ams": {
3
3
  "ordered-list": {
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.md}" },
9
- "inverse-color": { "value": "{ams.color.primary-white}" },
10
- "line-height": { "value": "{ams.text.level.5.line-height}" },
4
+ "color": { "value": "{ams.color.text.default}" },
5
+ "font-family": { "value": "{ams.typography.font-family}" },
6
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
7
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
8
+ "gap": { "value": "{ams.space.m}" },
9
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
11
10
  "list-style-type": { "value": "decimal" },
12
11
  "small": {
13
- "font-size": { "value": "{ams.text.level.6.font-size}" },
14
- "line-height": { "value": "{ams.text.level.6.line-height}" }
12
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
13
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" }
14
+ },
15
+ "inverse": {
16
+ "color": { "value": "{ams.color.text.inverse}" }
15
17
  },
16
18
  "item": {
17
19
  "margin-inline-start": {
@@ -24,10 +26,10 @@
24
26
  }
25
27
  },
26
28
  "ordered-list": {
27
- "gap": { "value": "{ams.space.sm}" },
29
+ "gap": { "value": "{ams.space.s}" },
28
30
  "list-style-type": { "value": "lower-alpha" },
29
31
  "padding-block-end": { "value": "0" },
30
- "padding-block-start": { "value": "{ams.space.sm}" },
32
+ "padding-block-start": { "value": "{ams.space.s}" },
31
33
  "item": {
32
34
  "margin-inline-start": {
33
35
  "value": "1.5rem",
@@ -1,12 +1,14 @@
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
+ "inverse": {
10
+ "color": { "value": "{ams.color.text.inverse}" }
11
+ }
10
12
  }
11
13
  }
12
14
  }
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "ams": {
3
3
  "page-menu": {
4
- "column-gap": { "value": "{ams.space.grid.md}" },
5
- "row-gap": { "value": "{ams.space.grid.xs}" },
4
+ "column-gap": { "value": "{ams.space.xl}" },
5
+ "row-gap": { "value": "{ams.space.m}" },
6
6
  "item": {
7
- "color": { "value": "{ams.link-appearance.color}" },
8
- "font-family": { "value": "{ams.text.font-family}" },
9
- "font-size": { "value": "{ams.text.level.6.font-size}" },
10
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
11
- "gap": { "value": "{ams.space.sm}" },
12
- "line-height": { "value": "{ams.text.level.6.line-height}" },
7
+ "color": { "value": "{ams.links.color}" },
8
+ "font-family": { "value": "{ams.typography.font-family}" },
9
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
10
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
11
+ "gap": { "value": "{ams.space.s}" },
12
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
13
13
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
14
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
15
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
16
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
14
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
15
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
16
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
17
17
  "hover": {
18
- "color": { "value": "{ams.link-appearance.hover.color}" },
19
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
18
+ "color": { "value": "{ams.links.hover.color}" },
19
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
20
20
  }
21
21
  }
22
22
  }
@@ -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-grey2}" },
17
- "color": { "value": "{ams.color.neutral-grey2}" }
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,63 +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}" }
32
+ }
33
+ }
34
+ },
35
+ "hover-indicator": {
36
+ "stroke-width": { "value": "3px" },
37
+ "hover": {
38
+ "stroke": { "value": "{ams.color.interactive.hover}" }
39
+ },
40
+ "invalid": {
41
+ "hover": {
42
+ "stroke": { "value": "{ams.color.interactive.invalid.hover}" }
31
43
  }
32
44
  }
33
45
  },
34
46
  "circle": {
35
- "stroke": { "value": "{ams.color.primary-blue}" },
47
+ "fill": { "value": "{ams.color.background}" },
48
+ "stroke": { "value": "{ams.color.interactive.default}" },
49
+ "stroke-width": { "value": "2px" },
36
50
  "disabled": {
37
- "stroke": { "value": "{ams.color.neutral-grey3}" }
51
+ "stroke": { "value": "{ams.color.interactive.disabled}" }
38
52
  },
39
53
  "disabled-invalid": {
40
- "stroke": { "value": "{ams.color.neutral-grey3}" },
54
+ "stroke": { "value": "{ams.color.interactive.disabled}" },
41
55
  "hover": {
42
- "stroke": { "value": "{ams.color.neutral-grey3}" }
56
+ "stroke": { "value": "{ams.color.interactive.disabled}" }
43
57
  }
44
58
  },
45
59
  "hover": {
46
- "stroke": { "value": "{ams.color.dark-blue}" }
60
+ "stroke": { "value": "{ams.color.interactive.hover}" }
47
61
  },
48
62
  "invalid": {
49
- "stroke": { "value": "{ams.color.primary-red}" },
63
+ "stroke": { "value": "{ams.color.interactive.invalid.default}" },
50
64
  "hover": {
51
- "stroke": { "value": "{ams.color.primary-red}" }
65
+ "stroke": { "value": "{ams.color.interactive.invalid.hover}" }
52
66
  }
53
67
  }
54
68
  },
55
69
  "disabled": {
56
- "color": { "value": "{ams.color.neutral-grey3}" }
70
+ "color": { "value": "{ams.color.interactive.disabled}" },
71
+ "cursor": { "value": "{ams.cursor.disabled}" }
57
72
  },
58
73
  "hover": {
59
- "color": { "value": "{ams.color.dark-blue}" },
60
- "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}" }
61
76
  },
62
77
  "icon-container": {
63
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
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "screen": {
4
- "background-color": { "value": "{ams.color.primary-white}" },
4
+ "background-color": { "value": "{ams.color.background}" },
5
5
  "wide": {
6
6
  "max-inline-size": { "value": "100rem" }
7
7
  },
@@ -1,48 +1,37 @@
1
1
  {
2
2
  "ams": {
3
3
  "search-field": {
4
- "button": {
5
- "background-color": { "value": "{ams.color.primary-blue}" },
6
- "color": { "value": "{ams.color.primary-white}" },
7
- "outline-offset": { "value": "{ams.focus.outline-offset}" },
8
- "padding-block": { "value": "{ams.space.sm}" },
9
- "padding-inline": { "value": "{ams.space.sm}" },
10
- "hover": {
11
- "background-color": { "value": "{ams.color.dark-blue}" }
12
- }
13
- },
14
4
  "input": {
15
- "background-color": { "value": "{ams.color.primary-white}" },
16
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-black}" },
17
- "color": { "value": "{ams.color.primary-black}" },
18
- "font-family": { "value": "{ams.text.font-family}" },
19
- "font-size": { "value": "{ams.text.level.5.font-size}" },
20
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
21
- "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}" },
22
12
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
23
- "padding-block": { "value": "{ams.space.sm}" },
24
- "padding-inline": { "value": "{ams.space.md}" },
13
+ "padding-block": { "value": "{ams.space.s}" },
14
+ "padding-inline": { "value": "{ams.space.m}" },
25
15
  "cancel-button": {
26
16
  "background-image": {
27
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>\")"
28
18
  },
29
- "block-size": { "value": "{ams.text.level.5.font-size}" },
30
- "color": { "value": "{ams.color.primary-blue}" },
31
- "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}" }
32
23
  },
33
24
  "hover": {
34
- "box-shadow": {
35
- "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-black}"
36
- }
25
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" }
37
26
  },
38
27
  "invalid": {
39
- "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}" },
40
29
  "hover": {
41
- "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}" }
42
31
  }
43
32
  },
44
33
  "placeholder": {
45
- "color": { "value": "{ams.color.neutral-grey3}" }
34
+ "color": { "value": "{ams.color.text.secondary}" }
46
35
  }
47
36
  }
48
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-grey2}" },
23
- "color": { "value": "{ams.color.neutral-grey2}" }
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-grey2}" }
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,29 +1,24 @@
1
1
  {
2
2
  "ams": {
3
3
  "spotlight": {
4
- "blue": {
5
- "background-color": { "value": "{ams.color.blue}" }
6
- },
7
- "dark-blue": {
8
- "background-color": { "value": "{ams.color.primary-blue}" }
9
- },
10
- "dark-green": {
11
- "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}" }
12
7
  },
13
8
  "green": {
14
- "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}" }
15
13
  },
16
14
  "magenta": {
17
- "background-color": { "value": "{ams.color.magenta}" }
15
+ "background-color": { "value": "{ams.color.highlight.magenta}" }
18
16
  },
19
17
  "orange": {
20
- "background-color": { "value": "{ams.color.orange}" }
21
- },
22
- "purple": {
23
- "background-color": { "value": "{ams.color.purple}" }
18
+ "background-color": { "value": "{ams.color.highlight.orange}" }
24
19
  },
25
20
  "yellow": {
26
- "background-color": { "value": "{ams.color.yellow}" }
21
+ "background-color": { "value": "{ams.color.highlight.yellow}" }
27
22
  }
28
23
  }
29
24
  }
@@ -1,24 +1,25 @@
1
1
  {
2
2
  "ams": {
3
3
  "switch": {
4
- "background-color": { "value": "{ams.color.neutral-grey3}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
4
+ "background-color": { "value": "#767676" },
5
+ "cursor": { "value": "{ams.cursor.interactive}" },
6
6
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
7
7
  "inline-size": { "value": "3.5rem" },
8
8
  "thumb": {
9
- "background-color": { "value": "{ams.color.primary-white}" },
9
+ "background-color": { "value": "{ams.color.background}" },
10
10
  "inline-size": { "value": "1.75rem" },
11
11
  "block-size": { "value": "1.75rem" },
12
12
  "hover": {
13
13
  "box-shadow": { "value": "0 0 0 0.125rem {ams.switch.thumb.hover.color}" },
14
- "color": { "value": "{ams.color.dark-blue}" }
14
+ "color": { "value": "{ams.color.interactive.hover}" }
15
15
  }
16
16
  },
17
17
  "checked": {
18
- "background-color": { "value": "{ams.color.primary-blue}" }
18
+ "background-color": { "value": "{ams.color.interactive.default}" }
19
19
  },
20
20
  "disabled": {
21
- "background-color": { "value": "{ams.color.neutral-grey2}" }
21
+ "background-color": { "value": "{ams.color.interactive.disabled}" },
22
+ "cursor": { "value": "{ams.cursor.disabled}" }
22
23
  }
23
24
  }
24
25
  }