@amsterdam/design-system-tokens 3.3.0 → 4.0.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 +61 -3
  2. package/README.md +131 -22
  3. package/build.js +11 -1
  4. package/dist/compact.css +9 -2
  5. package/dist/compact.d.ts +21 -6
  6. package/dist/compact.json +33 -18
  7. package/dist/compact.mjs +21 -13
  8. package/dist/compact.scss +9 -2
  9. package/dist/compact.theme.css +9 -2
  10. package/dist/index.css +177 -165
  11. package/dist/index.d.ts +250 -226
  12. package/dist/index.json +345 -321
  13. package/dist/index.mjs +285 -267
  14. package/dist/index.scss +177 -165
  15. package/dist/index.theme.css +177 -165
  16. package/package.json +2 -2
  17. package/src/brand/ams/aspect-ratio.tokens.json +24 -6
  18. package/src/brand/ams/border.compact.tokens.json +20 -0
  19. package/src/brand/ams/border.tokens.json +25 -0
  20. package/src/brand/ams/color.compact.tokens.json +15 -0
  21. package/src/brand/ams/color.tokens.json +37 -49
  22. package/src/brand/ams/cursor.tokens.json +9 -2
  23. package/src/brand/ams/focus.tokens.json +1 -0
  24. package/src/brand/ams/space.compact.tokens.json +16 -4
  25. package/src/brand/ams/space.tokens.json +31 -6
  26. package/src/brand/ams/typography.compact.tokens.json +36 -27
  27. package/src/brand/ams/typography.tokens.json +60 -32
  28. package/src/common/ams/inputs.tokens.json +41 -19
  29. package/src/common/ams/links.tokens.json +35 -10
  30. package/src/components/ams/accordion.tokens.json +18 -11
  31. package/src/components/ams/action-group.tokens.json +2 -2
  32. package/src/components/ams/alert.tokens.json +38 -20
  33. package/src/components/ams/avatar.tokens.json +79 -29
  34. package/src/components/ams/badge.tokens.json +60 -23
  35. package/src/components/ams/blockquote.tokens.json +14 -5
  36. package/src/components/ams/body.compact.tokens.json +12 -0
  37. package/src/components/ams/body.tokens.json +12 -0
  38. package/src/components/ams/breadcrumb.tokens.json +36 -15
  39. package/src/components/ams/button.tokens.json +74 -33
  40. package/src/components/ams/call-to-action-link.tokens.json +29 -16
  41. package/src/components/ams/card.tokens.json +30 -17
  42. package/src/components/ams/character-count.tokens.json +14 -5
  43. package/src/components/ams/checkbox.tokens.json +106 -39
  44. package/src/components/ams/column.tokens.json +10 -10
  45. package/src/components/ams/date-input.tokens.json +56 -23
  46. package/src/components/ams/description-list.tokens.json +101 -23
  47. package/src/components/ams/dialog.tokens.json +104 -28
  48. package/src/components/ams/error-message.tokens.json +13 -6
  49. package/src/components/ams/field-set.tokens.json +40 -17
  50. package/src/components/ams/field.tokens.json +18 -7
  51. package/src/components/ams/figure.tokens.json +16 -7
  52. package/src/components/ams/file-input.tokens.json +69 -30
  53. package/src/components/ams/file-list.tokens.json +20 -11
  54. package/src/components/ams/grid.compact.tokens.json +24 -2
  55. package/src/components/ams/grid.tokens.json +77 -24
  56. package/src/components/ams/heading.tokens.json +38 -36
  57. package/src/components/ams/hint.tokens.json +6 -2
  58. package/src/components/ams/icon-button.tokens.json +46 -16
  59. package/src/components/ams/icon.tokens.json +19 -23
  60. package/src/components/ams/image-slider.tokens.json +28 -16
  61. package/src/components/ams/image.tokens.json +4 -1
  62. package/src/components/ams/invalid-form-alert.tokens.json +2 -2
  63. package/src/components/ams/label.tokens.json +18 -6
  64. package/src/components/ams/link-list.tokens.json +50 -22
  65. package/src/components/ams/link.tokens.json +38 -25
  66. package/src/components/ams/logo.tokens.json +6 -2
  67. package/src/components/ams/mark.tokens.json +3 -1
  68. package/src/components/ams/menu.tokens.json +81 -28
  69. package/src/components/ams/ordered-list.tokens.json +39 -25
  70. package/src/components/ams/page-footer.tokens.json +70 -26
  71. package/src/components/ams/page-header.compact.tokens.json +2 -1
  72. package/src/components/ams/page-header.tokens.json +128 -59
  73. package/src/components/ams/page.compact.tokens.json +12 -0
  74. package/src/components/ams/page.tokens.json +5 -3
  75. package/src/components/ams/pagination.tokens.json +37 -17
  76. package/src/components/ams/paragraph.tokens.json +22 -8
  77. package/src/components/ams/password-input.tokens.json +47 -21
  78. package/src/components/ams/progress-list.tokens.json +194 -52
  79. package/src/components/ams/radio.tokens.json +97 -36
  80. package/src/components/ams/row.tokens.json +10 -10
  81. package/src/components/ams/search-field.tokens.json +57 -24
  82. package/src/components/ams/select.tokens.json +63 -23
  83. package/src/components/ams/skip-link.tokens.json +23 -12
  84. package/src/components/ams/spotlight.tokens.json +21 -7
  85. package/src/components/ams/standalone-link.tokens.json +44 -18
  86. package/src/components/ams/switch.tokens.json +40 -10
  87. package/src/components/ams/tab-navigation.tokens.json +205 -0
  88. package/src/components/ams/table-of-contents.tokens.json +38 -20
  89. package/src/components/ams/table.tokens.json +29 -10
  90. package/src/components/ams/tabs.tokens.json +39 -20
  91. package/src/components/ams/text-area.tokens.json +49 -23
  92. package/src/components/ams/text-input.tokens.json +47 -19
  93. package/src/components/ams/time-input.tokens.json +56 -21
  94. package/src/components/ams/unordered-list.tokens.json +37 -25
  95. package/style-dictionary/transforms/dtcg-font-family.js +32 -0
  96. package/src/brand/ams/color.deprecated.tokens.json +0 -13
  97. package/src/brand/ams/typography.deprecated.compact.tokens.json +0 -26
  98. package/src/brand/ams/typography.deprecated.tokens.json +0 -40
  99. package/src/components/ams/accordion.deprecated.tokens.json +0 -39
  100. package/src/components/ams/checkbox.deprecated.tokens.json +0 -59
  101. package/src/components/ams/date-input.deprecated.tokens.json +0 -38
  102. package/src/components/ams/field-set.deprecated.tokens.json +0 -16
  103. package/src/components/ams/field.deprecated.tokens.json +0 -14
  104. package/src/components/ams/icon.deprecated.tokens.json +0 -22
  105. package/src/components/ams/menu.deprecated.tokens.json +0 -36
  106. package/src/components/ams/page-heading.deprecated.tokens.json +0 -46
  107. package/src/components/ams/standalone-link.deprecated.tokens.json +0 -38
  108. package/src/components/ams/table-of-contents.deprecated.tokens.json +0 -24
  109. package/src/components/ams/time-input.deprecated.tokens.json +0 -38
@@ -2,15 +2,22 @@
2
2
  "ams": {
3
3
  "typography": {
4
4
  "font-family": {
5
- "$value": "'Amsterdam Sans', Arial, sans-serif",
6
- "$type": "fontFamily"
5
+ "$value": ["Amsterdam Sans", "Arial", "sans-serif"],
6
+ "$type": "fontFamily",
7
+ "$description": "The corporate typeface with system fallbacks."
7
8
  },
8
9
  "hyphenate-limit-chars": {
9
- "$value": "auto"
10
+ "$value": "auto",
11
+ "$description": "Lets the browser decide the minimum character count for hyphenation.",
12
+ "$extensions": {
13
+ "nl.amsterdam.type": "hyphenateLimitChars"
14
+ }
10
15
  },
11
16
  "body-text": {
17
+ "$description": "Text styles for running body copy. Font sizes scale fluidly between 320px and 1600px viewports.",
12
18
  "font-size": {
13
19
  "$value": "clamp(1.125rem, 1.0893rem + 0.1786vw, 1.25rem)",
20
+ "$description": "Scales from 18px to 20px.",
14
21
  "$extensions": {
15
22
  "nl.amsterdam.type": "fontSize"
16
23
  }
@@ -20,10 +27,11 @@
20
27
  "$type": "fontWeight"
21
28
  },
22
29
  "line-height": {
23
- "$value": "1.8",
30
+ "$value": 1.6,
24
31
  "$extensions": {
25
- "nl.amsterdam.type": "lineHeight"
26
- }
32
+ "nl.amsterdam.subtype": "lineHeight"
33
+ },
34
+ "$type": "number"
27
35
  },
28
36
  "bold": {
29
37
  "font-weight": {
@@ -32,69 +40,85 @@
32
40
  }
33
41
  },
34
42
  "small": {
43
+ "$description": "For supporting text like captions and metadata.",
35
44
  "font-size": {
36
45
  "$value": {
37
46
  "value": 1,
38
47
  "unit": "rem"
39
48
  },
40
- "$type": "dimension"
49
+ "$type": "dimension",
50
+ "$description": "Fixed at 16px; does not scale."
41
51
  },
42
52
  "line-height": {
43
- "$value": "1.6",
53
+ "$value": 1.5,
44
54
  "$extensions": {
45
- "nl.amsterdam.type": "lineHeight"
46
- }
55
+ "nl.amsterdam.subtype": "lineHeight"
56
+ },
57
+ "$type": "number"
47
58
  }
48
59
  },
49
60
  "large": {
61
+ "$description": "For introductory or lead text.",
50
62
  "font-size": {
51
63
  "$value": "clamp(1.3125rem, 1.2411rem + 0.3571vw, 1.5625rem)",
64
+ "$description": "Scales from 21px to 25px.",
52
65
  "$extensions": {
53
66
  "nl.amsterdam.type": "fontSize"
54
67
  }
55
68
  },
56
69
  "line-height": {
57
- "$value": "1.6",
70
+ "$value": 1.5,
58
71
  "$extensions": {
59
- "nl.amsterdam.type": "lineHeight"
60
- }
72
+ "nl.amsterdam.subtype": "lineHeight"
73
+ },
74
+ "$type": "number"
61
75
  }
62
76
  },
63
77
  "x-large": {
78
+ "$description": "For short prominent text, e.g. blockquotes.",
64
79
  "font-size": {
65
80
  "$value": "clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem)",
81
+ "$description": "Scales from 24px to 32px.",
66
82
  "$extensions": {
67
83
  "nl.amsterdam.type": "fontSize"
68
84
  }
69
85
  },
70
86
  "line-height": {
71
- "$value": "1.4",
87
+ "$value": 1.4,
72
88
  "$extensions": {
73
- "nl.amsterdam.type": "lineHeight"
74
- }
89
+ "nl.amsterdam.subtype": "lineHeight"
90
+ },
91
+ "$type": "number"
75
92
  }
76
93
  }
77
94
  },
78
95
  "heading": {
96
+ "$description": "Text styles for section headings. Larger headings use tighter line-heights for visual balance.",
79
97
  "font-weight": {
80
98
  "$value": "800",
81
99
  "$type": "fontWeight"
82
100
  },
83
101
  "text-wrap": {
84
- "$value": "balance"
102
+ "$value": "balance",
103
+ "$description": "Distributes heading text evenly across lines for a more balanced appearance.",
104
+ "$extensions": {
105
+ "nl.amsterdam.type": "textWrap"
106
+ }
85
107
  },
86
108
  "1": {
87
109
  "font-size": {
88
110
  "$value": "clamp(2rem, 1.7143rem + 1.4286vw, 3rem)",
111
+ "$description": "Scales from 32px to 48px.",
89
112
  "$extensions": {
90
113
  "nl.amsterdam.type": "fontSize"
91
114
  }
92
115
  },
93
116
  "line-height": {
94
- "$value": "1.2",
117
+ "$value": 1.2,
95
118
  "$extensions": {
96
- "nl.amsterdam.type": "lineHeight"
97
- }
119
+ "nl.amsterdam.subtype": "lineHeight"
120
+ },
121
+ "$type": "number"
98
122
  }
99
123
  },
100
124
  "2": {
@@ -105,10 +129,11 @@
105
129
  }
106
130
  },
107
131
  "line-height": {
108
- "$value": "1.3",
132
+ "$value": 1.3,
109
133
  "$extensions": {
110
- "nl.amsterdam.type": "lineHeight"
111
- }
134
+ "nl.amsterdam.subtype": "lineHeight"
135
+ },
136
+ "$type": "number"
112
137
  }
113
138
  },
114
139
  "3": {
@@ -119,10 +144,11 @@
119
144
  }
120
145
  },
121
146
  "line-height": {
122
- "$value": "1.3",
147
+ "$value": 1.3,
123
148
  "$extensions": {
124
- "nl.amsterdam.type": "lineHeight"
125
- }
149
+ "nl.amsterdam.subtype": "lineHeight"
150
+ },
151
+ "$type": "number"
126
152
  }
127
153
  },
128
154
  "4": {
@@ -133,10 +159,11 @@
133
159
  }
134
160
  },
135
161
  "line-height": {
136
- "$value": "1.4",
162
+ "$value": 1.4,
137
163
  "$extensions": {
138
- "nl.amsterdam.type": "lineHeight"
139
- }
164
+ "nl.amsterdam.subtype": "lineHeight"
165
+ },
166
+ "$type": "number"
140
167
  }
141
168
  },
142
169
  "5": {
@@ -147,10 +174,11 @@
147
174
  }
148
175
  },
149
176
  "line-height": {
150
- "$value": "1.4",
177
+ "$value": 1.4,
151
178
  "$extensions": {
152
- "nl.amsterdam.type": "lineHeight"
153
- }
179
+ "nl.amsterdam.subtype": "lineHeight"
180
+ },
181
+ "$type": "number"
154
182
  }
155
183
  }
156
184
  }
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "ams": {
3
3
  "inputs": {
4
+ "$description": "Shared base styles for all form input components: text inputs, selects, text areas, etc.",
4
5
  "background-color": {
5
- "$value": "{ams.color.background}",
6
- "$type": "color"
6
+ "$value": "{ams.color.background.default}",
7
+ "$extensions": {
8
+ "nl.amsterdam.type": "color"
9
+ }
7
10
  },
8
11
  "border-color": {
9
12
  "$value": "currentColor",
10
- "$type": "color"
13
+ "$type": "color",
14
+ "$description": "Uses currentColor so the border adapts to the text colour, including in error states."
11
15
  },
12
16
  "border-style": {
13
17
  "$value": "solid",
@@ -23,11 +27,15 @@
23
27
  },
24
28
  "color": {
25
29
  "$value": "{ams.color.text.default}",
26
- "$type": "color"
30
+ "$extensions": {
31
+ "nl.amsterdam.type": "color"
32
+ }
27
33
  },
28
34
  "font-family": {
29
35
  "$value": "{ams.typography.font-family}",
30
- "$type": "fontFamily"
36
+ "$extensions": {
37
+ "nl.amsterdam.type": "fontFamily"
38
+ }
31
39
  },
32
40
  "font-size": {
33
41
  "$value": "{ams.typography.body-text.font-size}",
@@ -37,44 +45,51 @@
37
45
  },
38
46
  "font-weight": {
39
47
  "$value": "{ams.typography.body-text.font-weight}",
40
- "$type": "fontWeight"
48
+ "$extensions": {
49
+ "nl.amsterdam.type": "fontWeight"
50
+ }
41
51
  },
42
52
  "line-height": {
43
- "$value": "1.4",
53
+ "$value": 1.4,
54
+ "$description": "Tighter than body text (1.6) to keep inputs compact. Buttons also use this to match.",
44
55
  "$extensions": {
45
- "nl.amsterdam.type": "lineHeight"
46
- }
56
+ "nl.amsterdam.subtype": "lineHeight"
57
+ },
58
+ "$type": "number"
47
59
  },
48
60
  "outline-offset": {
49
61
  "$value": "{ams.focus.outline-offset}",
50
- "$type": "dimension",
51
62
  "$extensions": {
52
- "nl.amsterdam.subtype": "space"
63
+ "nl.amsterdam.subtype": "space",
64
+ "nl.amsterdam.type": "dimension"
53
65
  }
54
66
  },
55
67
  "padding-block": {
56
68
  "$value": "{ams.space.s}",
57
- "$type": "dimension",
58
69
  "$extensions": {
59
- "nl.amsterdam.subtype": "space"
70
+ "nl.amsterdam.subtype": "space",
71
+ "nl.amsterdam.type": "dimension"
60
72
  }
61
73
  },
62
74
  "padding-inline": {
63
75
  "$value": "{ams.space.m}",
64
- "$type": "dimension",
65
76
  "$extensions": {
66
- "nl.amsterdam.subtype": "space"
77
+ "nl.amsterdam.subtype": "space",
78
+ "nl.amsterdam.type": "dimension"
67
79
  }
68
80
  },
69
81
  "disabled": {
70
82
  "color": {
71
83
  "$value": "{ams.color.interactive.disabled}",
72
- "$type": "color"
84
+ "$extensions": {
85
+ "nl.amsterdam.type": "color"
86
+ }
73
87
  }
74
88
  },
75
89
  "hover": {
76
90
  "box-shadow": {
77
91
  "$type": "shadow",
92
+ "$description": "An inset shadow that reinforces the border on hover without shifting the layout.",
78
93
  "$value": {
79
94
  "inset": true,
80
95
  "offsetX": {
@@ -97,15 +112,20 @@
97
112
  "invalid": {
98
113
  "border-color": {
99
114
  "$value": "{ams.color.interactive.invalid.default}",
100
- "$type": "color"
115
+ "$extensions": {
116
+ "nl.amsterdam.type": "color"
117
+ }
101
118
  },
102
119
  "hover": {
103
120
  "border-color": {
104
121
  "$value": "{ams.color.interactive.invalid.hover}",
105
- "$type": "color"
122
+ "$extensions": {
123
+ "nl.amsterdam.type": "color"
124
+ }
106
125
  },
107
126
  "box-shadow": {
108
127
  "$type": "shadow",
128
+ "$description": "An inset shadow using the hover variation of the invalid interactive colour.",
109
129
  "$value": {
110
130
  "inset": true,
111
131
  "offsetX": {
@@ -129,7 +149,9 @@
129
149
  "placeholder": {
130
150
  "color": {
131
151
  "$value": "{ams.color.text.secondary}",
132
- "$type": "color"
152
+ "$extensions": {
153
+ "nl.amsterdam.type": "color"
154
+ }
133
155
  }
134
156
  }
135
157
  }
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "ams": {
3
3
  "links": {
4
+ "$description": "Shared base styles for all link-like components.",
4
5
  "color": {
5
6
  "$value": "{ams.color.interactive.default}",
6
- "$type": "color"
7
+ "$extensions": {
8
+ "nl.amsterdam.type": "color"
9
+ }
7
10
  },
8
11
  "text-decoration-thickness": {
9
12
  "$value": {
@@ -12,7 +15,8 @@
12
15
  },
13
16
  "$type": "dimension",
14
17
  "$extensions": {
15
- "nl.amsterdam.hint": "2px"
18
+ "nl.amsterdam.hint": "2px",
19
+ "nl.amsterdam.subtype": "space"
16
20
  }
17
21
  },
18
22
  "text-underline-offset": {
@@ -27,9 +31,12 @@
27
31
  }
28
32
  },
29
33
  "hover": {
34
+ "$description": "On hover the underline thickens and moves closer to the text.",
30
35
  "color": {
31
36
  "$value": "{ams.color.interactive.hover}",
32
- "$type": "color"
37
+ "$extensions": {
38
+ "nl.amsterdam.type": "color"
39
+ }
33
40
  },
34
41
  "text-decoration-thickness": {
35
42
  "$value": {
@@ -38,7 +45,8 @@
38
45
  },
39
46
  "$type": "dimension",
40
47
  "$extensions": {
41
- "nl.amsterdam.hint": "3px"
48
+ "nl.amsterdam.hint": "3px",
49
+ "nl.amsterdam.subtype": "space"
42
50
  }
43
51
  },
44
52
  "text-underline-offset": {
@@ -54,36 +62,53 @@
54
62
  }
55
63
  },
56
64
  "subtle": {
65
+ "$description": "For links that are already recognisable from context, e.g. in navigation menus. No underline by default; underline appears on hover.",
57
66
  "text-decoration-line": {
58
- "$value": "none"
67
+ "$value": "none",
68
+ "$extensions": {
69
+ "nl.amsterdam.type": "textDecorationLine"
70
+ }
59
71
  },
60
72
  "hover": {
61
73
  "text-decoration-line": {
62
- "$value": "underline"
74
+ "$value": "underline",
75
+ "$extensions": {
76
+ "nl.amsterdam.type": "textDecorationLine"
77
+ }
63
78
  }
64
79
  }
65
80
  },
66
81
  "contrast": {
82
+ "$description": "For links on coloured backgrounds where the default blue lacks sufficient contrast.",
67
83
  "color": {
68
84
  "$value": "{ams.color.interactive.contrast}",
69
- "$type": "color"
85
+ "$extensions": {
86
+ "nl.amsterdam.type": "color"
87
+ }
70
88
  },
71
89
  "hover": {
72
90
  "color": {
73
91
  "$value": "{ams.color.interactive.contrast}",
74
- "$type": "color"
92
+ "$extensions": {
93
+ "nl.amsterdam.type": "color"
94
+ }
75
95
  }
76
96
  }
77
97
  },
78
98
  "inverse": {
99
+ "$description": "For links on dark backgrounds.",
79
100
  "color": {
80
101
  "$value": "{ams.color.interactive.inverse}",
81
- "$type": "color"
102
+ "$extensions": {
103
+ "nl.amsterdam.type": "color"
104
+ }
82
105
  },
83
106
  "hover": {
84
107
  "color": {
85
108
  "$value": "{ams.color.interactive.inverse}",
86
- "$type": "color"
109
+ "$extensions": {
110
+ "nl.amsterdam.type": "color"
111
+ }
87
112
  }
88
113
  }
89
114
  }
@@ -3,38 +3,43 @@
3
3
  "accordion": {
4
4
  "gap": {
5
5
  "$value": "{ams.space.s}",
6
- "$type": "dimension",
7
6
  "$extensions": {
8
- "nl.amsterdam.subtype": "space"
7
+ "nl.amsterdam.subtype": "space",
8
+ "nl.amsterdam.type": "dimension"
9
9
  }
10
10
  },
11
11
  "button": {
12
12
  "color": {
13
13
  "$value": "{ams.color.interactive.default}",
14
- "$type": "color"
14
+ "$extensions": {
15
+ "nl.amsterdam.type": "color"
16
+ }
15
17
  },
16
18
  "cursor": {
17
- "$value": "{ams.cursor.interactive}"
19
+ "$value": "{ams.cursor.interactive}",
20
+ "$extensions": {
21
+ "nl.amsterdam.type": "cursor"
22
+ }
18
23
  },
19
24
  "gap": {
20
25
  "$value": "{ams.space.s}",
21
- "$type": "dimension",
22
26
  "$extensions": {
23
- "nl.amsterdam.subtype": "space"
27
+ "nl.amsterdam.subtype": "space",
28
+ "nl.amsterdam.type": "dimension"
24
29
  }
25
30
  },
26
31
  "outline-offset": {
27
32
  "$value": "{ams.focus.outline-offset}",
28
- "$type": "dimension",
29
33
  "$extensions": {
30
- "nl.amsterdam.subtype": "space"
34
+ "nl.amsterdam.subtype": "space",
35
+ "nl.amsterdam.type": "dimension"
31
36
  }
32
37
  },
33
38
  "padding-block": {
34
39
  "$value": "{ams.space.s}",
35
- "$type": "dimension",
36
40
  "$extensions": {
37
- "nl.amsterdam.subtype": "space"
41
+ "nl.amsterdam.subtype": "space",
42
+ "nl.amsterdam.type": "dimension"
38
43
  }
39
44
  },
40
45
  "padding-inline": {
@@ -47,7 +52,9 @@
47
52
  "hover": {
48
53
  "color": {
49
54
  "$value": "{ams.color.interactive.hover}",
50
- "$type": "color"
55
+ "$extensions": {
56
+ "nl.amsterdam.type": "color"
57
+ }
51
58
  }
52
59
  }
53
60
  }
@@ -3,9 +3,9 @@
3
3
  "action-group": {
4
4
  "gap": {
5
5
  "$value": "{ams.space.m}",
6
- "$type": "dimension",
7
6
  "$extensions": {
8
- "nl.amsterdam.subtype": "space"
7
+ "nl.amsterdam.subtype": "space",
8
+ "nl.amsterdam.type": "dimension"
9
9
  }
10
10
  }
11
11
  }
@@ -2,12 +2,16 @@
2
2
  "ams": {
3
3
  "alert": {
4
4
  "background-color": {
5
- "$value": "{ams.color.background}",
6
- "$type": "color"
5
+ "$value": "{ams.color.background.default}",
6
+ "$extensions": {
7
+ "nl.amsterdam.type": "color"
8
+ }
7
9
  },
8
10
  "border-color": {
9
11
  "$value": "{ams.color.feedback.info}",
10
- "$type": "color"
12
+ "$extensions": {
13
+ "nl.amsterdam.type": "color"
14
+ }
11
15
  },
12
16
  "border-style": {
13
17
  "$value": "solid",
@@ -24,79 +28,93 @@
24
28
  "severity-indicator": {
25
29
  "background-color": {
26
30
  "$value": "{ams.color.feedback.info}",
27
- "$type": "color"
31
+ "$extensions": {
32
+ "nl.amsterdam.type": "color"
33
+ }
28
34
  },
29
35
  "padding-block": {
30
36
  "$value": "{ams.space.m}",
31
- "$type": "dimension",
32
37
  "$extensions": {
33
- "nl.amsterdam.subtype": "space"
38
+ "nl.amsterdam.subtype": "space",
39
+ "nl.amsterdam.type": "dimension"
34
40
  }
35
41
  },
36
42
  "padding-inline": {
37
43
  "$value": "{ams.space.s}",
38
- "$type": "dimension",
39
44
  "$extensions": {
40
- "nl.amsterdam.subtype": "space"
45
+ "nl.amsterdam.subtype": "space",
46
+ "nl.amsterdam.type": "dimension"
41
47
  }
42
48
  }
43
49
  },
44
50
  "content": {
45
51
  "gap": {
46
52
  "$value": "{ams.space.s}",
47
- "$type": "dimension",
48
53
  "$extensions": {
49
- "nl.amsterdam.subtype": "space"
54
+ "nl.amsterdam.subtype": "space",
55
+ "nl.amsterdam.type": "dimension"
50
56
  }
51
57
  },
52
58
  "padding-block": {
53
59
  "$value": "{ams.space.m}",
54
- "$type": "dimension",
55
60
  "$extensions": {
56
- "nl.amsterdam.subtype": "space"
61
+ "nl.amsterdam.subtype": "space",
62
+ "nl.amsterdam.type": "dimension"
57
63
  }
58
64
  },
59
65
  "padding-inline": {
60
66
  "$value": "{ams.space.m}",
61
- "$type": "dimension",
62
67
  "$extensions": {
63
- "nl.amsterdam.subtype": "space"
68
+ "nl.amsterdam.subtype": "space",
69
+ "nl.amsterdam.type": "dimension"
64
70
  }
65
71
  }
66
72
  },
67
73
  "error": {
68
74
  "border-color": {
69
75
  "$value": "{ams.color.feedback.error}",
70
- "$type": "color"
76
+ "$extensions": {
77
+ "nl.amsterdam.type": "color"
78
+ }
71
79
  },
72
80
  "severity-indicator": {
73
81
  "background-color": {
74
82
  "$value": "{ams.color.feedback.error}",
75
- "$type": "color"
83
+ "$extensions": {
84
+ "nl.amsterdam.type": "color"
85
+ }
76
86
  }
77
87
  }
78
88
  },
79
89
  "success": {
80
90
  "border-color": {
81
91
  "$value": "{ams.color.feedback.success}",
82
- "$type": "color"
92
+ "$extensions": {
93
+ "nl.amsterdam.type": "color"
94
+ }
83
95
  },
84
96
  "severity-indicator": {
85
97
  "background-color": {
86
98
  "$value": "{ams.color.feedback.success}",
87
- "$type": "color"
99
+ "$extensions": {
100
+ "nl.amsterdam.type": "color"
101
+ }
88
102
  }
89
103
  }
90
104
  },
91
105
  "warning": {
92
106
  "border-color": {
93
107
  "$value": "{ams.color.feedback.warning}",
94
- "$type": "color"
108
+ "$extensions": {
109
+ "nl.amsterdam.type": "color"
110
+ }
95
111
  },
96
112
  "severity-indicator": {
97
113
  "background-color": {
98
114
  "$value": "{ams.color.feedback.warning}",
99
- "$type": "color"
115
+ "$extensions": {
116
+ "nl.amsterdam.type": "color"
117
+ }
100
118
  }
101
119
  }
102
120
  }