@abgov/design-tokens 1.3.0 → 1.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.
@@ -0,0 +1,74 @@
1
+ {
2
+ "accordion-color-bg-heading": {
3
+ "value": "{color.greyscale.100}",
4
+ "type": "color"
5
+ },
6
+ "accordion-color-bg-content": {
7
+ "value": "{color.greyscale.white}",
8
+ "type": "color"
9
+ },
10
+ "accordion-color-heading": {
11
+ "value": "{color.text.default}",
12
+ "type": "color"
13
+ },
14
+ "accordion-border": {
15
+ "value": {
16
+ "color": "{color.greyscale.200}",
17
+ "width": "{borderWidth.s}",
18
+ "style": "solid"
19
+ },
20
+ "type": "border"
21
+ },
22
+ "accordion-divider": {
23
+ "value": {
24
+ "color": "{color.greyscale.200}",
25
+ "width": "{borderWidth.s}",
26
+ "style": "solid"
27
+ },
28
+ "type": "border"
29
+ },
30
+ "accordion-border-radius": {
31
+ "value": "{borderRadius.m}",
32
+ "type": "borderRadius"
33
+ },
34
+ "accordion-padding-heading": {
35
+ "value": "{space.s} {space.m}",
36
+ "type": "spacing"
37
+ },
38
+ "accordion-padding-content-wide": {
39
+ "value": "{space.l} {space.l} {space.xl} 56px",
40
+ "type": "spacing"
41
+ },
42
+ "accordion-padding-content-narrow": {
43
+ "value": "{space.l}",
44
+ "type": "spacing"
45
+ },
46
+ "accordion-color-bg-heading-hover": {
47
+ "value": "{color.greyscale.200}",
48
+ "type": "color"
49
+ },
50
+ "accordion-color-heading-hover": {
51
+ "value": "{color.text.default}",
52
+ "type": "color"
53
+ },
54
+ "accordion-heading-s": {
55
+ "value": "{typography.heading.s}",
56
+ "type": "other"
57
+ },
58
+ "accordion-heading-m": {
59
+ "value": "{typography.heading.m}",
60
+ "type": "other"
61
+ },
62
+ "accordion-shadow": {
63
+ "value": {
64
+ "x": "0",
65
+ "y": "0",
66
+ "blur": "0",
67
+ "spread": "0",
68
+ "color": "#000000",
69
+ "type": "dropShadow"
70
+ },
71
+ "type": "boxShadow"
72
+ }
73
+ }
74
+
@@ -0,0 +1,26 @@
1
+ {
2
+ "button-border-radius": {
3
+ "value": "{borderRadius.m}",
4
+ "type": "borderRadius"
5
+ },
6
+ "button-padding-lr": {
7
+ "value": "{space.s}",
8
+ "type": "spacing"
9
+ },
10
+ "button-padding-lr-compact": {
11
+ "value": "{space.xs}",
12
+ "type": "spacing"
13
+ },
14
+ "button-height": {
15
+ "value": "42px",
16
+ "type": "sizing"
17
+ },
18
+ "button-height-compact": {
19
+ "value": "32px",
20
+ "type": "sizing"
21
+ },
22
+ "button-text": {
23
+ "value": "{typography.button.default}",
24
+ "type": "other"
25
+ }
26
+ }
@@ -0,0 +1,134 @@
1
+ {
2
+ "callout-border-radius": {
3
+ "value": "{borderRadius.none}",
4
+ "type": "borderRadius"
5
+ },
6
+ "callout-m-border-width": {
7
+ "value": "0px",
8
+ "type": "borderWidth"
9
+ },
10
+ "callout-l-border-width": {
11
+ "value": "0px",
12
+ "type": "borderWidth"
13
+ },
14
+ "callout-l-icon-size": {
15
+ "value": "{iconSize.m}",
16
+ "type": "sizing"
17
+ },
18
+ "callout-l-content-padding": {
19
+ "value": "{space.l}",
20
+ "type": "spacing"
21
+ },
22
+ "callout-l-content-gap": {
23
+ "value": "{space.m}",
24
+ "type": "spacing"
25
+ },
26
+ "callout-l-statusbar-padding": {
27
+ "value": "{space.l} {space.s}",
28
+ "type": "spacing"
29
+ },
30
+ "callout-m-icon-size": {
31
+ "value": "{iconSize.s}",
32
+ "type": "sizing"
33
+ },
34
+ "callout-m-content-padding": {
35
+ "value": "{space.s}",
36
+ "type": "spacing"
37
+ },
38
+ "callout-m-content-gap": {
39
+ "value": "{space.2xs}",
40
+ "type": "spacing"
41
+ },
42
+ "callout-m-statusbar-padding": {
43
+ "value": "{space.s} {space.2xs}",
44
+ "type": "spacing"
45
+ },
46
+ "callout-info-color-bg-content": {
47
+ "value": "{color.greyscale.100}",
48
+ "type": "color"
49
+ },
50
+ "callout-info-color-bg-statusbar": {
51
+ "value": "{color.info.default}",
52
+ "type": "color"
53
+ },
54
+ "callout-info-icon-color": {
55
+ "value": "{color.greyscale.white}",
56
+ "type": "color"
57
+ },
58
+ "callout-info-border-color": {
59
+ "value": "none",
60
+ "type": "color"
61
+ },
62
+ "callout-warning-color-bg-content": {
63
+ "value": "{color.greyscale.100}",
64
+ "type": "color"
65
+ },
66
+ "callout-warning-color-bg-statusbar": {
67
+ "value": "{color.warning.default}",
68
+ "type": "color"
69
+ },
70
+ "callout-warning-icon-color": {
71
+ "value": "{color.greyscale.black}",
72
+ "type": "color"
73
+ },
74
+ "callout-warning-border-color": {
75
+ "value": "none",
76
+ "type": "color"
77
+ },
78
+ "callout-success-color-bg-content": {
79
+ "value": "{color.greyscale.100}",
80
+ "type": "color"
81
+ },
82
+ "callout-success-color-bg-statusbar": {
83
+ "value": "{color.success.default}",
84
+ "type": "color"
85
+ },
86
+ "callout-success-icon-color": {
87
+ "value": "{color.greyscale.white}",
88
+ "type": "color"
89
+ },
90
+ "callout-success-border-color": {
91
+ "value": "none",
92
+ "type": "color"
93
+ },
94
+ "callout-emergency-color-bg-content": {
95
+ "value": "{color.greyscale.100}",
96
+ "type": "color"
97
+ },
98
+ "callout-emergency-color-bg-statusbar": {
99
+ "value": "{color.emergency.default}",
100
+ "type": "color"
101
+ },
102
+ "callout-emergency-border-color": {
103
+ "value": "none",
104
+ "type": "color"
105
+ },
106
+ "callout-emergency-icon-color": {
107
+ "value": "{color.greyscale.white}",
108
+ "type": "color"
109
+ },
110
+ "callout-event-icon-color": {
111
+ "value": "{color.greyscale.white}",
112
+ "type": "color"
113
+ },
114
+ "callout-l-heading": {
115
+ "value": "{typography.heading.m}",
116
+ "type": "other"
117
+ },
118
+ "callout-l-text-size": {
119
+ "value": "{typography.body.m}",
120
+ "type": "other"
121
+ },
122
+ "callout-m-heading-size": {
123
+ "value": "{typography.heading.xs}",
124
+ "type": "other"
125
+ },
126
+ "callout-l-heading-size": {
127
+ "value": "{typography.heading.m}",
128
+ "type": "other"
129
+ },
130
+ "callout-m-text-size": {
131
+ "value": "{typography.body.s}",
132
+ "type": "other"
133
+ }
134
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "container-border-radius": {
3
+ "value": "{borderRadius.m}",
4
+ "type": "borderRadius"
5
+ },
6
+ "container-border": {
7
+ "value": {
8
+ "color": "{color.greyscale.200}",
9
+ "width": "{borderWidth.s}",
10
+ "style": "solid"
11
+ },
12
+ "type": "border"
13
+ },
14
+ "container-padding": {
15
+ "value": "{space.l}",
16
+ "type": "spacing"
17
+ }
18
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "drawer-overlay-color": {
3
+ "value": "rgba(0,0,0,0.3)",
4
+ "type": "color",
5
+ "description": "background overlay color behind drawer, 70%"
6
+ },
7
+ "drawer-bottom-shadow": {
8
+ "value": {
9
+ "x": "0",
10
+ "y": "-4",
11
+ "blur": "12",
12
+ "spread": "0",
13
+ "color": "rgba(0,0,0,0.2)",
14
+ "type": "dropShadow"
15
+ },
16
+ "type": "boxShadow"
17
+ },
18
+ "drawer-left-shadow": {
19
+ "value": {
20
+ "x": "4",
21
+ "y": "0",
22
+ "blur": "12",
23
+ "spread": "0",
24
+ "color": "rgba(0,0,0,0.2)",
25
+ "type": "dropShadow"
26
+ },
27
+ "type": "boxShadow"
28
+ },
29
+ "drawer-right-shadow": {
30
+ "value": {
31
+ "x": "-4",
32
+ "y": "0",
33
+ "blur": "12",
34
+ "spread": "0",
35
+ "color": "rgba(0,0,0,0.2)",
36
+ "type": "innerShadow"
37
+ },
38
+ "type": "boxShadow"
39
+ },
40
+ "drawer-transition-time": {
41
+ "value": "200ms",
42
+ "type": "other"
43
+ },
44
+ "drawer-padding": {
45
+ "value": "{space.m}",
46
+ "type": "spacing"
47
+ }
48
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "side-menu-group-color-bg": {
3
+ "value": "{color.greyscale.white}",
4
+ "type": "color"
5
+ },
6
+ "side-menu-group-padding": {
7
+ "value": "{space.m} {space.none} {space.l} {space.none}",
8
+ "type": "spacing"
9
+ },
10
+ "side-menu-sub-group-padding": {
11
+ "value": "{space.none} {space.none} {space.none} {space.none}",
12
+ "type": "spacing"
13
+ },
14
+ "side-menu-parent-padding": {
15
+ "value": "{space.none}",
16
+ "type": "spacing"
17
+ },
18
+ "side-menu-group-border-radius": {
19
+ "value": "{borderRadius.none}",
20
+ "type": "borderRadius"
21
+ },
22
+ "side-menu-child-border-width": {
23
+ "value": "4px",
24
+ "type": "borderWidth"
25
+ },
26
+ "side-menu-parent-color-bg-hover": {
27
+ "value": "#CEDFEE",
28
+ "type": "color"
29
+ },
30
+ "side-menu-child-color-bg-hover": {
31
+ "value": "{color.info.background}",
32
+ "type": "color"
33
+ },
34
+ "side-menu-child-color-bg-selected": {
35
+ "value": "{color.info.background}",
36
+ "type": "color"
37
+ },
38
+ "side-menu-child-color-text-selected": {
39
+ "value": "{color.text.default}",
40
+ "type": "color"
41
+ },
42
+ "side-menu-parent-text": {
43
+ "value": "{typography.body.m}",
44
+ "type": "other"
45
+ },
46
+ "side-menu-parent-text-active": {
47
+ "value": "{typography.body.m}",
48
+ "type": "other"
49
+ }
50
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "table-color-heading": {
3
+ "value": "{color.text.secondary}",
4
+ "type": "color"
5
+ },
6
+ "table-color-border-heading": {
7
+ "value": "{color.greyscale.600}",
8
+ "type": "color"
9
+ }
10
+ }