@amsterdam/design-system-tokens 0.6.0 → 0.7.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 (109) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/build.js +1 -1
  3. package/dist/compact.css +14 -14
  4. package/dist/compact.d.ts +4 -4
  5. package/dist/compact.json +3 -3
  6. package/dist/compact.mjs +14 -14
  7. package/dist/compact.scss +14 -14
  8. package/dist/compact.theme.css +15 -15
  9. package/dist/index.css +581 -582
  10. package/dist/index.d.ts +29 -30
  11. package/dist/index.json +43 -44
  12. package/dist/index.mjs +581 -582
  13. package/dist/index.scss +581 -582
  14. package/dist/index.theme.css +582 -583
  15. package/package.json +1 -1
  16. package/src/brand/{amsterdam → ams}/color.tokens.json +1 -1
  17. package/src/brand/{amsterdam → ams}/proportion.tokens.json +1 -1
  18. package/src/brand/{amsterdam → ams}/space.compact.tokens.json +1 -1
  19. package/src/brand/{amsterdam → ams}/space.tokens.json +5 -5
  20. package/src/brand/{amsterdam/typography.compact.tokens.json → ams/text.compact.tokens.json} +3 -3
  21. package/src/brand/{amsterdam/typography.tokens.json → ams/text.tokens.json} +3 -3
  22. package/src/common/{amsterdam → ams}/action.tokens.json +1 -1
  23. package/src/common/{amsterdam → ams}/border.tokens.json +1 -1
  24. package/src/common/{amsterdam → ams}/focus.tokens.json +1 -1
  25. package/src/common/{amsterdam → ams}/hyphenation.tokens.json +1 -1
  26. package/src/common/{amsterdam → ams}/link-appearance.tokens.json +5 -5
  27. package/src/components/ams/accordion.tokens.json +25 -0
  28. package/src/components/ams/alert.tokens.json +29 -0
  29. package/src/components/ams/aspect-ratio.tokens.json +12 -0
  30. package/src/components/ams/badge.tokens.json +43 -0
  31. package/src/components/ams/blockquote.tokens.json +12 -0
  32. package/src/components/ams/breadcrumb.tokens.json +26 -0
  33. package/src/components/ams/button.tokens.json +59 -0
  34. package/src/components/ams/card.tokens.json +17 -0
  35. package/src/components/ams/checkbox.tokens.json +75 -0
  36. package/src/components/ams/column.tokens.json +13 -0
  37. package/src/components/{amsterdam → ams}/dialog.tokens.json +7 -7
  38. package/src/components/ams/fieldset.tokens.json +13 -0
  39. package/src/components/ams/form-label.tokens.json +11 -0
  40. package/src/components/ams/gap.tokens.json +11 -0
  41. package/src/components/ams/grid.compact.tokens.json +7 -0
  42. package/src/components/ams/grid.tokens.json +25 -0
  43. package/src/components/ams/header.tokens.json +14 -0
  44. package/src/components/ams/heading.tokens.json +36 -0
  45. package/src/components/ams/icon-button.tokens.json +37 -0
  46. package/src/components/ams/icon.tokens.json +22 -0
  47. package/src/components/ams/link-list.tokens.json +45 -0
  48. package/src/components/ams/link.tokens.json +61 -0
  49. package/src/components/ams/logo.tokens.json +10 -0
  50. package/src/components/ams/margin.tokens.json +11 -0
  51. package/src/components/ams/mark.tokens.json +7 -0
  52. package/src/components/ams/mega-menu.tokens.json +18 -0
  53. package/src/components/{amsterdam → ams}/ordered-list.tokens.json +7 -7
  54. package/src/components/ams/page-heading.tokens.json +12 -0
  55. package/src/components/ams/page-menu.tokens.json +24 -0
  56. package/src/components/ams/pagination.tokens.json +25 -0
  57. package/src/components/ams/paragraph.tokens.json +22 -0
  58. package/src/components/{amsterdam → ams}/radio.tokens.json +14 -14
  59. package/src/components/ams/row.tokens.json +13 -0
  60. package/src/components/{amsterdam → ams}/screen.tokens.json +1 -1
  61. package/src/components/ams/search-field.tokens.json +45 -0
  62. package/src/components/ams/skip-link.tokens.json +18 -0
  63. package/src/components/ams/spotlight.tokens.json +30 -0
  64. package/src/components/ams/switch.tokens.json +24 -0
  65. package/src/components/ams/table.tokens.json +22 -0
  66. package/src/components/ams/tabs.tokens.json +34 -0
  67. package/src/components/ams/text-area.tokens.json +36 -0
  68. package/src/components/ams/text-input.tokens.json +32 -0
  69. package/src/components/ams/top-task-link.tokens.json +28 -0
  70. package/src/components/{amsterdam → ams}/unordered-list.tokens.json +7 -7
  71. package/src/components/amsterdam/accordion.tokens.json +0 -25
  72. package/src/components/amsterdam/alert.tokens.json +0 -29
  73. package/src/components/amsterdam/aspect-ratio.tokens.json +0 -12
  74. package/src/components/amsterdam/badge.tokens.json +0 -43
  75. package/src/components/amsterdam/blockquote.tokens.json +0 -12
  76. package/src/components/amsterdam/breadcrumb.tokens.json +0 -26
  77. package/src/components/amsterdam/button.tokens.json +0 -62
  78. package/src/components/amsterdam/card.tokens.json +0 -17
  79. package/src/components/amsterdam/checkbox.tokens.json +0 -75
  80. package/src/components/amsterdam/column.tokens.json +0 -13
  81. package/src/components/amsterdam/fieldset.tokens.json +0 -13
  82. package/src/components/amsterdam/form-label.tokens.json +0 -11
  83. package/src/components/amsterdam/gap.tokens.json +0 -11
  84. package/src/components/amsterdam/grid.compact.tokens.json +0 -7
  85. package/src/components/amsterdam/grid.tokens.json +0 -25
  86. package/src/components/amsterdam/header.tokens.json +0 -14
  87. package/src/components/amsterdam/heading.tokens.json +0 -34
  88. package/src/components/amsterdam/icon-button.tokens.json +0 -37
  89. package/src/components/amsterdam/icon.tokens.json +0 -22
  90. package/src/components/amsterdam/link-list.tokens.json +0 -45
  91. package/src/components/amsterdam/link.tokens.json +0 -61
  92. package/src/components/amsterdam/logo.tokens.json +0 -10
  93. package/src/components/amsterdam/margin.tokens.json +0 -11
  94. package/src/components/amsterdam/mark.tokens.json +0 -7
  95. package/src/components/amsterdam/mega-menu.tokens.json +0 -18
  96. package/src/components/amsterdam/page-heading.tokens.json +0 -12
  97. package/src/components/amsterdam/page-menu.tokens.json +0 -24
  98. package/src/components/amsterdam/pagination.tokens.json +0 -25
  99. package/src/components/amsterdam/paragraph.tokens.json +0 -22
  100. package/src/components/amsterdam/row.tokens.json +0 -13
  101. package/src/components/amsterdam/search-field.tokens.json +0 -45
  102. package/src/components/amsterdam/skip-link.tokens.json +0 -18
  103. package/src/components/amsterdam/spotlight.tokens.json +0 -30
  104. package/src/components/amsterdam/switch.tokens.json +0 -24
  105. package/src/components/amsterdam/table.tokens.json +0 -22
  106. package/src/components/amsterdam/tabs.tokens.json +0 -34
  107. package/src/components/amsterdam/text-area.tokens.json +0 -36
  108. package/src/components/amsterdam/text-input.tokens.json +0 -32
  109. package/src/components/amsterdam/top-task-link.tokens.json +0 -28
@@ -0,0 +1,37 @@
1
+ {
2
+ "ams": {
3
+ "icon-button": {
4
+ "color": { "value": "{ams.color.primary-blue}" },
5
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
6
+ "hover": {
7
+ "background-color": { "value": "rgba(0, 70, 153, 0.125)" },
8
+ "color": { "value": "{ams.color.dark-blue}" }
9
+ },
10
+ "disabled": {
11
+ "color": { "value": "{ams.color.neutral-grey2}" }
12
+ },
13
+ "on-background-light": {
14
+ "color": { "value": "{ams.color.primary-black}" },
15
+ "hover": {
16
+ "background-color": { "value": "rgba(0, 0, 0, 0.125)" },
17
+ "color": { "value": "{ams.color.primary-black}" }
18
+ },
19
+ "disabled": {
20
+ "color": { "value": "{ams.color.neutral-grey2}" }
21
+ }
22
+ },
23
+ "on-background-dark": {
24
+ "background-color": { "value": "{ams.color.primary-blue}" },
25
+ "color": { "value": "{ams.color.primary-white}" },
26
+ "hover": {
27
+ "background-color": { "value": "{ams.color.dark-blue}" },
28
+ "color": { "value": "{ams.color.primary-white}" }
29
+ },
30
+ "disabled": {
31
+ "color": { "value": "{ams.color.primary-white}" },
32
+ "background-color": { "value": "{ams.color.neutral-grey2}" }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "ams": {
3
+ "icon": {
4
+ "size-3": {
5
+ "font-size": { "value": "{ams.text.level.3.font-size}" },
6
+ "line-height": { "value": "{ams.text.level.3.line-height}" }
7
+ },
8
+ "size-4": {
9
+ "font-size": { "value": "{ams.text.level.4.font-size}" },
10
+ "line-height": { "value": "{ams.text.level.4.line-height}" }
11
+ },
12
+ "size-5": {
13
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
14
+ "line-height": { "value": "{ams.text.level.5.line-height}" }
15
+ },
16
+ "size-6": {
17
+ "font-size": { "value": "{ams.text.level.6.font-size}" },
18
+ "line-height": { "value": "{ams.text.level.6.line-height}" }
19
+ }
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "ams": {
3
+ "link-list": {
4
+ "gap": { "value": "0.5em" },
5
+ "link": {
6
+ "color": { "value": "{ams.link-appearance.color}" },
7
+ "font-family": { "value": "{ams.text.font-family}" },
8
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
9
+ "gap": { "value": "0.5em" },
10
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
+ "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
12
+ "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
13
+ "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
14
+ "small": {
15
+ "font-size": { "value": "{ams.text.level.6.font-size}" },
16
+ "line-height": { "value": "{ams.text.level.6.line-height}" }
17
+ },
18
+ "medium": {
19
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
20
+ "line-height": { "value": "{ams.text.level.5.line-height}" }
21
+ },
22
+ "large": {
23
+ "font-size": { "value": "{ams.text.level.4.font-size}" },
24
+ "line-height": { "value": "{ams.text.level.4.line-height}" }
25
+ },
26
+ "hover": {
27
+ "color": { "value": "{ams.link-appearance.hover.color}" },
28
+ "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
29
+ },
30
+ "on-background-dark": {
31
+ "color": { "value": "{ams.link-appearance.on-background-dark.color}" },
32
+ "hover": {
33
+ "color": { "value": "{ams.link-appearance.on-background-dark.color}" }
34
+ }
35
+ },
36
+ "on-background-light": {
37
+ "color": { "value": "{ams.link-appearance.on-background-light.color}" },
38
+ "hover": {
39
+ "color": { "value": "{ams.link-appearance.on-background-light.color}" }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "ams": {
3
+ "link": {
4
+ "color": { "value": "{ams.link-appearance.color}" },
5
+ "font-family": { "value": "{ams.text.font-family}" },
6
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
7
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
8
+ "hover": {
9
+ "color": { "value": "{ams.link-appearance.hover.color}" }
10
+ },
11
+ "inline": {
12
+ "text-decoration-line": { "value": "{ams.link-appearance.regular.text-decoration-line}" },
13
+ "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
14
+ "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
15
+ "font-family": { "value": "inherit" },
16
+ "font-size": { "value": "inherit" },
17
+ "line-height": { "value": "inherit" },
18
+ "hover": {
19
+ "text-decoration-thickness": {
20
+ "value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
21
+ },
22
+ "text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
23
+ },
24
+ "visited": {
25
+ "color": { "value": "{ams.color.purple}" }
26
+ }
27
+ },
28
+ "standalone": {
29
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
30
+ "line-height": { "value": "{ams.text.level.5.line-height}" },
31
+ "text-decoration-line": { "value": "{ams.link-appearance.regular.text-decoration-line}" },
32
+ "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
33
+ "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
34
+ "hover": {
35
+ "text-decoration-thickness": {
36
+ "value": "{ams.link-appearance.regular.hover.text-decoration-thickness}"
37
+ },
38
+ "text-underline-offset": { "value": "{ams.link-appearance.regular.hover.text-underline-offset}" }
39
+ }
40
+ },
41
+ "on-background-dark": {
42
+ "color": { "value": "{ams.link-appearance.on-background-dark.color}" },
43
+ "hover": {
44
+ "color": { "value": "{ams.link-appearance.on-background-dark.color}" }
45
+ },
46
+ "visited": {
47
+ "color": { "value": "{ams.link-appearance.on-background-dark.color}" }
48
+ }
49
+ },
50
+ "on-background-light": {
51
+ "color": { "value": "{ams.link-appearance.on-background-light.color}" },
52
+ "hover": {
53
+ "color": { "value": "{ams.link-appearance.on-background-light.color}" }
54
+ },
55
+ "visited": {
56
+ "color": { "value": "{ams.link-appearance.on-background-light.color}" }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "ams": {
3
+ "logo": {
4
+ "height": { "value": "2.5rem" },
5
+ "emblem": { "color": { "value": "{ams.color.primary-red}" } },
6
+ "title": { "color": { "value": "{ams.color.primary-red}" } },
7
+ "subsite": { "color": { "value": "{ams.color.primary-black}" } }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "ams": {
3
+ "margin": {
4
+ "xs": { "value": "{ams.space.grid.xs}" },
5
+ "sm": { "value": "{ams.space.grid.sm}" },
6
+ "md": { "value": "{ams.space.grid.md}" },
7
+ "lg": { "value": "{ams.space.grid.lg}" },
8
+ "xl": { "value": "{ams.space.grid.xl}" }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "ams": {
3
+ "mark": {
4
+ "background-color": { "value": "{ams.color.yellow}" }
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "ams": {
3
+ "mega-menu": {
4
+ "list-category": {
5
+ "column-gap": {
6
+ "value": "{ams.space.grid.md}",
7
+ "comment": "Must have the same value as `ams.grid.column-gap`."
8
+ },
9
+ "column-width": { "value": "20rem" },
10
+ "padding-block-start": { "value": "1rem" },
11
+ "padding-block-end": {
12
+ "value": "{ams.space.grid.md}",
13
+ "comment": "Must have the same value as `ams.grid.row-gap.md`."
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -1,13 +1,13 @@
1
1
  {
2
- "amsterdam": {
2
+ "ams": {
3
3
  "ordered-list": {
4
- "color": { "value": "{amsterdam.color.primary-black}" },
5
- "font-family": { "value": "{amsterdam.typography.font-family}" },
6
- "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
7
- "font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
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
8
  "gap": { "value": "0.75rem" },
9
- "inverse-color": { "value": "{amsterdam.color.primary-white}" },
10
- "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
9
+ "inverse-color": { "value": "{ams.color.primary-white}" },
10
+ "line-height": { "value": "{ams.text.level.5.line-height}" },
11
11
  "list-style-type": { "value": "decimal" },
12
12
  "item": {
13
13
  "margin-inline-start": {
@@ -0,0 +1,12 @@
1
+ {
2
+ "ams": {
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}" }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "ams": {
3
+ "page-menu": {
4
+ "column-gap": { "value": "2.5rem" },
5
+ "row-gap": { "value": "0.5rem" },
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": "0.5rem" },
12
+ "line-height": { "value": "{ams.text.level.6.line-height}" },
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}" },
17
+ "hover": {
18
+ "color": { "value": "{ams.link-appearance.hover.color}" },
19
+ "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "ams": {
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": {
10
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
+ "padding-inline": { "value": "{ams.space.inside.sm}" },
12
+ "text-decoration-line": { "value": "{ams.link-appearance.subtle.text-decoration-line}" },
13
+ "text-decoration-thickness": { "value": "{ams.link-appearance.text-decoration-thickness}" },
14
+ "text-underline-offset": { "value": "{ams.link-appearance.text-underline-offset}" },
15
+ "current": {
16
+ "font-weight": { "value": "{ams.text.font-weight.bold}" }
17
+ },
18
+ "hover": {
19
+ "color": { "value": "{ams.link-appearance.hover.color}" },
20
+ "text-decoration-line": { "value": "{ams.link-appearance.subtle.hover.text-decoration-line}" }
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "ams": {
3
+ "paragraph": {
4
+ "color": { "value": "{ams.color.primary-black}" },
5
+ "font-family": { "value": "{ams.text.font-family}" },
6
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
7
+ "inverse-color": { "value": "{ams.color.primary-white}" },
8
+ "small": {
9
+ "font-size": { "value": "{ams.text.level.6.font-size}" },
10
+ "line-height": { "value": "{ams.text.level.6.line-height}" }
11
+ },
12
+ "medium": {
13
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
14
+ "line-height": { "value": "{ams.text.level.5.line-height}" }
15
+ },
16
+ "large": {
17
+ "font-size": { "value": "{ams.text.level.4.font-size}" },
18
+ "line-height": { "value": "{ams.text.level.4.line-height}" }
19
+ }
20
+ }
21
+ }
22
+ }
@@ -1,14 +1,14 @@
1
1
  {
2
- "amsterdam": {
2
+ "ams": {
3
3
  "radio": {
4
- "color": { "value": "{amsterdam.color.primary-black}" },
5
- "font-family": { "value": "{amsterdam.typography.font-family}" },
6
- "font-size": { "value": "{amsterdam.typography.text-level.5.font-size}" },
7
- "font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
8
- "line-height": { "value": "{amsterdam.typography.text-level.5.line-height}" },
9
- "outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
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
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
10
10
  "circle": {
11
- "border-color": { "value": "{amsterdam.color.primary-blue}" },
11
+ "border-color": { "value": "{ams.color.primary-blue}" },
12
12
  "checked": {
13
13
  "background-image": {
14
14
  "value": "url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23004699'%3E%3Ccircle cx='16' cy='16' r='16' /%3E%3C/svg%3E\")"
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "disabled": {
23
- "border-color": { "value": "{amsterdam.color.neutral-grey3}" },
23
+ "border-color": { "value": "{ams.color.neutral-grey3}" },
24
24
  "checked": {
25
25
  "background-image": {
26
26
  "value": "url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23767676'%3E%3Ccircle cx='16' cy='16' r='16' /%3E%3C/svg%3E\")"
@@ -33,10 +33,10 @@
33
33
  }
34
34
  },
35
35
  "hover": {
36
- "border-color": { "value": "{amsterdam.color.dark-blue}" }
36
+ "border-color": { "value": "{ams.color.dark-blue}" }
37
37
  },
38
38
  "invalid": {
39
- "border-color": { "value": "{amsterdam.color.primary-red}" },
39
+ "border-color": { "value": "{ams.color.primary-red}" },
40
40
  "checked": {
41
41
  "background-image": {
42
42
  "value": "url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23EC0000'%3E%3Ccircle cx='16' cy='16' r='16' /%3E%3C/svg%3E\")"
@@ -48,15 +48,15 @@
48
48
  }
49
49
  },
50
50
  "hover": {
51
- "border-color": { "value": "{amsterdam.color.primary-red}" }
51
+ "border-color": { "value": "{ams.color.primary-red}" }
52
52
  }
53
53
  }
54
54
  },
55
55
  "disabled": {
56
- "color": { "value": "{amsterdam.color.neutral-grey3}" }
56
+ "color": { "value": "{ams.color.neutral-grey3}" }
57
57
  },
58
58
  "hover": {
59
- "color": { "value": "{amsterdam.color.dark-blue}" }
59
+ "color": { "value": "{ams.color.dark-blue}" }
60
60
  }
61
61
  }
62
62
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "ams": {
3
+ "row": {
4
+ "gap": {
5
+ "xs": { "value": "{ams.space.stack.xs}" },
6
+ "sm": { "value": "{ams.space.stack.sm}" },
7
+ "md": { "value": "{ams.space.stack.md}" },
8
+ "lg": { "value": "{ams.space.stack.lg}" },
9
+ "xl": { "value": "{ams.space.stack.xl}" }
10
+ }
11
+ }
12
+ }
13
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "amsterdam": {
2
+ "ams": {
3
3
  "screen": {
4
4
  "wide": {
5
5
  "max-width": { "value": "100rem" }
@@ -0,0 +1,45 @@
1
+ {
2
+ "ams": {
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
+ "hover": {
9
+ "background-color": { "value": "{ams.color.dark-blue}" }
10
+ },
11
+ "padding-block": { "value": "{ams.space.inside.xs}" },
12
+ "padding-inline": { "value": "{ams.space.inside.xs}" }
13
+ },
14
+ "input": {
15
+ "box-shadow": {
16
+ "value": "inset 0 0 0 1px {ams.color.primary-black}"
17
+ },
18
+ "color": { "value": "{ams.color.primary-black}" },
19
+ "font-family": { "value": "{ams.text.font-family}" },
20
+ "font-size": { "value": "{ams.text.level.6.font-size}" },
21
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
22
+ "line-height": { "value": "{ams.text.level.6.line-height}" },
23
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
24
+ "padding-block": { "value": "{ams.space.inside.xs}" },
25
+ "padding-inline": { "value": "{ams.space.inside.md}" },
26
+ "cancel-button": {
27
+ "background-image": {
28
+ "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>\")"
29
+ },
30
+ "color": { "value": "{ams.color.primary-blue}" },
31
+ "height": { "value": "{ams.text.level.6.font-size}" },
32
+ "width": { "value": "{ams.text.level.6.font-size}" }
33
+ },
34
+ "hover": {
35
+ "box-shadow": {
36
+ "value": "inset 0 0 0 2px {ams.color.primary-black}"
37
+ }
38
+ },
39
+ "placeholder": {
40
+ "color": { "value": "{ams.color.neutral-grey3}" }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "ams": {
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-weight": { "value": "{ams.text.font-weight.normal}" },
8
+ "font-size": { "value": "{ams.text.level.6.font-size}" },
9
+ "line-height": { "value": "{ams.text.level.6.line-height}" },
10
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
11
+ "padding-block": { "value": "{ams.space.inside.xs}" },
12
+ "padding-inline": { "value": "{ams.space.inside.md}" },
13
+ "hover": {
14
+ "background-color": { "value": "{ams.color.dark-blue}" }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "ams": {
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}" }
12
+ },
13
+ "green": {
14
+ "background-color": { "value": "{ams.color.green}" }
15
+ },
16
+ "magenta": {
17
+ "background-color": { "value": "{ams.color.magenta}" }
18
+ },
19
+ "orange": {
20
+ "background-color": { "value": "{ams.color.orange}" }
21
+ },
22
+ "purple": {
23
+ "background-color": { "value": "{ams.color.purple}" }
24
+ },
25
+ "yellow": {
26
+ "background-color": { "value": "{ams.color.yellow}" }
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "ams": {
3
+ "switch": {
4
+ "font-family": { "value": "{ams.text.font-family}" },
5
+ "background-color": { "value": "{ams.color.neutral-grey3}" },
6
+ "width": { "value": "3.5rem" },
7
+ "thumb": {
8
+ "background-color": { "value": "{ams.color.primary-white}" },
9
+ "width": { "value": "1.75rem" },
10
+ "height": { "value": "1.75rem" },
11
+ "hover": {
12
+ "color": { "value": "{ams.color.dark-blue}" }
13
+ }
14
+ },
15
+ "checked": {
16
+ "background-color": { "value": "{ams.color.primary-blue}" }
17
+ },
18
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
19
+ "disabled": {
20
+ "background-color": { "value": "{ams.color.neutral-grey2}" }
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "ams": {
3
+ "table": {
4
+ "color": { "value": "{ams.color.primary-black}" },
5
+ "font-family": { "value": "{ams.text.font-family}" },
6
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
7
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
8
+ "line-height": { "value": "{ams.text.level.5.line-height}" },
9
+ "caption": {
10
+ "font-weight": { "value": "{ams.text.font-weight.bold}" }
11
+ },
12
+ "cell": {
13
+ "border-bottom": { "value": "1px solid {ams.color.neutral-grey1}" },
14
+ "padding-block": { "value": "{ams.space.inside.md}" },
15
+ "padding-inline": { "value": "{ams.space.inside.md}" }
16
+ },
17
+ "header-cell": {
18
+ "font-weight": { "value": "{ams.text.font-weight.bold}" }
19
+ }
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "ams": {
3
+ "tabs": {
4
+ "list": {
5
+ "border-bottom": { "value": ".125rem solid {ams.color.primary-blue}" }
6
+ },
7
+ "button": {
8
+ "background-color": { "value": "transparent" },
9
+ "border": { "value": "none" },
10
+ "color": { "value": "{ams.color.primary-blue}" },
11
+ "cursor": { "value": "{ams.action.activate.cursor}" },
12
+ "font-family": { "value": "{ams.text.font-family}" },
13
+ "font-weight": { "value": "{ams.text.font-weight.normal}" },
14
+ "font-size": { "value": "{ams.text.level.5.font-size}" },
15
+ "line-height": { "value": "{ams.text.level.5.line-height}" },
16
+ "outline-offset": { "value": "-0.25rem" },
17
+ "padding-block": { "value": ".5rem" },
18
+ "padding-inline": { "value": "1rem" },
19
+ "hover": {
20
+ "color": { "value": "{ams.color.dark-blue}" },
21
+ "box-shadow": { "value": "inset 0 -0.125rem 0 0 {ams.color.dark-blue}" }
22
+ },
23
+ "selected": {
24
+ "background-color": { "value": "{ams.color.primary-blue}" },
25
+ "color": { "value": "{ams.color.primary-white}" }
26
+ },
27
+ "disabled": {
28
+ "color": { "value": "{ams.color.neutral-grey2}" },
29
+ "cursor": { "value": "{ams.action.disabled.cursor}" }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "ams": {
3
+ "text-area": {
4
+ "box-shadow": { "value": "inset 0 0 0 1px {ams.color.primary-black}" },
5
+ "color": { "value": "{ams.color.primary-black}" },
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}" },
10
+ "min-height": {
11
+ "value": "calc({ams.text.level.6.line-height} * 1em + 2 * {ams.text-area.padding-block})"
12
+ },
13
+ "outline-offset": { "value": "{ams.focus.outline-offset}" },
14
+ "padding-block": { "value": "0.5rem" },
15
+ "padding-inline": { "value": "1rem" },
16
+ "disabled": {
17
+ "background-color": { "value": "{ams.color.primary-white}" },
18
+ "box-shadow": { "value": "inset 0 0 0 1px {ams.color.neutral-grey2}" },
19
+ "color": { "value": "{ams.color.neutral-grey2}" },
20
+ "cursor": { "value": "{ams.action.disabled.cursor}" }
21
+ },
22
+ "hover": {
23
+ "box-shadow": { "value": "inset 0 0 0 2px {ams.color.primary-black}" }
24
+ },
25
+ "invalid": {
26
+ "box-shadow": { "value": "inset 0 0 0 1px {ams.color.primary-red}" },
27
+ "hover": {
28
+ "box-shadow": { "value": "inset 0 0 0 2px {ams.color.primary-red}" }
29
+ }
30
+ },
31
+ "placeholder": {
32
+ "color": { "value": "{ams.color.neutral-grey3}" }
33
+ }
34
+ }
35
+ }
36
+ }