@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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "version": "0.14.0",
2
+ "version": "0.15.0",
3
3
  "author": "Design System Team, City of Amsterdam <designsystem@amsterdam.nl>",
4
4
  "description": "All design tokens from the Amsterdam Design System. Use it to apply its visual design to your website or application.",
5
- "homepage": "https://designsystem.amsterdam/",
5
+ "homepage": "https://designsystem.amsterdam",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "name": "@amsterdam/design-system-tokens",
8
8
  "type": "module",
@@ -23,9 +23,10 @@
23
23
  "directory": "proprietary/tokens"
24
24
  },
25
25
  "devDependencies": {
26
+ "change-case": "5.4.4",
26
27
  "chokidar-cli": "3.0.0",
27
28
  "npm-run-all": "4.1.5",
28
- "style-dictionary": "4.3.0"
29
+ "style-dictionary": "4.3.3"
29
30
  },
30
31
  "scripts": {
31
32
  "clean": "rimraf dist/",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "ams": {
3
3
  "aspect-ratio": {
4
- "x-tall": { "value": "9 / 16" },
5
- "tall": { "value": "3 / 4" },
6
- "square": { "value": "1 / 1" },
7
- "wide": { "value": "4 / 3" },
8
- "x-wide": { "value": "16 / 9" },
9
- "2x-wide": { "value": "16 / 5" }
4
+ "9-16": { "value": "9 / 16" },
5
+ "3-4": { "value": "3 / 4" },
6
+ "1-1": { "value": "1 / 1" },
7
+ "4-3": { "value": "4 / 3" },
8
+ "16-9": { "value": "16 / 9" },
9
+ "16-5": { "value": "16 / 5" }
10
10
  }
11
11
  }
12
12
  }
@@ -2,9 +2,9 @@
2
2
  "ams": {
3
3
  "border": {
4
4
  "width": {
5
- "sm": { "value": "0.0625rem" },
6
- "md": { "value": "0.125rem" },
7
- "lg": { "value": "0.1875rem" },
5
+ "s": { "value": "0.0625rem" },
6
+ "m": { "value": "0.125rem" },
7
+ "l": { "value": "0.1875rem" },
8
8
  "xl": { "value": "0.25rem" }
9
9
  }
10
10
  }
@@ -1,21 +1,40 @@
1
1
  {
2
2
  "ams": {
3
3
  "color": {
4
- "primary-black": { "value": "#000000" },
5
- "primary-white": { "value": "#FFFFFF" },
6
- "primary-blue": { "value": "#004699" },
7
- "primary-red": { "value": "#EC0000" },
8
- "dark-blue": { "value": "#102E62" },
9
- "orange": { "value": "#FF9100" },
10
- "yellow": { "value": "#FFE600" },
11
- "green": { "value": "#BED200" },
12
- "dark-green": { "value": "#00A03C" },
13
- "blue": { "value": "#009DE6" },
14
- "purple": { "value": "#A00078" },
15
- "magenta": { "value": "#E50082" },
16
- "neutral-grey1": { "value": "#E8E8E8" },
17
- "neutral-grey2": { "value": "#BEBEBE" },
18
- "neutral-grey3": { "value": "#767676" }
4
+ "background": { "value": "#ffffff" },
5
+ "feedback": {
6
+ "error": { "value": "#ec0000" },
7
+ "info": { "value": "#009de6" },
8
+ "success": { "value": "#00a03c" },
9
+ "warning": { "value": "#ff9100" }
10
+ },
11
+ "highlight": {
12
+ "azure": { "value": "#009de6" },
13
+ "green": { "value": "#00a03c" },
14
+ "lime": { "value": "#bed200" },
15
+ "magenta": { "value": "#e50082" },
16
+ "orange": { "value": "#ff9100" },
17
+ "purple": { "value": "#a00078" },
18
+ "yellow": { "value": "#ffe600" }
19
+ },
20
+ "interactive": {
21
+ "contrast": { "value": "#000000" },
22
+ "default": { "value": "#004699" },
23
+ "disabled": { "value": "#767676" },
24
+ "hover": { "value": "#003677" },
25
+ "invalid": {
26
+ "default": { "value": "#ec0000" },
27
+ "hover": { "value": "#b70000" }
28
+ },
29
+ "inverse": { "value": "#ffffff" },
30
+ "secondary": { "value": "#181818" }
31
+ },
32
+ "separator": { "value": "#d1d1d1" },
33
+ "text": {
34
+ "default": { "value": "#181818" },
35
+ "inverse": { "value": "#ffffff" },
36
+ "secondary": { "value": "#767676" }
37
+ }
19
38
  }
20
39
  }
21
40
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "ams": {
3
+ "cursor": {
4
+ "disabled": { "value": "not-allowed" },
5
+ "interactive": { "value": "pointer" }
6
+ }
7
+ }
8
+ }
@@ -1,21 +1,12 @@
1
1
  {
2
2
  "ams": {
3
3
  "space": {
4
- "xs": { "value": "0.25rem" },
5
- "sm": { "value": "0.5rem" },
6
- "md": { "value": "1rem" },
7
- "lg": { "value": "1.5rem" },
8
- "xl": { "value": "2rem" },
9
- "grid": {
10
- "xs": { "value": "clamp(0.25rem, calc(0.390625vw - 0.015625rem), 0.625rem)" },
11
- "sm": { "value": "clamp(0.5rem, calc(0.78125vw - 0.03125rem), 1.25rem)" },
12
- "md": {
13
- "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
14
- "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide."
15
- },
16
- "lg": { "value": "clamp(1.5rem, calc(2.34375vw - 0.09375rem), 3.75rem)" },
17
- "xl": { "value": "clamp(2rem, calc(3.125vw - 0.125rem), 5rem)" }
18
- }
4
+ "xs": { "value": "clamp(0.1875rem, 0.1719rem + 0.0781vw, 0.25rem)" },
5
+ "s": { "value": "clamp(0.375rem, 0.3438rem + 0.1563vw, 0.5rem)" },
6
+ "m": { "value": "clamp(0.75rem, 0.6875rem + 0.3125vw, 1rem)" },
7
+ "l": { "value": "clamp(1rem, 0.875rem + 0.625vw, 1.5rem)" },
8
+ "xl": { "value": "clamp(1.25rem, 1rem + 1.25vw, 2.25rem)" },
9
+ "2xl": { "value": "clamp(1.5rem, 1.125rem + 1.875vw, 3rem)" }
19
10
  }
20
11
  }
21
12
  }
@@ -2,20 +2,11 @@
2
2
  "ams": {
3
3
  "space": {
4
4
  "xs": { "value": "clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)" },
5
- "sm": { "value": "clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)" },
6
- "md": { "value": "clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)" },
7
- "lg": { "value": "clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)" },
8
- "xl": { "value": "clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)" },
9
- "grid": {
10
- "xs": { "value": "clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)" },
11
- "sm": { "value": "clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)" },
12
- "md": {
13
- "value": "clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",
14
- "comment": "Grows from 16px at 320px wide to 56px at 1600px wide."
15
- },
16
- "lg": { "value": "clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)" },
17
- "xl": { "value": "clamp(2rem, calc(0.75rem + 6.25vw), 7rem)" }
18
- }
5
+ "s": { "value": "clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)" },
6
+ "m": { "value": "clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)" },
7
+ "l": { "value": "clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)" },
8
+ "xl": { "value": "clamp(2.25rem, 1.9375rem + 1.5625vw, 3.5rem)" },
9
+ "2xl": { "value": "clamp(2.8125rem, 2.2031rem + 3.0469vw, 5.25rem)" }
19
10
  }
20
11
  }
21
12
  }
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "ams": {
3
- "text": {
4
- "level": {
3
+ "typography": {
4
+ "body-text": {
5
+ "font-size": { "value": "1rem" },
6
+ "small": {
7
+ "font-size": { "value": "clamp(0.8889rem, calc(0.9141rem + -0.0253vw), 0.9091rem)" }
8
+ },
9
+ "large": {
10
+ "font-size": { "value": "clamp(1.1rem, calc(1.0938rem + 0.0313vw), 1.125rem)" }
11
+ },
12
+ "x-large": {
13
+ "font-size": { "value": "clamp(1.21rem, calc(1.1961rem + 0.0695vw), 1.2656rem)" }
14
+ }
15
+ },
16
+ "heading": {
5
17
  "0": {
6
18
  "font-size": { "value": "clamp(1.6105rem, calc(1.5626rem + 0.2394vw), 1.802rem)" }
7
19
  },
@@ -0,0 +1,59 @@
1
+ {
2
+ "ams": {
3
+ "typography": {
4
+ "font-family": { "value": "'Amsterdam Sans', Arial, sans-serif" },
5
+ "hyphenate-limit-chars": { "value": "12 8 4" },
6
+ "body-text": {
7
+ "font-size": { "value": "clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)" },
8
+ "font-weight": { "value": "400" },
9
+ "line-height": { "value": "1.6667" },
10
+ "bold": {
11
+ "font-weight": { "value": "800" }
12
+ },
13
+ "small": {
14
+ "font-size": { "value": "clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)" },
15
+ "line-height": { "value": "1.5152" }
16
+ },
17
+ "large": {
18
+ "font-size": { "value": "clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)" },
19
+ "line-height": { "value": "1.5152" }
20
+ },
21
+ "x-large": {
22
+ "font-size": { "value": "clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)" },
23
+ "line-height": { "value": "1.3776" }
24
+ }
25
+ },
26
+ "heading": {
27
+ "font-weight": { "value": "800" },
28
+ "0": {
29
+ "font-size": { "value": "clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)" },
30
+ "line-height": { "value": "1.1386" }
31
+ },
32
+ "1": {
33
+ "font-size": { "value": "clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem)" },
34
+ "line-height": { "value": "1.1754" }
35
+ },
36
+ "2": {
37
+ "font-size": { "value": "clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem)" },
38
+ "line-height": { "value": "1.2133" }
39
+ },
40
+ "3": {
41
+ "font-size": { "value": "{ams.typography.body-text.x-large.font-size}" },
42
+ "line-height": { "value": "1.2524" }
43
+ },
44
+ "4": {
45
+ "font-size": { "value": "{ams.typography.body-text.large.font-size}" },
46
+ "line-height": { "value": "1.2928" }
47
+ },
48
+ "5": {
49
+ "font-size": { "value": "{ams.typography.body-text.font-size}" },
50
+ "line-height": { "value": "1.3345" }
51
+ },
52
+ "6": {
53
+ "font-size": { "value": "{ams.typography.body-text.small.font-size}" },
54
+ "line-height": { "value": "1.3776" }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "ams": {
3
+ "links": {
4
+ "color": { "value": "{ams.color.interactive.default}" },
5
+ "text-decoration-thickness": { "value": "{ams.border.width.m}" },
6
+ "text-underline-offset": { "value": "0.3333em" },
7
+ "hover": {
8
+ "color": { "value": "{ams.color.interactive.hover}" },
9
+ "text-decoration-thickness": { "value": "{ams.border.width.l}" },
10
+ "text-underline-offset": { "value": "0.2778em" }
11
+ },
12
+ "subtle": {
13
+ "text-decoration-line": { "value": "none" },
14
+ "hover": {
15
+ "text-decoration-line": { "value": "underline" }
16
+ }
17
+ },
18
+ "contrast": {
19
+ "color": { "value": "{ams.color.interactive.contrast}" },
20
+ "hover": {
21
+ "color": { "value": "{ams.color.interactive.contrast}" }
22
+ }
23
+ },
24
+ "inverse": {
25
+ "color": { "value": "{ams.color.interactive.inverse}" },
26
+ "hover": {
27
+ "color": { "value": "{ams.color.interactive.inverse}" }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "ams": {
3
3
  "accordion": {
4
- "gap": { "value": "{ams.space.md}" },
4
+ "gap": { "value": "{ams.space.m}" },
5
5
  "button": {
6
- "color": { "value": "{ams.color.primary-blue}" },
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.bold}" },
10
- "gap": { "value": "{ams.space.sm}" },
11
- "line-height": { "value": "{ams.text.level.5.line-height}" },
12
- "padding-block": { "value": "{ams.space.sm}" },
6
+ "color": { "value": "{ams.color.interactive.default}" },
7
+ "cursor": { "value": "{ams.cursor.interactive}" },
8
+ "font-family": { "value": "{ams.typography.font-family}" },
9
+ "font-size": { "value": "{ams.typography.heading.4.font-size}" },
10
+ "font-weight": { "value": "{ams.typography.heading.font-weight}" },
11
+ "gap": { "value": "{ams.space.s}" },
12
+ "line-height": { "value": "{ams.typography.heading.4.line-height}" },
13
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
14
+ "padding-block": { "value": "{ams.space.s}" },
13
15
  "padding-inline": { "value": "0" },
14
- "focus": {
15
- "outline-offset": { "value": "{ams.focus.outline-offset}" }
16
- },
17
16
  "hover": {
18
- "color": { "value": "{ams.color.dark-blue}" }
17
+ "color": { "value": "{ams.color.interactive.hover}" }
19
18
  }
20
19
  },
21
20
  "panel": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "ams": {
3
3
  "action-group": {
4
- "gap": { "value": "{ams.space.md}" }
4
+ "gap": { "value": "{ams.space.m}" }
5
5
  }
6
6
  }
7
7
  }
@@ -1,26 +1,38 @@
1
1
  {
2
2
  "ams": {
3
3
  "alert": {
4
- "background-color": { "value": "{ams.color.primary-white}" },
5
- "border-width": { "value": "{ams.border.width.xl}" },
6
- "border-style": { "value": "solid" },
7
- "gap": { "value": "{ams.space.sm}" },
8
- "padding-block": { "value": "{ams.space.md}" },
9
- "padding-inline": { "value": "{ams.space.lg}" },
10
- "error": {
11
- "border-color": { "value": "{ams.color.primary-red}" }
4
+ "background-color": { "value": "{ams.color.background}" },
5
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.xl} {ams.color.feedback.info}" },
6
+ "forced-colors": {
7
+ "border-width": { "value": "{ams.border.width.xl}" }
8
+ },
9
+ "severity-indicator": {
10
+ "background-color": { "value": "{ams.color.feedback.info}" },
11
+ "padding-block": { "value": "{ams.space.m}" },
12
+ "padding-inline": { "value": "{ams.space.xs}" }
12
13
  },
13
- "info": {
14
- "border-color": { "value": "{ams.color.blue}" }
14
+ "content": {
15
+ "gap": { "value": "{ams.space.s}" },
16
+ "padding-block": { "value": "{ams.space.m}" },
17
+ "padding-inline": { "value": "{ams.space.m}" }
18
+ },
19
+ "error": {
20
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.xl} {ams.color.feedback.error}" },
21
+ "severity-indicator": {
22
+ "background-color": { "value": "{ams.color.feedback.error}" }
23
+ }
15
24
  },
16
25
  "success": {
17
- "border-color": { "value": "{ams.color.dark-green}" }
26
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.xl} {ams.color.feedback.success}" },
27
+ "severity-indicator": {
28
+ "background-color": { "value": "{ams.color.feedback.success}" }
29
+ }
18
30
  },
19
31
  "warning": {
20
- "border-color": { "value": "{ams.color.orange}" }
21
- },
22
- "content": {
23
- "gap": { "value": "{ams.space.sm}" }
32
+ "box-shadow": { "value": "inset 0 0 0 {ams.border.width.xl} {ams.color.feedback.warning}" },
33
+ "severity-indicator": {
34
+ "background-color": { "value": "{ams.color.feedback.warning}" }
35
+ }
24
36
  }
25
37
  }
26
38
  }
@@ -1,71 +1,41 @@
1
1
  {
2
2
  "ams": {
3
3
  "avatar": {
4
- "aspect-ratio": { "value": "{ams.aspect-ratio.square}" },
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
+ "aspect-ratio": { "value": "{ams.aspect-ratio.1-1}" },
5
+ "background-color": { "value": "{ams.color.highlight.purple}" },
6
+ "color": { "value": "{ams.color.text.inverse}" },
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}" },
9
11
  "padding-block": { "value": "{ams.space.xs}" },
10
12
  "padding-inline": { "value": "{ams.space.xs}" },
11
- "black": {
12
- "background-color": { "value": "{ams.color.primary-black}" },
13
- "color": { "value": "{ams.color.primary-white}" }
14
- },
15
- "blue": {
16
- "background-color": { "value": "{ams.color.primary-blue}" },
17
- "color": { "value": "{ams.color.primary-white}" }
18
- },
19
- "dark-green": {
20
- "background-color": { "value": "{ams.color.dark-green}" },
21
- "color": { "value": "{ams.color.primary-white}" }
22
- },
23
13
  "forced-colors": {
24
- "border-width": { "value": "{ams.border.width.md}" }
25
- },
26
- "green": {
27
- "background-color": { "value": "{ams.color.green}" },
28
- "color": { "value": "{ams.color.primary-black}" }
14
+ "border-width": { "value": "{ams.border.width.m}" }
29
15
  },
30
- "grey-1": {
31
- "background-color": { "value": "{ams.color.neutral-grey1}" },
32
- "color": { "value": "{ams.color.primary-black}" }
16
+ "azure": {
17
+ "background-color": { "value": "{ams.color.highlight.azure}" },
18
+ "color": { "value": "{ams.color.text.default}" }
33
19
  },
34
- "grey-2": {
35
- "background-color": { "value": "{ams.color.neutral-grey2}" },
36
- "color": { "value": "{ams.color.primary-black}" }
37
- },
38
- "grey-3": {
39
- "background-color": { "value": "{ams.color.neutral-grey3}" },
40
- "color": { "value": "{ams.color.primary-white}" }
20
+ "green": {
21
+ "background-color": { "value": "{ams.color.highlight.green}" },
22
+ "color": { "value": "{ams.color.text.inverse}" }
41
23
  },
42
- "light-blue": {
43
- "background-color": { "value": "{ams.color.blue}" },
44
- "color": { "value": "{ams.color.primary-black}" }
24
+ "lime": {
25
+ "background-color": { "value": "{ams.color.highlight.lime}" },
26
+ "color": { "value": "{ams.color.text.default}" }
45
27
  },
46
28
  "magenta": {
47
- "background-color": { "value": "{ams.color.magenta}" },
48
- "color": { "value": "{ams.color.primary-white}" }
29
+ "background-color": { "value": "{ams.color.highlight.magenta}" },
30
+ "color": { "value": "{ams.color.text.inverse}" }
49
31
  },
50
32
  "orange": {
51
- "background-color": { "value": "{ams.color.orange}" },
52
- "color": { "value": "{ams.color.primary-black}" }
53
- },
54
- "purple": {
55
- "background-color": { "value": "{ams.color.purple}" },
56
- "color": { "value": "{ams.color.primary-white}" }
57
- },
58
- "red": {
59
- "background-color": { "value": "{ams.color.primary-red}" },
60
- "color": { "value": "{ams.color.primary-white}" }
61
- },
62
- "white": {
63
- "background-color": { "value": "{ams.color.primary-white}" },
64
- "color": { "value": "{ams.color.primary-black}" }
33
+ "background-color": { "value": "{ams.color.highlight.orange}" },
34
+ "color": { "value": "{ams.color.text.default}" }
65
35
  },
66
36
  "yellow": {
67
- "background-color": { "value": "{ams.color.yellow}" },
68
- "color": { "value": "{ams.color.primary-black}" }
37
+ "background-color": { "value": "{ams.color.highlight.yellow}" },
38
+ "color": { "value": "{ams.color.text.default}" }
69
39
  }
70
40
  }
71
41
  }
@@ -1,66 +1,40 @@
1
1
  {
2
2
  "ams": {
3
3
  "badge": {
4
- "font-family": { "value": "{ams.text.font-family}" },
5
- "font-size": { "value": "{ams.text.level.5.font-size}" },
6
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
7
- "line-height": { "value": "{ams.text.level.5.line-height}" },
4
+ "background-color": { "value": "{ams.color.feedback.success}" },
5
+ "color": { "value": "{ams.color.text.inverse}" },
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.bold.font-weight}" },
9
+ "line-height": { "value": "{ams.typography.body-text.line-height}" },
8
10
  "padding-inline": { "value": "{ams.space.xs}" },
9
- "black": {
10
- "background-color": { "value": "{ams.color.primary-black}" },
11
- "color": { "value": "{ams.color.primary-white}" }
11
+ "azure": {
12
+ "background-color": { "value": "{ams.color.feedback.info}" },
13
+ "color": { "value": "{ams.color.text.default}" }
12
14
  },
13
- "blue": {
14
- "background-color": { "value": "{ams.color.primary-blue}" },
15
- "color": { "value": "{ams.color.primary-white}" }
16
- },
17
- "dark-green": {
18
- "background-color": { "value": "{ams.color.dark-green}" },
19
- "color": { "value": "{ams.color.primary-white}" }
20
- },
21
- "green": {
22
- "background-color": { "value": "{ams.color.green}" },
23
- "color": { "value": "{ams.color.primary-black}" }
24
- },
25
- "grey-1": {
26
- "background-color": { "value": "{ams.color.neutral-grey1}" },
27
- "color": { "value": "{ams.color.primary-black}" }
28
- },
29
- "grey-2": {
30
- "background-color": { "value": "{ams.color.neutral-grey2}" },
31
- "color": { "value": "{ams.color.primary-black}" }
32
- },
33
- "grey-3": {
34
- "background-color": { "value": "{ams.color.neutral-grey3}" },
35
- "color": { "value": "{ams.color.primary-white}" }
36
- },
37
- "light-blue": {
38
- "background-color": { "value": "{ams.color.blue}" },
39
- "color": { "value": "{ams.color.primary-black}" }
15
+ "lime": {
16
+ "background-color": { "value": "{ams.color.highlight.lime}" },
17
+ "color": { "value": "{ams.color.text.default}" }
40
18
  },
41
19
  "magenta": {
42
- "background-color": { "value": "{ams.color.magenta}" },
43
- "color": { "value": "{ams.color.primary-white}" }
20
+ "background-color": { "value": "{ams.color.highlight.magenta}" },
21
+ "color": { "value": "{ams.color.text.inverse}" }
44
22
  },
45
23
  "orange": {
46
- "background-color": { "value": "{ams.color.orange}" },
47
- "color": { "value": "{ams.color.primary-black}" }
24
+ "background-color": { "value": "{ams.color.feedback.warning}" },
25
+ "color": { "value": "{ams.color.text.default}" }
48
26
  },
49
27
  "purple": {
50
- "background-color": { "value": "{ams.color.purple}" },
51
- "color": { "value": "{ams.color.primary-white}" }
28
+ "background-color": { "value": "{ams.color.highlight.purple}" },
29
+ "color": { "value": "{ams.color.text.inverse}" }
52
30
  },
53
31
  "red": {
54
- "background-color": { "value": "{ams.color.primary-red}" },
55
- "color": { "value": "{ams.color.primary-white}" }
56
- },
57
- "white": {
58
- "background-color": { "value": "{ams.color.primary-white}" },
59
- "color": { "value": "{ams.color.primary-black}" }
32
+ "background-color": { "value": "{ams.color.feedback.error}" },
33
+ "color": { "value": "{ams.color.text.inverse}" }
60
34
  },
61
35
  "yellow": {
62
- "background-color": { "value": "{ams.color.yellow}" },
63
- "color": { "value": "{ams.color.primary-black}" }
36
+ "background-color": { "value": "{ams.color.highlight.yellow}" },
37
+ "color": { "value": "{ams.color.text.default}" }
64
38
  }
65
39
  }
66
40
  }
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "ams": {
3
3
  "blockquote": {
4
- "color": { "value": "{ams.color.primary-black}" },
5
- "font-family": { "value": "{ams.text.font-family}" },
6
- "font-size": { "value": "{ams.text.level.3.font-size}" },
7
- "font-weight": { "value": "{ams.text.font-weight.bold}" },
8
- "line-height": { "value": "{ams.text.level.3.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.x-large.font-size}" },
7
+ "font-weight": { "value": "{ams.typography.body-text.bold.font-weight}" },
8
+ "line-height": { "value": "{ams.typography.body-text.x-large.line-height}" },
9
+ "inverse": {
10
+ "color": { "value": "{ams.color.text.inverse}" }
11
+ }
10
12
  }
11
13
  }
12
14
  }