@amsterdam/design-system-tokens 0.2.0 → 0.4.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 +45 -0
- package/dist/_variables.scss +225 -106
- package/dist/index.css +225 -106
- package/dist/index.d.ts +146 -27
- package/dist/index.js +218 -99
- package/dist/index.json +217 -98
- package/dist/index.tokens.json +361 -116
- package/dist/root.css +225 -106
- package/dist/tokens.d.ts +297 -52
- package/dist/tokens.js +7327 -4668
- package/dist/variables.less +225 -106
- package/package.json +3 -3
- package/src/brand/amsterdam/color.tokens.json +5 -6
- package/src/brand/amsterdam/typography.tokens.json +10 -18
- package/src/common/amsterdam/border.tokens.json +3 -9
- package/src/common/amsterdam/spacing.tokens.json +4 -12
- package/src/components/amsterdam/accordion.tokens.json +1 -3
- package/src/components/amsterdam/alert.tokens.json +12 -9
- package/src/components/amsterdam/badge.tokens.json +49 -0
- package/src/components/amsterdam/breadcrumb.tokens.json +7 -5
- package/src/components/amsterdam/button.tokens.json +9 -19
- package/src/components/amsterdam/checkbox.tokens.json +24 -64
- package/src/components/amsterdam/dialog.tokens.json +0 -7
- package/src/components/amsterdam/form-label.tokens.json +4 -4
- package/src/components/amsterdam/grid.tokens.json +3 -9
- package/src/components/amsterdam/header.tokens.json +7 -0
- package/src/components/amsterdam/heading.tokens.json +24 -24
- package/src/components/amsterdam/icon-button.tokens.json +37 -0
- package/src/components/amsterdam/icon.tokens.json +0 -8
- package/src/components/amsterdam/link-list.tokens.json +61 -0
- package/src/components/amsterdam/link.tokens.json +13 -23
- package/src/components/amsterdam/mark.tokens.json +7 -0
- package/src/components/amsterdam/mega-menu.tokens.json +12 -0
- package/src/components/amsterdam/ordered-list.tokens.json +4 -4
- package/src/components/amsterdam/page-heading.tokens.json +4 -12
- package/src/components/amsterdam/page-menu.tokens.json +4 -4
- package/src/components/amsterdam/pagination.tokens.json +4 -4
- package/src/components/amsterdam/paragraph.tokens.json +10 -10
- package/src/components/amsterdam/search-field.tokens.json +47 -0
- package/src/components/amsterdam/skip-link.tokens.json +20 -0
- package/src/components/amsterdam/spotlight.tokens.json +30 -0
- package/src/components/amsterdam/switch.tokens.json +10 -30
- package/src/components/amsterdam/table.tokens.json +20 -0
- package/src/components/amsterdam/text-input.tokens.json +36 -0
- package/src/components/amsterdam/top-task-link.tokens.json +4 -4
- package/src/components/amsterdam/unordered-list.tokens.json +4 -4
- package/src/components/utrecht/button.tokens.json +24 -72
- package/src/components/amsterdam/highlight.tokens.json +0 -46
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"link-list": {
|
|
4
|
+
"gap": { "value": "0.5em" },
|
|
5
|
+
"link": {
|
|
6
|
+
"color": { "value": "{amsterdam.link-appearance.color}" },
|
|
7
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
8
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
9
|
+
"gap": { "value": "0.5em" },
|
|
10
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
11
|
+
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.text-decoration-line}" },
|
|
12
|
+
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
|
|
13
|
+
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
|
|
14
|
+
"spacious": {
|
|
15
|
+
"small": {
|
|
16
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
17
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
18
|
+
},
|
|
19
|
+
"medium": {
|
|
20
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
21
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
22
|
+
},
|
|
23
|
+
"large": {
|
|
24
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
|
|
25
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"compact": {
|
|
29
|
+
"small": {
|
|
30
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
31
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
32
|
+
},
|
|
33
|
+
"medium": {
|
|
34
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
35
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
36
|
+
},
|
|
37
|
+
"large": {
|
|
38
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
|
|
39
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"hover": {
|
|
43
|
+
"color": { "value": "{amsterdam.link-appearance.hover.color}" },
|
|
44
|
+
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
|
|
45
|
+
},
|
|
46
|
+
"on-background-dark": {
|
|
47
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-dark.color}" },
|
|
48
|
+
"hover": {
|
|
49
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-dark.color}" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"on-background-light": {
|
|
53
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-light.color}" },
|
|
54
|
+
"hover": {
|
|
55
|
+
"color": { "value": "{amsterdam.link-appearance.on-background-light.color}" }
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
"amsterdam": {
|
|
3
3
|
"link": {
|
|
4
4
|
"color": { "value": "{amsterdam.link-appearance.color}" },
|
|
5
|
-
"font-family": {
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
"font-weight": {
|
|
9
|
-
"value": "{amsterdam.typography.font-weight.normal}"
|
|
10
|
-
},
|
|
5
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
6
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
11
7
|
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
12
8
|
"hover": {
|
|
13
9
|
"color": { "value": "{amsterdam.link-appearance.hover.color}" }
|
|
@@ -16,15 +12,9 @@
|
|
|
16
12
|
"text-decoration-line": { "value": "{amsterdam.link-appearance.regular.text-decoration-line}" },
|
|
17
13
|
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
|
|
18
14
|
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
|
|
19
|
-
"font-family": {
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
"font-size": {
|
|
23
|
-
"value": "inherit"
|
|
24
|
-
},
|
|
25
|
-
"line-height": {
|
|
26
|
-
"value": "inherit"
|
|
27
|
-
},
|
|
15
|
+
"font-family": { "value": "inherit" },
|
|
16
|
+
"font-size": { "value": "inherit" },
|
|
17
|
+
"line-height": { "value": "inherit" },
|
|
28
18
|
"hover": {
|
|
29
19
|
"text-decoration-thickness": {
|
|
30
20
|
"value": "{amsterdam.link-appearance.regular.hover.text-decoration-thickness}"
|
|
@@ -44,12 +34,12 @@
|
|
|
44
34
|
"text-decoration-line": { "value": "{amsterdam.link-appearance.subtle.hover.text-decoration-line}" }
|
|
45
35
|
},
|
|
46
36
|
"spacious": {
|
|
47
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
48
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
37
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
38
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
49
39
|
},
|
|
50
40
|
"compact": {
|
|
51
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
52
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
41
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
42
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
53
43
|
}
|
|
54
44
|
},
|
|
55
45
|
"standalone": {
|
|
@@ -63,12 +53,12 @@
|
|
|
63
53
|
"text-underline-offset": { "value": "{amsterdam.link-appearance.regular.hover.text-underline-offset}" }
|
|
64
54
|
},
|
|
65
55
|
"spacious": {
|
|
66
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
67
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
56
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
57
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
68
58
|
},
|
|
69
59
|
"compact": {
|
|
70
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
71
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
60
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
61
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
72
62
|
}
|
|
73
63
|
},
|
|
74
64
|
"on-background-dark": {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"mega-menu": {
|
|
4
|
+
"list-category": {
|
|
5
|
+
"column-gap": { "value": "{amsterdam.grid.spacious.gap}" },
|
|
6
|
+
"column-width": { "value": "20rem" },
|
|
7
|
+
"padding-block-start": { "value": "1rem" },
|
|
8
|
+
"padding-block-end": { "value": "{amsterdam.grid.spacious.gap}" }
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"gap": { "value": "0.75rem" },
|
|
8
8
|
"list-style-type": { "value": "decimal" },
|
|
9
9
|
"spacious": {
|
|
10
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
11
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
10
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
11
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
12
12
|
},
|
|
13
13
|
"compact": {
|
|
14
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
15
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
14
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
15
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
16
16
|
},
|
|
17
17
|
"item": {
|
|
18
18
|
"margin-inline-start": {
|
|
@@ -6,20 +6,12 @@
|
|
|
6
6
|
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" },
|
|
7
7
|
"inverse-color": { "value": "{amsterdam.color.primary-white}" },
|
|
8
8
|
"spacious": {
|
|
9
|
-
"font-size": {
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
"line-height": {
|
|
13
|
-
"value": "{amsterdam.typography.spacious.text-level.0.font-size}"
|
|
14
|
-
}
|
|
9
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.0.font-size}" },
|
|
10
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.0.font-size}" }
|
|
15
11
|
},
|
|
16
12
|
"compact": {
|
|
17
|
-
"font-size": {
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
"line-height": {
|
|
21
|
-
"value": "{amsterdam.typography.compact.text-level.0.font-size}"
|
|
22
|
-
}
|
|
13
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.0.font-size}" },
|
|
14
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.0.font-size}" }
|
|
23
15
|
}
|
|
24
16
|
}
|
|
25
17
|
}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"text-decoration-thickness": { "value": "{amsterdam.link-appearance.text-decoration-thickness}" },
|
|
14
14
|
"text-underline-offset": { "value": "{amsterdam.link-appearance.text-underline-offset}" },
|
|
15
15
|
"spacious": {
|
|
16
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
17
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
16
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
17
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
18
18
|
},
|
|
19
19
|
"compact": {
|
|
20
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
21
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
20
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
21
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
22
22
|
},
|
|
23
23
|
"hover": {
|
|
24
24
|
"color": { "value": "{amsterdam.link-appearance.hover.color}" },
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
6
6
|
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
7
7
|
"spacious": {
|
|
8
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
9
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
8
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
9
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
10
10
|
},
|
|
11
11
|
"compact": {
|
|
12
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
13
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
12
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
13
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
14
14
|
},
|
|
15
15
|
"button": {
|
|
16
16
|
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
"inverse-color": { "value": "{amsterdam.color.primary-white}" },
|
|
8
8
|
"spacious": {
|
|
9
9
|
"small": {
|
|
10
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.7.font-size}" },
|
|
11
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.7.line-height}" }
|
|
12
|
-
},
|
|
13
|
-
"medium": {
|
|
14
10
|
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
15
11
|
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
16
12
|
},
|
|
17
|
-
"
|
|
13
|
+
"medium": {
|
|
18
14
|
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
19
15
|
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
16
|
+
},
|
|
17
|
+
"large": {
|
|
18
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.4.font-size}" },
|
|
19
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.4.line-height}" }
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"compact": {
|
|
23
23
|
"small": {
|
|
24
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.7.font-size}" },
|
|
25
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.7.line-height}" }
|
|
26
|
-
},
|
|
27
|
-
"medium": {
|
|
28
24
|
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
29
25
|
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
30
26
|
},
|
|
31
|
-
"
|
|
27
|
+
"medium": {
|
|
32
28
|
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
33
29
|
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
30
|
+
},
|
|
31
|
+
"large": {
|
|
32
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.4.font-size}" },
|
|
33
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.4.line-height}" }
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"search-field": {
|
|
4
|
+
"button": {
|
|
5
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" },
|
|
6
|
+
"color": { "value": "{amsterdam.color.primary-white}" },
|
|
7
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
8
|
+
"hover": {
|
|
9
|
+
"background-color": { "value": "{amsterdam.color.dark-blue}" }
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"input": {
|
|
13
|
+
"box-shadow": {
|
|
14
|
+
"value": "inset 0 0 0 1px {amsterdam.color.primary-black}"
|
|
15
|
+
},
|
|
16
|
+
"color": { "value": "{amsterdam.color.primary-black}" },
|
|
17
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
18
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
19
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
20
|
+
"cancel-button": {
|
|
21
|
+
"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='%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>\")"
|
|
23
|
+
},
|
|
24
|
+
"color": { "value": "{amsterdam.color.primary-blue}" },
|
|
25
|
+
"height": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
26
|
+
"width": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" }
|
|
27
|
+
},
|
|
28
|
+
"hover": {
|
|
29
|
+
"box-shadow": {
|
|
30
|
+
"value": "inset 0 0 0 2px {amsterdam.color.primary-black}"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"placeholder": {
|
|
34
|
+
"color": { "value": "{amsterdam.color.neutral-grey3}" }
|
|
35
|
+
},
|
|
36
|
+
"compact": {
|
|
37
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
38
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
39
|
+
},
|
|
40
|
+
"spacious": {
|
|
41
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
42
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"skip-link": {
|
|
4
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" },
|
|
5
|
+
"color": { "value": "{amsterdam.color.primary-white}" },
|
|
6
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
7
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
8
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
9
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" },
|
|
10
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
11
|
+
"compact": {
|
|
12
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
13
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
14
|
+
},
|
|
15
|
+
"hover": {
|
|
16
|
+
"background-color": { "value": "{amsterdam.color.dark-blue}" }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"spotlight": {
|
|
4
|
+
"blue": {
|
|
5
|
+
"background-color": { "value": "{amsterdam.color.blue}" }
|
|
6
|
+
},
|
|
7
|
+
"dark-blue": {
|
|
8
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" }
|
|
9
|
+
},
|
|
10
|
+
"dark-green": {
|
|
11
|
+
"background-color": { "value": "{amsterdam.color.dark-green}" }
|
|
12
|
+
},
|
|
13
|
+
"green": {
|
|
14
|
+
"background-color": { "value": "{amsterdam.color.green}" }
|
|
15
|
+
},
|
|
16
|
+
"magenta": {
|
|
17
|
+
"background-color": { "value": "{amsterdam.color.magenta}" }
|
|
18
|
+
},
|
|
19
|
+
"orange": {
|
|
20
|
+
"background-color": { "value": "{amsterdam.color.orange}" }
|
|
21
|
+
},
|
|
22
|
+
"purple": {
|
|
23
|
+
"background-color": { "value": "{amsterdam.color.purple}" }
|
|
24
|
+
},
|
|
25
|
+
"yellow": {
|
|
26
|
+
"background-color": { "value": "{amsterdam.color.yellow}" }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,43 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"amsterdam": {
|
|
3
3
|
"switch": {
|
|
4
|
-
"font-family": {
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
"background-color": {
|
|
8
|
-
"value": "{amsterdam.color.neutral-grey3}"
|
|
9
|
-
},
|
|
10
|
-
"width": {
|
|
11
|
-
"value": "3.5rem"
|
|
12
|
-
},
|
|
4
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
5
|
+
"background-color": { "value": "{amsterdam.color.neutral-grey3}" },
|
|
6
|
+
"width": { "value": "3.5rem" },
|
|
13
7
|
"thumb": {
|
|
14
|
-
"background-color": {
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
"width": {
|
|
18
|
-
"value": "1.75rem"
|
|
19
|
-
},
|
|
20
|
-
"height": {
|
|
21
|
-
"value": "1.75rem"
|
|
22
|
-
},
|
|
8
|
+
"background-color": { "value": "{amsterdam.color.primary-white}" },
|
|
9
|
+
"width": { "value": "1.75rem" },
|
|
10
|
+
"height": { "value": "1.75rem" },
|
|
23
11
|
"hover": {
|
|
24
|
-
"color": {
|
|
25
|
-
"value": "{amsterdam.color.dark-blue}"
|
|
26
|
-
}
|
|
12
|
+
"color": { "value": "{amsterdam.color.dark-blue}" }
|
|
27
13
|
}
|
|
28
14
|
},
|
|
29
15
|
"checked": {
|
|
30
|
-
"background-color": {
|
|
31
|
-
"value": "{amsterdam.color.primary-blue}"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"outline-offset": {
|
|
35
|
-
"value": "{amsterdam.focus.outline-offset}"
|
|
16
|
+
"background-color": { "value": "{amsterdam.color.primary-blue}" }
|
|
36
17
|
},
|
|
18
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
37
19
|
"disabled": {
|
|
38
|
-
"background-color": {
|
|
39
|
-
"value": "{amsterdam.color.neutral-grey2}"
|
|
40
|
-
}
|
|
20
|
+
"background-color": { "value": "{amsterdam.color.neutral-grey2}" }
|
|
41
21
|
}
|
|
42
22
|
}
|
|
43
23
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"table": {
|
|
4
|
+
"color": { "value": "{amsterdam.color.primary-black}" },
|
|
5
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
6
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
7
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
8
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" },
|
|
9
|
+
"caption": {
|
|
10
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" }
|
|
11
|
+
},
|
|
12
|
+
"cell": {
|
|
13
|
+
"border-bottom": { "value": "1px solid {amsterdam.color.neutral-grey1}" }
|
|
14
|
+
},
|
|
15
|
+
"header-cell": {
|
|
16
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.bold}" }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amsterdam": {
|
|
3
|
+
"text-input": {
|
|
4
|
+
"box-shadow": { "value": "inset 0 0 0 1px {amsterdam.color.primary-black}" },
|
|
5
|
+
"color": { "value": "{amsterdam.color.primary-black}" },
|
|
6
|
+
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
7
|
+
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
8
|
+
"outline-offset": { "value": "{amsterdam.focus.outline-offset}" },
|
|
9
|
+
"disabled": {
|
|
10
|
+
"background-color": { "value": "{amsterdam.color.primary-white}" },
|
|
11
|
+
"box-shadow": { "value": "inset 0 0 0 1px {amsterdam.color.neutral-grey2}" },
|
|
12
|
+
"color": { "value": "{amsterdam.color.neutral-grey2}" }
|
|
13
|
+
},
|
|
14
|
+
"hover": {
|
|
15
|
+
"box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.primary-black}" }
|
|
16
|
+
},
|
|
17
|
+
"invalid": {
|
|
18
|
+
"box-shadow": { "value": "inset 0 0 0 1px {amsterdam.color.primary-red}" },
|
|
19
|
+
"hover": {
|
|
20
|
+
"box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.primary-red}" }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"placeholder": {
|
|
24
|
+
"color": { "value": "{amsterdam.color.neutral-grey3}" }
|
|
25
|
+
},
|
|
26
|
+
"compact": {
|
|
27
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
28
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
29
|
+
},
|
|
30
|
+
"spacious": {
|
|
31
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
32
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"font-family": { "value": "{amsterdam.typography.font-family}" },
|
|
7
7
|
"font-weight": { "value": "{amsterdam.typography.font-weight.normal}" },
|
|
8
8
|
"spacious": {
|
|
9
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
10
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
9
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.6.font-size}" },
|
|
10
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.6.line-height}" }
|
|
11
11
|
},
|
|
12
12
|
"compact": {
|
|
13
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
14
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
13
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.6.font-size}" },
|
|
14
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.6.line-height}" }
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"label": {
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"gap": { "value": "0.75rem" },
|
|
8
8
|
"list-style-type": { "value": "'\\2022'" },
|
|
9
9
|
"spacious": {
|
|
10
|
-
"font-size": { "value": "{amsterdam.typography.spacious.text-level.
|
|
11
|
-
"line-height": { "value": "{amsterdam.typography.spacious.text-level.
|
|
10
|
+
"font-size": { "value": "{amsterdam.typography.spacious.text-level.5.font-size}" },
|
|
11
|
+
"line-height": { "value": "{amsterdam.typography.spacious.text-level.5.line-height}" }
|
|
12
12
|
},
|
|
13
13
|
"compact": {
|
|
14
|
-
"font-size": { "value": "{amsterdam.typography.compact.text-level.
|
|
15
|
-
"line-height": { "value": "{amsterdam.typography.compact.text-level.
|
|
14
|
+
"font-size": { "value": "{amsterdam.typography.compact.text-level.5.font-size}" },
|
|
15
|
+
"line-height": { "value": "{amsterdam.typography.compact.text-level.5.line-height}" }
|
|
16
16
|
},
|
|
17
17
|
"item": {
|
|
18
18
|
"margin-inline-start": {
|