@amsterdam/design-system-tokens 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +14 -7
  3. package/build.js +39 -16
  4. package/dist/compact.css +18 -18
  5. package/dist/compact.d.ts +18 -12
  6. package/dist/compact.json +21 -15
  7. package/dist/compact.mjs +21 -22
  8. package/dist/compact.scss +18 -18
  9. package/dist/compact.theme.css +18 -18
  10. package/dist/index.css +779 -766
  11. package/dist/index.d.ts +286 -283
  12. package/dist/index.json +589 -586
  13. package/dist/index.mjs +533 -509
  14. package/dist/index.scss +779 -766
  15. package/dist/index.theme.css +779 -766
  16. package/package.json +4 -3
  17. package/src/brand/ams/aspect-ratio.tokens.json +6 -6
  18. package/src/brand/ams/border.tokens.json +3 -3
  19. package/src/brand/ams/color.tokens.json +34 -15
  20. package/src/brand/ams/cursor.tokens.json +8 -0
  21. package/src/brand/ams/space.compact.tokens.json +6 -15
  22. package/src/brand/ams/space.tokens.json +5 -14
  23. package/src/brand/ams/{text.compact.tokens.json → typography.compact.tokens.json} +14 -2
  24. package/src/brand/ams/typography.tokens.json +59 -0
  25. package/src/common/ams/links.tokens.json +32 -0
  26. package/src/components/ams/accordion.tokens.json +11 -12
  27. package/src/components/ams/action-group.tokens.json +1 -1
  28. package/src/components/ams/alert.tokens.json +27 -15
  29. package/src/components/ams/avatar.tokens.json +23 -53
  30. package/src/components/ams/badge.tokens.json +22 -48
  31. package/src/components/ams/blockquote.tokens.json +8 -6
  32. package/src/components/ams/breadcrumb.tokens.json +10 -10
  33. package/src/components/ams/button.tokens.json +31 -33
  34. package/src/components/ams/card.tokens.json +8 -8
  35. package/src/components/ams/character-count.tokens.json +6 -6
  36. package/src/components/ams/checkbox.tokens.json +31 -29
  37. package/src/components/ams/column.tokens.json +5 -6
  38. package/src/components/ams/date-input.tokens.json +18 -16
  39. package/src/components/ams/description-list.tokens.json +21 -10
  40. package/src/components/ams/dialog.tokens.json +19 -8
  41. package/src/components/ams/error-message.tokens.json +5 -5
  42. package/src/components/ams/field-set.tokens.json +8 -8
  43. package/src/components/ams/field.tokens.json +3 -3
  44. package/src/components/ams/figure.tokens.json +9 -7
  45. package/src/components/ams/file-input.tokens.json +29 -26
  46. package/src/components/ams/file-list.tokens.json +8 -8
  47. package/src/components/ams/footer.tokens.json +23 -2
  48. package/src/components/ams/grid.compact.tokens.json +1 -1
  49. package/src/components/ams/grid.tokens.json +12 -10
  50. package/src/components/ams/header.tokens.json +23 -19
  51. package/src/components/ams/heading.tokens.json +29 -29
  52. package/src/components/ams/hint.tokens.json +1 -1
  53. package/src/components/ams/icon-button.tokens.json +18 -16
  54. package/src/components/ams/icon.tokens.json +24 -14
  55. package/src/components/ams/image-slider.tokens.json +1 -1
  56. package/src/components/ams/image.tokens.json +1 -1
  57. package/src/components/ams/{form-error-list.tokens.json → invalid-form-alert.tokens.json} +1 -1
  58. package/src/components/ams/label.tokens.json +5 -5
  59. package/src/components/ams/link-list.tokens.json +22 -22
  60. package/src/components/ams/link.tokens.json +20 -31
  61. package/src/components/ams/logo.tokens.json +10 -7
  62. package/src/components/ams/mark.tokens.json +1 -1
  63. package/src/components/ams/mega-menu.tokens.json +3 -3
  64. package/src/components/ams/ordered-list.tokens.json +13 -11
  65. package/src/components/ams/page-heading.tokens.json +8 -6
  66. package/src/components/ams/page-menu.tokens.json +13 -13
  67. package/src/components/ams/pagination.tokens.json +13 -13
  68. package/src/components/ams/paragraph.tokens.json +12 -10
  69. package/src/components/ams/password-input.tokens.json +17 -16
  70. package/src/components/ams/radio.tokens.json +30 -28
  71. package/src/components/ams/row.tokens.json +5 -6
  72. package/src/components/ams/screen.tokens.json +1 -1
  73. package/src/components/ams/search-field.tokens.json +17 -18
  74. package/src/components/ams/select.tokens.json +17 -16
  75. package/src/components/ams/skip-link.tokens.json +9 -9
  76. package/src/components/ams/spotlight.tokens.json +10 -10
  77. package/src/components/ams/switch.tokens.json +7 -6
  78. package/src/components/ams/table-of-contents.tokens.json +17 -17
  79. package/src/components/ams/table.tokens.json +10 -13
  80. package/src/components/ams/tabs.tokens.json +16 -20
  81. package/src/components/ams/text-area.tokens.json +18 -18
  82. package/src/components/ams/text-input.tokens.json +17 -16
  83. package/src/components/ams/time-input.tokens.json +18 -16
  84. package/src/components/ams/top-task-link.tokens.json +16 -16
  85. package/src/components/ams/unordered-list.tokens.json +15 -13
  86. package/src/brand/ams/text.tokens.json +0 -41
  87. package/src/common/ams/action.tokens.json +0 -12
  88. package/src/common/ams/hyphenation.tokens.json +0 -9
  89. package/src/common/ams/link-appearance.tokens.json +0 -43
  90. package/src/components/ams/breakout.tokens.json +0 -11
  91. package/src/components/ams/gap.tokens.json +0 -11
  92. package/src/components/ams/margin.tokens.json +0 -11
  93. /package/src/{common → brand}/ams/focus.tokens.json +0 -0
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "ams": {
3
3
  "breadcrumb": {
4
- "font-family": { "value": "{ams.text.font-family}" },
5
- "font-size": { "value": "{ams.text.level.6.font-size}" },
6
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
7
- "line-height": { "value": "{ams.text.level.6.line-height}" },
4
+ "font-family": { "value": "{ams.typography.font-family}" },
5
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
6
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
7
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
8
8
  "separator": {
9
9
  "background-image": {
10
10
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23000000' fill-rule='evenodd' d='m9.757 32-2.9-2.91L19.937 16 6.857 2.91 9.757 0l16 16z'/></svg>\")"
@@ -14,14 +14,14 @@
14
14
  "margin-inline": { "value": "{ams.space.xs}" }
15
15
  },
16
16
  "link": {
17
- "color": { "value": "{ams.link-appearance.color}" },
17
+ "color": { "value": "{ams.links.color}" },
18
18
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
19
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
20
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
21
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
19
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
20
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
21
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
22
22
  "hover": {
23
- "color": { "value": "{ams.color.dark-blue}" },
24
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
23
+ "color": { "value": "{ams.links.hover.color}" },
24
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
25
25
  }
26
26
  }
27
27
  }
@@ -1,65 +1,63 @@
1
1
  {
2
2
  "ams": {
3
3
  "button": {
4
- "cursor": { "value": "{ams.action.activate.cursor}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.5.font-size}" },
7
- "line-height": { "value": "{ams.text.level.5.line-height}" },
8
- "gap": { "value": "{ams.space.sm}" },
4
+ "cursor": { "value": "{ams.cursor.interactive}" },
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
+ "gap": { "value": "{ams.space.s}" },
9
10
  "outline-offset": { "value": "{ams.focus.outline-offset}" },
10
- "padding-block": { "value": "{ams.space.sm}" },
11
- "padding-inline": { "value": "{ams.space.md}" },
11
+ "padding-block": { "value": "{ams.space.s}" },
12
+ "padding-inline": { "value": "{ams.space.m}" },
12
13
  "disabled": {
13
- "cursor": { "value": "{ams.action.disabled.cursor}" }
14
+ "cursor": { "value": "{ams.cursor.disabled}" }
14
15
  },
15
16
  "forced-color-mode": {
16
- "border": { "value": "{ams.border.width.md} solid" }
17
+ "border": { "value": "{ams.border.width.m} solid" }
17
18
  },
18
19
  "primary": {
19
- "background-color": { "value": "{ams.color.primary-blue}" },
20
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-blue}" },
21
- "color": { "value": "{ams.color.primary-white}" },
20
+ "background-color": { "value": "{ams.color.interactive.default}" },
21
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.default}" },
22
+ "color": { "value": "{ams.color.text.inverse}" },
22
23
  "disabled": {
23
- "background-color": { "value": "{ams.color.neutral-grey3}" },
24
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.neutral-grey3}" }
24
+ "background-color": { "value": "{ams.color.interactive.disabled}" },
25
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.disabled}" }
25
26
  },
26
27
  "hover": {
27
- "background-color": { "value": "{ams.color.dark-blue}" },
28
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.dark-blue}" }
28
+ "background-color": { "value": "{ams.color.interactive.hover}" },
29
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.hover}" }
29
30
  }
30
31
  },
31
32
  "secondary": {
32
- "background-color": { "value": "{ams.color.primary-white}" },
33
- "color": { "value": "{ams.color.primary-blue}" },
34
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-blue}" },
33
+ "background-color": { "value": "{ams.color.background}" },
34
+ "color": { "value": "{ams.color.interactive.default}" },
35
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.default}" },
35
36
  "hover": {
36
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.lg} {ams.color.dark-blue}" },
37
- "color": { "value": "{ams.color.dark-blue}" }
37
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.l} {ams.color.interactive.hover}" },
38
+ "color": { "value": "{ams.color.interactive.hover}" }
38
39
  },
39
40
  "disabled": {
40
- "background-color": { "value": "{ams.color.primary-white}" },
41
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.neutral-grey3}" },
42
- "color": { "value": "{ams.color.neutral-grey3}" }
43
- },
44
- "focus": {
45
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-blue}" }
41
+ "background-color": { "value": "{ams.color.background}" },
42
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.disabled}" },
43
+ "color": { "value": "{ams.color.interactive.disabled}" }
46
44
  }
47
45
  },
48
46
  "tertiary": {
49
47
  "background-color": { "value": "transparent" },
50
- "color": { "value": "{ams.color.primary-blue}" },
48
+ "color": { "value": "{ams.color.interactive.default}" },
51
49
  "hover": {
52
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.dark-blue}" },
53
- "color": { "value": "{ams.color.dark-blue}" }
50
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.hover}" },
51
+ "color": { "value": "{ams.color.interactive.hover}" }
54
52
  },
55
53
  "disabled": {
56
54
  "background-color": { "value": "transparent" },
57
- "color": { "value": "{ams.color.neutral-grey3}" }
55
+ "color": { "value": "{ams.color.interactive.disabled}" }
58
56
  }
59
57
  },
60
58
  "icon-only": {
61
- "padding-block": { "value": "{ams.space.sm}" },
62
- "padding-inline": { "value": "{ams.space.sm}" }
59
+ "padding-block": { "value": "{ams.space.s}" },
60
+ "padding-inline": { "value": "{ams.space.s}" }
63
61
  }
64
62
  }
65
63
  }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "ams": {
3
3
  "card": {
4
- "gap": { "value": "{ams.space.sm}" },
4
+ "gap": { "value": "{ams.space.s}" },
5
5
  "heading-group": {
6
- "gap": { "value": "{ams.space.sm}" }
6
+ "gap": { "value": "{ams.space.s}" }
7
7
  },
8
8
  "link": {
9
- "color": { "value": "{ams.link-appearance.color}" },
10
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
11
- "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
12
- "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
9
+ "color": { "value": "{ams.links.color}" },
10
+ "text-decoration-line": { "value": "{ams.links.subtle.text-decoration-line}" },
11
+ "text-decoration-thickness": { "value": "{ams.links.text-decoration-thickness}" },
12
+ "text-underline-offset": { "value": "{ams.links.text-underline-offset}" },
13
13
  "hover": {
14
- "color": { "value": "{ams.link-appearance.hover.color}" },
15
- "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
14
+ "color": { "value": "{ams.links.hover.color}" },
15
+ "text-decoration-line": { "value": "{ams.links.subtle.hover.text-decoration-line}" }
16
16
  }
17
17
  },
18
18
  "outline-offset": { "value": "{ams.focus.outline-offset}" }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "ams": {
3
3
  "character-count": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.6.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
8
- "line-height": { "value": "{ams.text.level.6.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.small.font-size}" },
7
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
8
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
9
9
  "error": {
10
- "color": { "value": "{ams.color.primary-red}" }
10
+ "color": { "value": "{ams.color.feedback.error}" }
11
11
  }
12
12
  }
13
13
  }
@@ -1,79 +1,81 @@
1
1
  {
2
2
  "ams": {
3
3
  "checkbox": {
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
12
  "checkmark": {
12
- "border-color": { "value": "{ams.color.primary-blue}" },
13
- "border-width": { "value": "{ams.border.width.md}" },
13
+ "border-color": { "value": "{ams.color.interactive.default}" },
14
+ "border-width": { "value": "{ams.border.width.m}" },
14
15
  "checked": {
15
- "background-color": { "value": "{ams.color.primary-blue}" },
16
+ "background-color": { "value": "{ams.color.interactive.default}" },
16
17
  "background-image": {
17
18
  "value": "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.216 27.016 0 14.168l2.91-2.77 9.346 9.837L29.129 4 32 6.8z'/%3E%3C/svg%3E\")"
18
19
  },
19
20
  "hover": {
20
- "background-color": { "value": "{ams.color.dark-blue}" }
21
+ "background-color": { "value": "{ams.color.interactive.hover}" }
21
22
  }
22
23
  },
23
24
  "disabled": {
24
- "border-color": { "value": "{ams.color.neutral-grey3}" },
25
- "border-width": { "value": "{ams.border.width.md}" },
25
+ "border-color": { "value": "{ams.color.interactive.disabled}" },
26
+ "border-width": { "value": "{ams.border.width.m}" },
26
27
  "checked": {
27
- "background-color": { "value": "{ams.color.neutral-grey3}" },
28
+ "background-color": { "value": "{ams.color.interactive.disabled}" },
28
29
  "hover": {
29
- "background-color": { "value": "{ams.color.neutral-grey3}" }
30
+ "background-color": { "value": "{ams.color.interactive.disabled}" }
30
31
  }
31
32
  },
32
33
  "indeterminate": {
33
- "background-color": { "value": "{ams.color.neutral-grey3}" },
34
+ "background-color": { "value": "{ams.color.interactive.disabled}" },
34
35
  "hover": {
35
- "background-color": { "value": "{ams.color.neutral-grey3}" }
36
+ "background-color": { "value": "{ams.color.interactive.disabled}" }
36
37
  }
37
38
  }
38
39
  },
39
40
  "hover": {
40
- "border-color": { "value": "{ams.color.dark-blue}" },
41
- "border-width": { "value": "{ams.border.width.lg}" }
41
+ "border-color": { "value": "{ams.color.interactive.hover}" },
42
+ "border-width": { "value": "{ams.border.width.l}" }
42
43
  },
43
44
  "invalid": {
44
- "border-color": { "value": "{ams.color.primary-red}" },
45
+ "border-color": { "value": "{ams.color.interactive.invalid.default}" },
45
46
  "checked": {
46
- "background-color": { "value": "{ams.color.primary-red}" },
47
+ "background-color": { "value": "{ams.color.interactive.invalid.default}" },
47
48
  "hover": {
48
- "background-color": { "value": "{ams.color.primary-red}" }
49
+ "background-color": { "value": "{ams.color.interactive.invalid.hover}" }
49
50
  }
50
51
  },
51
52
  "hover": {
52
- "border-color": { "value": "{ams.color.primary-red}" }
53
+ "border-color": { "value": "{ams.color.interactive.invalid.hover}" }
53
54
  },
54
55
  "indeterminate": {
55
- "background-color": { "value": "{ams.color.primary-red}" },
56
+ "background-color": { "value": "{ams.color.interactive.invalid.default}" },
56
57
  "hover": {
57
- "background-color": { "value": "{ams.color.primary-red}" }
58
+ "background-color": { "value": "{ams.color.interactive.invalid.hover}" }
58
59
  }
59
60
  }
60
61
  },
61
62
  "indeterminate": {
62
- "background-color": { "value": "{ams.color.primary-blue}" },
63
+ "background-color": { "value": "{ams.color.interactive.default}" },
63
64
  "background-image": {
64
65
  "value": "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='white'%3E%3Cpath fill-rule='evenodd' d='M0 13.714h32v4H0z'/%3E%3C/svg%3E\")"
65
66
  },
66
67
  "hover": {
67
- "background-color": { "value": "{ams.color.dark-blue}" }
68
+ "background-color": { "value": "{ams.color.interactive.hover}" }
68
69
  }
69
70
  }
70
71
  },
71
72
  "disabled": {
72
- "color": { "value": "{ams.color.neutral-grey3}" }
73
+ "cursor": { "value": "{ams.cursor.disabled}" },
74
+ "color": { "value": "{ams.color.interactive.disabled}" }
73
75
  },
74
76
  "hover": {
75
- "color": { "value": "{ams.color.dark-blue}" },
76
- "text-decoration-thickness": { "value": "{ams.border.width.md}" }
77
+ "color": { "value": "{ams.color.interactive.hover}" },
78
+ "text-decoration-thickness": { "value": "{ams.border.width.m}" }
77
79
  }
78
80
  }
79
81
  }
@@ -2,12 +2,11 @@
2
2
  "ams": {
3
3
  "column": {
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,25 +1,27 @@
1
1
  {
2
2
  "ams": {
3
3
  "date-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
  "calender-picker-indicator": {
15
15
  "background-image": {
16
16
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23004699'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
17
- }
17
+ },
18
+ "cursor": { "value": "{ams.cursor.interactive}" }
18
19
  },
19
20
  "disabled": {
20
- "background-color": { "value": "{ams.color.primary-white}" },
21
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.neutral-grey3}" },
22
- "color": { "value": "{ams.color.neutral-grey3}" },
21
+ "background-color": { "value": "{ams.color.background}" },
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}" },
23
25
  "calender-picker-indicator": {
24
26
  "background-image": {
25
27
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23BEBEBE'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
@@ -27,7 +29,7 @@
27
29
  }
28
30
  },
29
31
  "hover": {
30
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-black}" },
32
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.secondary}" },
31
33
  "calender-picker-indicator": {
32
34
  "background-image": {
33
35
  "value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='%23102E62'><path d='M28 6V2h-4v4H12V2H8v4H2v28h32V6zm2 24H6V14h24z'/><path d='M10 17h4v4h-4zm6 0h4v4h-4zm6 0h4v4h-4zm-12 6h4v4h-4zm6 0h4v4h-4z'/></svg>\")"
@@ -35,9 +37,9 @@
35
37
  }
36
38
  },
37
39
  "invalid": {
38
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.sm} {ams.color.primary-red}" },
40
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.s} {ams.color.interactive.invalid.default}" },
39
41
  "hover": {
40
- "box-shadow": { "value": "inset 0 0 0 {ams.border.width.md} {ams.color.primary-red}" }
42
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.m} {ams.color.interactive.invalid.hover}" }
41
43
  }
42
44
  }
43
45
  }
@@ -1,19 +1,30 @@
1
1
  {
2
2
  "ams": {
3
3
  "description-list": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "column-gap": { "value": "{ams.space.lg}" },
6
- "font-family": { "value": "{ams.text.font-family}" },
7
- "font-size": { "value": "{ams.text.level.5.font-size}" },
8
- "inverse-color": { "value": "{ams.color.primary-white}" },
9
- "line-height": { "value": "{ams.text.level.5.line-height}" },
10
- "row-gap": { "value": "{ams.space.sm}" },
4
+ "color": { "value": "{ams.color.text.default}" },
5
+ "column-gap": { "value": "{ams.space.l}" },
6
+ "font-family": { "value": "{ams.typography.font-family}" },
7
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
8
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
9
+ "row-gap": { "value": "{ams.space.s}" },
10
+ "inverse": {
11
+ "color": { "value": "{ams.color.text.inverse}" }
12
+ },
11
13
  "term": {
12
- "font-weight": { "value": "{ams.text.font-weight.bold}" }
14
+ "font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" }
13
15
  },
14
16
  "description": {
15
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
16
- "padding-inline-start": { "value": "{ams.space.lg}" }
17
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
18
+ "padding-inline-start": { "value": "{ams.space.l}" }
19
+ },
20
+ "narrow": {
21
+ "grid-template-columns": { "value": "1fr 4fr" }
22
+ },
23
+ "medium": {
24
+ "grid-template-columns": { "value": "1fr 2fr" }
25
+ },
26
+ "wide": {
27
+ "grid-template-columns": { "value": "1fr 1fr" }
17
28
  }
18
29
  }
19
30
  }
@@ -1,16 +1,27 @@
1
1
  {
2
2
  "ams": {
3
3
  "dialog": {
4
- "background-color": { "value": "{ams.color.primary-white}" },
5
- "border": { "value": "0" },
6
- "gap": { "value": "{ams.space.md}" },
7
- "inline-size": { "value": "calc(100% - 2 * {ams.space.grid.md})" },
8
- "max-block-size": { "value": "calc(100dvh - 2 * {ams.space.grid.md})" },
4
+ "background-color": { "value": "{ams.color.background}" },
5
+ "border": { "value": "{ams.border.width.m} solid {ams.dialog.background-color}" },
6
+ "gap": { "value": "{ams.space.m}" },
7
+ "inline-size": { "value": "calc(100% - 2 * {ams.space.xl})" },
8
+ "max-block-size": { "value": "calc(100dvh - 2 * {ams.space.xl})" },
9
9
  "max-inline-size": { "value": "48rem" },
10
- "padding-block": { "value": "{ams.space.grid.md}" },
11
- "padding-inline": { "value": "{ams.space.grid.lg}" },
10
+ "backdrop": {
11
+ "background-color": { "value": "rgb(24 24 24 / 62.5%)" }
12
+ },
12
13
  "header": {
13
- "gap": { "value": "{ams.space.md}" }
14
+ "gap": { "value": "{ams.space.m}" },
15
+ "padding-block": { "value": "{ams.space.xl} 0" },
16
+ "padding-inline": { "value": "{ams.space.2xl}" }
17
+ },
18
+ "body": {
19
+ "padding-block": { "value": "0" },
20
+ "padding-inline": { "value": "{ams.space.2xl}" }
21
+ },
22
+ "footer": {
23
+ "padding-block": { "value": "0 {ams.space.xl}" },
24
+ "padding-inline": { "value": "{ams.space.2xl}" }
14
25
  }
15
26
  }
16
27
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "ams": {
3
3
  "error-message": {
4
- "color": { "value": "{ams.color.primary-red}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.6.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
4
+ "color": { "value": "{ams.color.feedback.error}" },
5
+ "font-family": { "value": "{ams.typography.font-family}" },
6
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
7
+ "font-weight": { "value": "{ams.typography.body-text.font-weight}" },
8
8
  "gap": { "value": "{ams.space.xs}" },
9
- "line-height": { "value": "{ams.text.level.6.line-height}" }
9
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" }
10
10
  }
11
11
  }
12
12
  }
@@ -2,16 +2,16 @@
2
2
  "ams": {
3
3
  "field-set": {
4
4
  "invalid": {
5
- "border-inline-start": { "value": "{ams.border.width.lg} solid {ams.color.primary-red}" },
6
- "padding-inline-start": { "value": "{ams.space.md}" }
5
+ "border-inline-start": { "value": "{ams.border.width.l} solid {ams.color.feedback.error}" },
6
+ "padding-inline-start": { "value": "{ams.space.m}" }
7
7
  },
8
8
  "legend": {
9
- "color": { "value": "{ams.color.primary-black}" },
10
- "font-family": { "value": "{ams.text.font-family}" },
11
- "font-size": { "value": "{ams.text.level.4.font-size}" },
12
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
13
- "line-height": { "value": "{ams.text.level.4.line-height}" },
14
- "margin-block-end": { "value": "{ams.space.md}" }
9
+ "color": { "value": "{ams.color.text.default}" },
10
+ "font-family": { "value": "{ams.typography.font-family}" },
11
+ "font-size": { "value": "{ams.typography.heading.4.font-size}" },
12
+ "font-weight": { "value": "{ams.typography.heading.font-weight}" },
13
+ "line-height": { "value": "{ams.typography.heading.4.line-height}" },
14
+ "margin-block-end": { "value": "{ams.space.m}" }
15
15
  }
16
16
  }
17
17
  }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "ams": {
3
3
  "field": {
4
- "gap": { "value": "{ams.space.sm}" },
4
+ "gap": { "value": "{ams.space.s}" },
5
5
  "invalid": {
6
- "border-inline-start": { "value": "{ams.border.width.lg} solid {ams.color.primary-red}" },
7
- "padding-inline-start": { "value": "{ams.space.md}" }
6
+ "border-inline-start": { "value": "{ams.border.width.l} solid {ams.color.feedback.error}" },
7
+ "padding-inline-start": { "value": "{ams.space.m}" }
8
8
  }
9
9
  }
10
10
  }
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "ams": {
3
3
  "figure": {
4
- "gap": { "value": "{ams.space.sm}" },
4
+ "gap": { "value": "{ams.space.s}" },
5
5
  "caption": {
6
- "color": { "value": "{ams.color.primary-black}" },
7
- "font-family": { "value": "{ams.text.font-family}" },
8
- "font-size": { "value": "{ams.text.level.6.font-size}" },
9
- "font-weight": { "value": "{ams.text.font-weight.normal}" },
10
- "line-height": { "value": "{ams.text.level.6.line-height}" },
11
- "inverse-color": { "value": "{ams.color.primary-white}" }
6
+ "color": { "value": "{ams.color.text.default}" },
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
+ "line-height": { "value": "{ams.typography.body-text.small.line-height}" },
11
+ "inverse": {
12
+ "color": { "value": "{ams.color.text.inverse}" }
13
+ }
12
14
  }
13
15
  }
14
16
  }