@amsterdam/design-system-tokens 3.0.0 → 3.2.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.
- package/CHANGELOG.md +24 -0
- package/README.md +45 -1
- package/build.js +25 -35
- package/dist/compact.css +2 -2
- package/dist/compact.d.ts +3 -3
- package/dist/compact.mjs +2 -2
- package/dist/compact.scss +2 -2
- package/dist/compact.theme.css +2 -2
- package/dist/index.css +118 -47
- package/dist/index.d.ts +174 -9
- package/dist/index.json +197 -32
- package/dist/index.mjs +176 -70
- package/dist/index.scss +118 -47
- package/dist/index.theme.css +118 -47
- package/package.json +2 -2
- package/src/brand/ams/aspect-ratio.tokens.json +18 -6
- package/src/brand/ams/border.compact.tokens.json +36 -4
- package/src/brand/ams/border.tokens.json +36 -4
- package/src/brand/ams/color.deprecated.tokens.json +3 -2
- package/src/brand/ams/color.tokens.json +106 -23
- package/src/brand/ams/cursor.tokens.json +6 -2
- package/src/brand/ams/focus.tokens.json +10 -1
- package/src/brand/ams/space.compact.tokens.json +30 -6
- package/src/brand/ams/space.tokens.json +24 -6
- package/src/brand/ams/typography.compact.tokens.json +110 -18
- package/src/brand/ams/typography.deprecated.compact.tokens.json +10 -4
- package/src/brand/ams/typography.deprecated.tokens.json +20 -8
- package/src/brand/ams/typography.tokens.json +131 -24
- package/src/common/ams/inputs.tokens.json +121 -18
- package/src/common/ams/links.tokens.json +72 -12
- package/src/components/ams/accordion.deprecated.tokens.json +29 -7
- package/src/components/ams/accordion.tokens.json +46 -8
- package/src/components/ams/action-group.tokens.json +7 -1
- package/src/components/ams/alert.tokens.json +83 -16
- package/src/components/ams/avatar.tokens.json +139 -31
- package/src/components/ams/badge.tokens.json +98 -21
- package/src/components/ams/blockquote.tokens.json +28 -6
- package/src/components/ams/breadcrumb.tokens.json +68 -15
- package/src/components/ams/button.tokens.json +176 -34
- package/src/components/ams/call-to-action-link.tokens.json +73 -14
- package/src/components/ams/card.tokens.json +60 -11
- package/src/components/ams/character-count.tokens.json +28 -6
- package/src/components/ams/checkbox.deprecated.tokens.json +23 -7
- package/src/components/ams/checkbox.tokens.json +154 -36
- package/src/components/ams/column.tokens.json +35 -5
- package/src/components/ams/date-input.deprecated.tokens.json +14 -8
- package/src/components/ams/date-input.tokens.json +92 -25
- package/src/components/ams/description-list.tokens.json +86 -13
- package/src/components/ams/dialog.tokens.json +144 -23
- package/src/components/ams/error-message.tokens.json +31 -6
- package/src/components/ams/field-set.deprecated.tokens.json +8 -1
- package/src/components/ams/field-set.tokens.json +69 -13
- package/src/components/ams/field.deprecated.tokens.json +8 -1
- package/src/components/ams/field.tokens.json +24 -4
- package/src/components/ams/figure.tokens.json +35 -7
- package/src/components/ams/file-input.tokens.json +143 -29
- package/src/components/ams/file-list.tokens.json +49 -9
- package/src/components/ams/grid.compact.tokens.json +7 -1
- package/src/components/ams/grid.tokens.json +79 -13
- package/src/components/ams/heading.tokens.json +91 -17
- package/src/components/ams/hint.tokens.json +8 -2
- package/src/components/ams/icon-button.tokens.json +69 -17
- package/src/components/ams/icon.deprecated.tokens.json +10 -4
- package/src/components/ams/icon.tokens.json +112 -19
- package/src/components/ams/image-slider.tokens.json +60 -10
- package/src/components/ams/image.tokens.json +3 -1
- package/src/components/ams/invalid-form-alert.tokens.json +7 -1
- package/src/components/ams/label.tokens.json +31 -7
- package/src/components/ams/link-list.tokens.json +106 -21
- package/src/components/ams/link.tokens.json +73 -15
- package/src/components/ams/logo.tokens.json +23 -5
- package/src/components/ams/mark.tokens.json +4 -1
- package/src/components/ams/menu.deprecated.tokens.json +12 -8
- package/src/components/ams/menu.tokens.json +119 -21
- package/src/components/ams/ordered-list.tokens.json +110 -22
- package/src/components/ams/page-footer.tokens.json +98 -18
- package/src/components/ams/page-header.compact.tokens.json +19 -3
- package/src/components/ams/page-header.tokens.json +214 -34
- package/src/components/ams/page-heading.deprecated.tokens.json +38 -8
- package/src/components/ams/page.tokens.json +24 -5
- package/src/components/ams/pagination.tokens.json +70 -14
- package/src/components/ams/paragraph.tokens.json +55 -11
- package/src/components/ams/password-input.tokens.json +92 -19
- package/src/components/ams/progress-list.tokens.json +372 -0
- package/src/components/ams/radio.tokens.json +142 -33
- package/src/components/ams/row.tokens.json +35 -5
- package/src/components/ams/search-field.tokens.json +101 -22
- package/src/components/ams/select.tokens.json +97 -24
- package/src/components/ams/skip-link.tokens.json +53 -10
- package/src/components/ams/spotlight.tokens.json +28 -7
- package/src/components/ams/standalone-link.deprecated.tokens.json +16 -10
- package/src/components/ams/standalone-link.tokens.json +75 -16
- package/src/components/ams/switch.tokens.json +57 -12
- package/src/components/ams/table-of-contents.deprecated.tokens.json +16 -3
- package/src/components/ams/table-of-contents.tokens.json +80 -15
- package/src/components/ams/table.tokens.json +49 -10
- package/src/components/ams/tabs.tokens.json +130 -17
- package/src/components/ams/text-area.tokens.json +97 -20
- package/src/components/ams/text-input.tokens.json +90 -19
- package/src/components/ams/time-input.deprecated.tokens.json +14 -8
- package/src/components/ams/time-input.tokens.json +90 -25
- package/src/components/ams/unordered-list.tokens.json +112 -22
- package/style-dictionary/dimensionToString.js +25 -0
- package/style-dictionary/transforms/dtcg-dimension.js +30 -0
- package/style-dictionary/transforms/name-custom-camel.js +27 -0
- package/style-dictionary/transforms/name-custom-kebab.js +27 -0
- package/style-dictionary/transforms/shadow-dtcg-dimension-normalize.js +50 -0
|
@@ -2,39 +2,118 @@
|
|
|
2
2
|
"ams": {
|
|
3
3
|
"search-field": {
|
|
4
4
|
"input": {
|
|
5
|
-
"background-color": {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"color": {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
"background-color": {
|
|
6
|
+
"$value": "{ams.inputs.background-color}",
|
|
7
|
+
"$type": "color"
|
|
8
|
+
},
|
|
9
|
+
"border-color": {
|
|
10
|
+
"$value": "{ams.inputs.border-color}",
|
|
11
|
+
"$type": "color"
|
|
12
|
+
},
|
|
13
|
+
"border-style": {
|
|
14
|
+
"$value": "{ams.inputs.border-style}",
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"nl.amsterdam.type": "borderStyle"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"border-width": {
|
|
20
|
+
"$value": "{ams.inputs.border-width}",
|
|
21
|
+
"$extensions": {
|
|
22
|
+
"nl.amsterdam.type": "borderWidth"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"color": {
|
|
26
|
+
"$value": "{ams.inputs.color}",
|
|
27
|
+
"$type": "color"
|
|
28
|
+
},
|
|
29
|
+
"font-family": {
|
|
30
|
+
"$value": "{ams.inputs.font-family}",
|
|
31
|
+
"$type": "fontFamily"
|
|
32
|
+
},
|
|
33
|
+
"font-size": {
|
|
34
|
+
"$value": "{ams.inputs.font-size}",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"nl.amsterdam.type": "fontSize"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"font-weight": {
|
|
40
|
+
"$value": "{ams.inputs.font-weight}",
|
|
41
|
+
"$type": "fontWeight"
|
|
42
|
+
},
|
|
43
|
+
"line-height": {
|
|
44
|
+
"$value": "{ams.inputs.line-height}",
|
|
45
|
+
"$extensions": {
|
|
46
|
+
"nl.amsterdam.type": "lineHeight"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"outline-offset": {
|
|
50
|
+
"$value": "{ams.inputs.outline-offset}",
|
|
51
|
+
"$type": "dimension",
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"nl.amsterdam.subtype": "space"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"padding-block": {
|
|
57
|
+
"$value": "{ams.inputs.padding-block}",
|
|
58
|
+
"$type": "dimension",
|
|
59
|
+
"$extensions": {
|
|
60
|
+
"nl.amsterdam.subtype": "space"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"padding-inline": {
|
|
64
|
+
"$value": "{ams.inputs.padding-inline}",
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"nl.amsterdam.subtype": "space"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
17
70
|
"hover": {
|
|
18
|
-
"box-shadow": {
|
|
71
|
+
"box-shadow": {
|
|
72
|
+
"$type": "shadow",
|
|
73
|
+
"$value": "{ams.inputs.hover.box-shadow}"
|
|
74
|
+
}
|
|
19
75
|
},
|
|
20
76
|
"invalid": {
|
|
21
|
-
"border-color": {
|
|
77
|
+
"border-color": {
|
|
78
|
+
"$value": "{ams.inputs.invalid.border-color}",
|
|
79
|
+
"$type": "color"
|
|
80
|
+
},
|
|
22
81
|
"hover": {
|
|
23
|
-
"border-color": {
|
|
24
|
-
|
|
82
|
+
"border-color": {
|
|
83
|
+
"$value": "{ams.inputs.invalid.hover.border-color}",
|
|
84
|
+
"$type": "color"
|
|
85
|
+
},
|
|
86
|
+
"box-shadow": {
|
|
87
|
+
"$type": "shadow",
|
|
88
|
+
"$value": "{ams.inputs.invalid.hover.box-shadow}"
|
|
89
|
+
}
|
|
25
90
|
}
|
|
26
91
|
},
|
|
27
92
|
"cancel-button": {
|
|
28
93
|
"background-image": {
|
|
29
|
-
"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>\")"
|
|
94
|
+
"$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>\")"
|
|
95
|
+
},
|
|
96
|
+
"block-size": {
|
|
97
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
98
|
+
"$type": "dimension"
|
|
99
|
+
},
|
|
100
|
+
"color": {
|
|
101
|
+
"$value": "{ams.color.interactive.default}",
|
|
102
|
+
"$type": "color"
|
|
30
103
|
},
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"inline-size": {
|
|
104
|
+
"cursor": {
|
|
105
|
+
"$value": "{ams.cursor.interactive}"
|
|
106
|
+
},
|
|
107
|
+
"inline-size": {
|
|
108
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
109
|
+
"$type": "dimension"
|
|
110
|
+
}
|
|
35
111
|
},
|
|
36
112
|
"placeholder": {
|
|
37
|
-
"color": {
|
|
113
|
+
"color": {
|
|
114
|
+
"$value": "{ams.inputs.placeholder.color}",
|
|
115
|
+
"$type": "color"
|
|
116
|
+
}
|
|
38
117
|
}
|
|
39
118
|
}
|
|
40
119
|
}
|
|
@@ -1,45 +1,118 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"select": {
|
|
4
|
-
"background-color": {
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "{ams.inputs.background-color}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
5
8
|
"background-image": {
|
|
6
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
7
|
-
},
|
|
8
|
-
"background-position": {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"border-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23004699' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
10
|
+
},
|
|
11
|
+
"background-position": {
|
|
12
|
+
"$value": "right {ams.space.m} center"
|
|
13
|
+
},
|
|
14
|
+
"border-color": {
|
|
15
|
+
"$value": "{ams.inputs.border-color}",
|
|
16
|
+
"$type": "color"
|
|
17
|
+
},
|
|
18
|
+
"border-style": {
|
|
19
|
+
"$value": "{ams.inputs.border-style}",
|
|
20
|
+
"$extensions": {
|
|
21
|
+
"nl.amsterdam.type": "borderStyle"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"border-width": {
|
|
25
|
+
"$value": "{ams.inputs.border-width}",
|
|
26
|
+
"$extensions": {
|
|
27
|
+
"nl.amsterdam.type": "borderWidth"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"color": {
|
|
31
|
+
"$value": "{ams.inputs.color}",
|
|
32
|
+
"$type": "color"
|
|
33
|
+
},
|
|
34
|
+
"font-family": {
|
|
35
|
+
"$value": "{ams.inputs.font-family}",
|
|
36
|
+
"$type": "fontFamily"
|
|
37
|
+
},
|
|
38
|
+
"font-size": {
|
|
39
|
+
"$value": "{ams.inputs.font-size}",
|
|
40
|
+
"$extensions": {
|
|
41
|
+
"nl.amsterdam.type": "fontSize"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"font-weight": {
|
|
45
|
+
"$value": "{ams.inputs.font-weight}",
|
|
46
|
+
"$type": "fontWeight"
|
|
47
|
+
},
|
|
48
|
+
"line-height": {
|
|
49
|
+
"$value": "{ams.inputs.line-height}",
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"nl.amsterdam.type": "lineHeight"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"outline-offset": {
|
|
55
|
+
"$value": "{ams.inputs.outline-offset}",
|
|
56
|
+
"$type": "dimension",
|
|
57
|
+
"$extensions": {
|
|
58
|
+
"nl.amsterdam.subtype": "space"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"padding-block": {
|
|
62
|
+
"$value": "{ams.inputs.padding-block}",
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$extensions": {
|
|
65
|
+
"nl.amsterdam.subtype": "space"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"padding-inline": {
|
|
69
|
+
"$value": "{ams.inputs.padding-inline} calc(2 * {ams.inputs.padding-inline} + 1em)",
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$extensions": {
|
|
72
|
+
"nl.amsterdam.subtype": "space"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
20
75
|
"disabled": {
|
|
21
76
|
"background-image": {
|
|
22
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23767676' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
77
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23767676' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
78
|
+
},
|
|
79
|
+
"color": {
|
|
80
|
+
"$value": "{ams.inputs.disabled.color}",
|
|
81
|
+
"$type": "color"
|
|
23
82
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
83
|
+
"cursor": {
|
|
84
|
+
"$value": "{ams.cursor.disabled}"
|
|
85
|
+
}
|
|
26
86
|
},
|
|
27
87
|
"hover": {
|
|
28
|
-
"box-shadow": {
|
|
88
|
+
"box-shadow": {
|
|
89
|
+
"$value": "{ams.inputs.hover.box-shadow}"
|
|
90
|
+
},
|
|
29
91
|
"background-image": {
|
|
30
|
-
"value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23003677' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
92
|
+
"$value": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path fill='%23003677' fill-rule='evenodd' d='m16 25.757-16-16 2.91-2.9L16 19.937l13.09-13.08 2.91 2.9z'/></svg>\")"
|
|
31
93
|
}
|
|
32
94
|
},
|
|
33
95
|
"invalid": {
|
|
34
|
-
"border-color": {
|
|
96
|
+
"border-color": {
|
|
97
|
+
"$value": "{ams.inputs.invalid.border-color}",
|
|
98
|
+
"$type": "color"
|
|
99
|
+
},
|
|
35
100
|
"hover": {
|
|
36
|
-
"border-color": {
|
|
37
|
-
|
|
101
|
+
"border-color": {
|
|
102
|
+
"$value": "{ams.inputs.invalid.hover.border-color}",
|
|
103
|
+
"$type": "color"
|
|
104
|
+
},
|
|
105
|
+
"box-shadow": {
|
|
106
|
+
"$value": "{ams.inputs.invalid.hover.box-shadow}"
|
|
107
|
+
}
|
|
38
108
|
}
|
|
39
109
|
},
|
|
40
110
|
"option": {
|
|
41
111
|
"disabled": {
|
|
42
|
-
"color": {
|
|
112
|
+
"color": {
|
|
113
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
114
|
+
"$type": "color"
|
|
115
|
+
}
|
|
43
116
|
}
|
|
44
117
|
}
|
|
45
118
|
}
|
|
@@ -1,17 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"skip-link": {
|
|
4
|
-
"background-color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "{ams.color.interactive.default}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"color": {
|
|
9
|
+
"$value": "{ams.color.text.inverse}",
|
|
10
|
+
"$type": "color"
|
|
11
|
+
},
|
|
12
|
+
"font-family": {
|
|
13
|
+
"$value": "{ams.typography.font-family}",
|
|
14
|
+
"$type": "fontFamily"
|
|
15
|
+
},
|
|
16
|
+
"font-size": {
|
|
17
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"nl.amsterdam.type": "fontSize"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"font-weight": {
|
|
23
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
24
|
+
"$type": "fontWeight"
|
|
25
|
+
},
|
|
26
|
+
"line-height": {
|
|
27
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"nl.amsterdam.type": "lineHeight"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"outline-offset": {
|
|
33
|
+
"$value": "{ams.focus.outline-offset}",
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"nl.amsterdam.subtype": "space"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"padding-block": {
|
|
40
|
+
"$value": "{ams.space.s}",
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"nl.amsterdam.subtype": "space"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"padding-inline": {
|
|
47
|
+
"$value": "{ams.space.m}",
|
|
48
|
+
"$type": "dimension",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"nl.amsterdam.subtype": "space"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
13
53
|
"hover": {
|
|
14
|
-
"background-color": {
|
|
54
|
+
"background-color": {
|
|
55
|
+
"$value": "{ams.color.interactive.hover}",
|
|
56
|
+
"$type": "color"
|
|
57
|
+
}
|
|
15
58
|
}
|
|
16
59
|
}
|
|
17
60
|
}
|
|
@@ -1,24 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"spotlight": {
|
|
4
|
-
"background-color": {
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "{ams.color.highlight.purple}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
5
8
|
"azure": {
|
|
6
|
-
"background-color": {
|
|
9
|
+
"background-color": {
|
|
10
|
+
"$value": "{ams.color.highlight.azure}",
|
|
11
|
+
"$type": "color"
|
|
12
|
+
}
|
|
7
13
|
},
|
|
8
14
|
"green": {
|
|
9
|
-
"background-color": {
|
|
15
|
+
"background-color": {
|
|
16
|
+
"$value": "{ams.color.highlight.green}",
|
|
17
|
+
"$type": "color"
|
|
18
|
+
}
|
|
10
19
|
},
|
|
11
20
|
"lime": {
|
|
12
|
-
"background-color": {
|
|
21
|
+
"background-color": {
|
|
22
|
+
"$value": "{ams.color.highlight.lime}",
|
|
23
|
+
"$type": "color"
|
|
24
|
+
}
|
|
13
25
|
},
|
|
14
26
|
"magenta": {
|
|
15
|
-
"background-color": {
|
|
27
|
+
"background-color": {
|
|
28
|
+
"$value": "{ams.color.highlight.magenta}",
|
|
29
|
+
"$type": "color"
|
|
30
|
+
}
|
|
16
31
|
},
|
|
17
32
|
"orange": {
|
|
18
|
-
"background-color": {
|
|
33
|
+
"background-color": {
|
|
34
|
+
"$value": "{ams.color.highlight.orange}",
|
|
35
|
+
"$type": "color"
|
|
36
|
+
}
|
|
19
37
|
},
|
|
20
38
|
"yellow": {
|
|
21
|
-
"background-color": {
|
|
39
|
+
"background-color": {
|
|
40
|
+
"$value": "{ams.color.highlight.yellow}",
|
|
41
|
+
"$type": "color"
|
|
42
|
+
}
|
|
22
43
|
}
|
|
23
44
|
}
|
|
24
45
|
}
|
|
@@ -3,27 +3,33 @@
|
|
|
3
3
|
"standalone-link": {
|
|
4
4
|
"hover": {
|
|
5
5
|
"text-decoration-thickness": {
|
|
6
|
-
"
|
|
7
|
-
"value": "{ams.links.hover.text-decoration-thickness}"
|
|
6
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-thickness` instead",
|
|
7
|
+
"$value": "{ams.links.hover.text-decoration-thickness}",
|
|
8
|
+
"$type": "dimension"
|
|
8
9
|
},
|
|
9
10
|
"text-underline-offset": {
|
|
10
|
-
"
|
|
11
|
-
"value": "{ams.links.hover.text-underline-offset}"
|
|
11
|
+
"$deprecated": "Use `ams.standalone-link.text-underline-offset` instead",
|
|
12
|
+
"$value": "{ams.links.hover.text-underline-offset}",
|
|
13
|
+
"$type": "dimension",
|
|
14
|
+
"$extensions": {
|
|
15
|
+
"nl.amsterdam.subtype": "space"
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
},
|
|
14
19
|
"with-icon": {
|
|
15
20
|
"text-decoration-line": {
|
|
16
|
-
"
|
|
17
|
-
"value": "{ams.links.subtle.text-decoration-line}"
|
|
21
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-line` instead",
|
|
22
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
18
23
|
},
|
|
19
24
|
"text-decoration-thickness": {
|
|
20
|
-
"
|
|
21
|
-
"value": "{ams.links.text-decoration-thickness}"
|
|
25
|
+
"$deprecated": "Use `ams.standalone-link.text-decoration-thickness` instead",
|
|
26
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
27
|
+
"$type": "dimension"
|
|
22
28
|
},
|
|
23
29
|
"hover": {
|
|
24
30
|
"text-decoration-line": {
|
|
25
|
-
"
|
|
26
|
-
"value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
31
|
+
"$deprecated": "Use `ams.standalone-link.hover.text-decoration-line` instead",
|
|
32
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
}
|
|
@@ -1,30 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"standalone-link": {
|
|
4
|
-
"color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
"color": {
|
|
5
|
+
"$value": "{ams.links.color}",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"column-gap": {
|
|
9
|
+
"$value": "{ams.space.s}",
|
|
10
|
+
"$type": "dimension",
|
|
11
|
+
"$extensions": {
|
|
12
|
+
"nl.amsterdam.subtype": "space"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"font-family": {
|
|
16
|
+
"$value": "{ams.typography.font-family}",
|
|
17
|
+
"$type": "fontFamily"
|
|
18
|
+
},
|
|
19
|
+
"font-size": {
|
|
20
|
+
"$value": "{ams.typography.body-text.font-size}",
|
|
21
|
+
"$extensions": {
|
|
22
|
+
"nl.amsterdam.type": "fontSize"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"font-weight": {
|
|
26
|
+
"$value": "{ams.typography.body-text.font-weight}",
|
|
27
|
+
"$type": "fontWeight"
|
|
28
|
+
},
|
|
29
|
+
"line-height": {
|
|
30
|
+
"$value": "{ams.typography.body-text.line-height}",
|
|
31
|
+
"$extensions": {
|
|
32
|
+
"nl.amsterdam.type": "lineHeight"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"outline-offset": {
|
|
36
|
+
"$value": "{ams.focus.outline-offset}",
|
|
37
|
+
"$type": "dimension",
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"nl.amsterdam.subtype": "space"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"text-decoration-line": {
|
|
43
|
+
"$value": "{ams.links.subtle.text-decoration-line}"
|
|
44
|
+
},
|
|
45
|
+
"text-decoration-thickness": {
|
|
46
|
+
"$value": "{ams.links.text-decoration-thickness}",
|
|
47
|
+
"$type": "dimension"
|
|
48
|
+
},
|
|
49
|
+
"text-underline-offset": {
|
|
50
|
+
"$value": "{ams.links.text-underline-offset}",
|
|
51
|
+
"$type": "dimension",
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"nl.amsterdam.subtype": "space"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
14
56
|
"hover": {
|
|
15
|
-
"color": {
|
|
16
|
-
|
|
57
|
+
"color": {
|
|
58
|
+
"$value": "{ams.links.hover.color}",
|
|
59
|
+
"$type": "color"
|
|
60
|
+
},
|
|
61
|
+
"text-decoration-line": {
|
|
62
|
+
"$value": "{ams.links.subtle.hover.text-decoration-line}"
|
|
63
|
+
}
|
|
17
64
|
},
|
|
18
65
|
"contrast": {
|
|
19
|
-
"color": {
|
|
66
|
+
"color": {
|
|
67
|
+
"$value": "{ams.links.contrast.color}",
|
|
68
|
+
"$type": "color"
|
|
69
|
+
},
|
|
20
70
|
"hover": {
|
|
21
|
-
"color": {
|
|
71
|
+
"color": {
|
|
72
|
+
"$value": "{ams.links.contrast.hover.color}",
|
|
73
|
+
"$type": "color"
|
|
74
|
+
}
|
|
22
75
|
}
|
|
23
76
|
},
|
|
24
77
|
"inverse": {
|
|
25
|
-
"color": {
|
|
78
|
+
"color": {
|
|
79
|
+
"$value": "{ams.links.inverse.color}",
|
|
80
|
+
"$type": "color"
|
|
81
|
+
},
|
|
26
82
|
"hover": {
|
|
27
|
-
"color": {
|
|
83
|
+
"color": {
|
|
84
|
+
"$value": "{ams.links.inverse.hover.color}",
|
|
85
|
+
"$type": "color"
|
|
86
|
+
}
|
|
28
87
|
}
|
|
29
88
|
}
|
|
30
89
|
}
|
|
@@ -1,25 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ams": {
|
|
3
3
|
"switch": {
|
|
4
|
-
"background-color": {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
"background-color": {
|
|
5
|
+
"$value": "#767676",
|
|
6
|
+
"$type": "color"
|
|
7
|
+
},
|
|
8
|
+
"cursor": {
|
|
9
|
+
"$value": "{ams.cursor.interactive}"
|
|
10
|
+
},
|
|
11
|
+
"outline-offset": {
|
|
12
|
+
"$value": "{ams.focus.outline-offset}",
|
|
13
|
+
"$type": "dimension",
|
|
14
|
+
"$extensions": {
|
|
15
|
+
"nl.amsterdam.subtype": "space"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"inline-size": {
|
|
19
|
+
"$value": {
|
|
20
|
+
"value": 3.5,
|
|
21
|
+
"unit": "rem"
|
|
22
|
+
},
|
|
23
|
+
"$type": "dimension"
|
|
24
|
+
},
|
|
8
25
|
"thumb": {
|
|
9
|
-
"background-color": {
|
|
10
|
-
|
|
11
|
-
|
|
26
|
+
"background-color": {
|
|
27
|
+
"$value": "{ams.color.background}",
|
|
28
|
+
"$type": "color"
|
|
29
|
+
},
|
|
30
|
+
"block-size": {
|
|
31
|
+
"$value": {
|
|
32
|
+
"value": 1.75,
|
|
33
|
+
"unit": "rem"
|
|
34
|
+
},
|
|
35
|
+
"$type": "dimension"
|
|
36
|
+
},
|
|
37
|
+
"inline-size": {
|
|
38
|
+
"$value": {
|
|
39
|
+
"value": 1.75,
|
|
40
|
+
"unit": "rem"
|
|
41
|
+
},
|
|
42
|
+
"$type": "dimension"
|
|
43
|
+
},
|
|
12
44
|
"hover": {
|
|
13
|
-
"box-shadow": {
|
|
14
|
-
|
|
45
|
+
"box-shadow": {
|
|
46
|
+
"$value": "0 0 0 {ams.border.width.m} {ams.switch.thumb.hover.color}"
|
|
47
|
+
},
|
|
48
|
+
"color": {
|
|
49
|
+
"$value": "{ams.color.interactive.hover}",
|
|
50
|
+
"$type": "color"
|
|
51
|
+
}
|
|
15
52
|
}
|
|
16
53
|
},
|
|
17
54
|
"checked": {
|
|
18
|
-
"background-color": {
|
|
55
|
+
"background-color": {
|
|
56
|
+
"$value": "{ams.color.interactive.default}",
|
|
57
|
+
"$type": "color"
|
|
58
|
+
}
|
|
19
59
|
},
|
|
20
60
|
"disabled": {
|
|
21
|
-
"background-color": {
|
|
22
|
-
|
|
61
|
+
"background-color": {
|
|
62
|
+
"$value": "{ams.color.interactive.disabled}",
|
|
63
|
+
"$type": "color"
|
|
64
|
+
},
|
|
65
|
+
"cursor": {
|
|
66
|
+
"$value": "{ams.cursor.disabled}"
|
|
67
|
+
}
|
|
23
68
|
}
|
|
24
69
|
}
|
|
25
70
|
}
|