@atlaskit/tokens 0.2.1 → 0.3.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.
@@ -1,182 +1,182 @@
1
1
  declare const tokens: {
2
- readonly 'color.accent.boldBlue': "--accent-boldBlue";
3
- readonly 'color.accent.boldGreen': "--accent-boldGreen";
4
- readonly 'color.accent.boldOrange': "--accent-boldOrange";
5
- readonly 'color.accent.boldPurple': "--accent-boldPurple";
6
- readonly 'color.accent.boldRed': "--accent-boldRed";
7
- readonly 'color.accent.boldTeal': "--accent-boldTeal";
8
- readonly 'color.accent.subtleBlue': "--accent-subtleBlue";
9
- readonly 'color.accent.subtleGreen': "--accent-subtleGreen";
10
- readonly 'color.accent.subtleMagenta': "--accent-subtleMagenta";
11
- readonly 'color.accent.subtleOrange': "--accent-subtleOrange";
12
- readonly 'color.accent.subtlePurple': "--accent-subtlePurple";
13
- readonly 'color.accent.subtleRed': "--accent-subtleRed";
14
- readonly 'color.accent.subtleTeal': "--accent-subtleTeal";
15
- readonly 'color.background.sunken': "--background-sunken";
16
- readonly 'color.background.default': "--background-default";
17
- readonly 'color.background.card': "--background-card";
18
- readonly 'color.background.overlay': "--background-overlay";
19
- readonly 'color.background.selected.resting': "--background-selected-resting";
20
- readonly 'color.background.selected.hover': "--background-selected-hover";
21
- readonly 'color.background.selected.pressed': "--background-selected-pressed";
22
- readonly 'color.background.blanket': "--background-blanket";
23
- readonly 'color.background.disabled': "--background-disabled";
24
- readonly 'color.background.boldBrand.resting': "--background-boldBrand-resting";
25
- readonly 'color.background.boldBrand.hover': "--background-boldBrand-hover";
26
- readonly 'color.background.boldBrand.pressed': "--background-boldBrand-pressed";
27
- readonly 'color.background.subtleBrand.resting': "--background-subtleBrand-resting";
28
- readonly 'color.background.subtleBrand.hover': "--background-subtleBrand-hover";
29
- readonly 'color.background.subtleBrand.pressed': "--background-subtleBrand-pressed";
30
- readonly 'color.background.boldDanger.resting': "--background-boldDanger-resting";
31
- readonly 'color.background.boldDanger.hover': "--background-boldDanger-hover";
32
- readonly 'color.background.boldDanger.pressed': "--background-boldDanger-pressed";
33
- readonly 'color.background.subtleDanger.resting': "--background-subtleDanger-resting";
34
- readonly 'color.background.subtleDanger.hover': "--background-subtleDanger-hover";
35
- readonly 'color.background.subtleDanger.pressed': "--background-subtleDanger-pressed";
36
- readonly 'color.background.boldWarning.resting': "--background-boldWarning-resting";
37
- readonly 'color.background.boldWarning.hover': "--background-boldWarning-hover";
38
- readonly 'color.background.boldWarning.pressed': "--background-boldWarning-pressed";
39
- readonly 'color.background.subtleWarning.resting': "--background-subtleWarning-resting";
40
- readonly 'color.background.subtleWarning.hover': "--background-subtleWarning-hover";
41
- readonly 'color.background.subtleWarning.pressed': "--background-subtleWarning-pressed";
42
- readonly 'color.background.boldSuccess.resting': "--background-boldSuccess-resting";
43
- readonly 'color.background.boldSuccess.hover': "--background-boldSuccess-hover";
44
- readonly 'color.background.boldSuccess.pressed': "--background-boldSuccess-pressed";
45
- readonly 'color.background.subtleSuccess.resting': "--background-subtleSuccess-resting";
46
- readonly 'color.background.subtleSuccess.hover': "--background-subtleSuccess-hover";
47
- readonly 'color.background.subtleSuccess.pressed': "--background-subtleSuccess-pressed";
48
- readonly 'color.background.boldDiscovery.resting': "--background-boldDiscovery-resting";
49
- readonly 'color.background.boldDiscovery.hover': "--background-boldDiscovery-hover";
50
- readonly 'color.background.boldDiscovery.pressed': "--background-boldDiscovery-pressed";
51
- readonly 'color.background.subtleDiscovery.resting': "--background-subtleDiscovery-resting";
52
- readonly 'color.background.subtleDiscovery.hover': "--background-subtleDiscovery-hover";
53
- readonly 'color.background.subtleDiscovery.pressed': "--background-subtleDiscovery-pressed";
54
- readonly 'color.background.boldNeutral.resting': "--background-boldNeutral-resting";
55
- readonly 'color.background.boldNeutral.hover': "--background-boldNeutral-hover";
56
- readonly 'color.background.boldNeutral.pressed': "--background-boldNeutral-pressed";
57
- readonly 'color.background.transparentNeutral.hover': "--background-transparentNeutral-hover";
58
- readonly 'color.background.transparentNeutral.pressed': "--background-transparentNeutral-pressed";
59
- readonly 'color.background.subtleNeutral.resting': "--background-subtleNeutral-resting";
60
- readonly 'color.background.subtleNeutral.hover': "--background-subtleNeutral-hover";
61
- readonly 'color.background.subtleNeutral.pressed': "--background-subtleNeutral-pressed";
62
- readonly 'color.background.subtleBorderedNeutral.resting': "--background-subtleBorderedNeutral-resting";
63
- readonly 'color.background.subtleBorderedNeutral.pressed': "--background-subtleBorderedNeutral-pressed";
64
- readonly 'color.border.focus': "--border-focus";
65
- readonly 'color.border.neutral': "--border-neutral";
66
- readonly 'color.iconBorder.brand': "--iconBorder-brand";
67
- readonly 'color.iconBorder.danger': "--iconBorder-danger";
68
- readonly 'color.iconBorder.warning': "--iconBorder-warning";
69
- readonly 'color.iconBorder.success': "--iconBorder-success";
70
- readonly 'color.iconBorder.discovery': "--iconBorder-discovery";
71
- readonly 'color.overlay.hover': "--overlay-hover";
72
- readonly 'color.overlay.pressed': "--overlay-pressed";
73
- readonly 'color.text.selected': "--text-selected";
74
- readonly 'color.text.highEmphasis': "--text-highEmphasis";
75
- readonly 'color.text.mediumEmphasis': "--text-mediumEmphasis";
76
- readonly 'color.text.lowEmphasis': "--text-lowEmphasis";
77
- readonly 'color.text.onBold': "--text-onBold";
78
- readonly 'color.text.onBoldWarning': "--text-onBoldWarning";
79
- readonly 'color.text.link.resting': "--text-link-resting";
80
- readonly 'color.text.link.pressed': "--text-link-pressed";
81
- readonly 'color.text.brand': "--text-brand";
82
- readonly 'color.text.warning': "--text-warning";
83
- readonly 'color.text.danger': "--text-danger";
84
- readonly 'color.text.success': "--text-success";
85
- readonly 'color.text.discovery': "--text-discovery";
86
- readonly 'color.text.disabled': "--text-disabled";
87
- readonly 'shadow.card': "--card";
88
- readonly 'shadow.overlay': "--overlay";
89
- readonly 'utility.UNSAFE_util.transparent': "--UNSAFE_util-transparent";
2
+ readonly 'color.accent.boldBlue': "--ds-accent-boldBlue";
3
+ readonly 'color.accent.boldGreen': "--ds-accent-boldGreen";
4
+ readonly 'color.accent.boldOrange': "--ds-accent-boldOrange";
5
+ readonly 'color.accent.boldPurple': "--ds-accent-boldPurple";
6
+ readonly 'color.accent.boldRed': "--ds-accent-boldRed";
7
+ readonly 'color.accent.boldTeal': "--ds-accent-boldTeal";
8
+ readonly 'color.accent.subtleBlue': "--ds-accent-subtleBlue";
9
+ readonly 'color.accent.subtleGreen': "--ds-accent-subtleGreen";
10
+ readonly 'color.accent.subtleMagenta': "--ds-accent-subtleMagenta";
11
+ readonly 'color.accent.subtleOrange': "--ds-accent-subtleOrange";
12
+ readonly 'color.accent.subtlePurple': "--ds-accent-subtlePurple";
13
+ readonly 'color.accent.subtleRed': "--ds-accent-subtleRed";
14
+ readonly 'color.accent.subtleTeal': "--ds-accent-subtleTeal";
15
+ readonly 'color.background.sunken': "--ds-background-sunken";
16
+ readonly 'color.background.default': "--ds-background-default";
17
+ readonly 'color.background.card': "--ds-background-card";
18
+ readonly 'color.background.overlay': "--ds-background-overlay";
19
+ readonly 'color.background.selected.resting': "--ds-background-selected-resting";
20
+ readonly 'color.background.selected.hover': "--ds-background-selected-hover";
21
+ readonly 'color.background.selected.pressed': "--ds-background-selected-pressed";
22
+ readonly 'color.background.blanket': "--ds-background-blanket";
23
+ readonly 'color.background.disabled': "--ds-background-disabled";
24
+ readonly 'color.background.boldBrand.resting': "--ds-background-boldBrand-resting";
25
+ readonly 'color.background.boldBrand.hover': "--ds-background-boldBrand-hover";
26
+ readonly 'color.background.boldBrand.pressed': "--ds-background-boldBrand-pressed";
27
+ readonly 'color.background.subtleBrand.resting': "--ds-background-subtleBrand-resting";
28
+ readonly 'color.background.subtleBrand.hover': "--ds-background-subtleBrand-hover";
29
+ readonly 'color.background.subtleBrand.pressed': "--ds-background-subtleBrand-pressed";
30
+ readonly 'color.background.boldDanger.resting': "--ds-background-boldDanger-resting";
31
+ readonly 'color.background.boldDanger.hover': "--ds-background-boldDanger-hover";
32
+ readonly 'color.background.boldDanger.pressed': "--ds-background-boldDanger-pressed";
33
+ readonly 'color.background.subtleDanger.resting': "--ds-background-subtleDanger-resting";
34
+ readonly 'color.background.subtleDanger.hover': "--ds-background-subtleDanger-hover";
35
+ readonly 'color.background.subtleDanger.pressed': "--ds-background-subtleDanger-pressed";
36
+ readonly 'color.background.boldWarning.resting': "--ds-background-boldWarning-resting";
37
+ readonly 'color.background.boldWarning.hover': "--ds-background-boldWarning-hover";
38
+ readonly 'color.background.boldWarning.pressed': "--ds-background-boldWarning-pressed";
39
+ readonly 'color.background.subtleWarning.resting': "--ds-background-subtleWarning-resting";
40
+ readonly 'color.background.subtleWarning.hover': "--ds-background-subtleWarning-hover";
41
+ readonly 'color.background.subtleWarning.pressed': "--ds-background-subtleWarning-pressed";
42
+ readonly 'color.background.boldSuccess.resting': "--ds-background-boldSuccess-resting";
43
+ readonly 'color.background.boldSuccess.hover': "--ds-background-boldSuccess-hover";
44
+ readonly 'color.background.boldSuccess.pressed': "--ds-background-boldSuccess-pressed";
45
+ readonly 'color.background.subtleSuccess.resting': "--ds-background-subtleSuccess-resting";
46
+ readonly 'color.background.subtleSuccess.hover': "--ds-background-subtleSuccess-hover";
47
+ readonly 'color.background.subtleSuccess.pressed': "--ds-background-subtleSuccess-pressed";
48
+ readonly 'color.background.boldDiscovery.resting': "--ds-background-boldDiscovery-resting";
49
+ readonly 'color.background.boldDiscovery.hover': "--ds-background-boldDiscovery-hover";
50
+ readonly 'color.background.boldDiscovery.pressed': "--ds-background-boldDiscovery-pressed";
51
+ readonly 'color.background.subtleDiscovery.resting': "--ds-background-subtleDiscovery-resting";
52
+ readonly 'color.background.subtleDiscovery.hover': "--ds-background-subtleDiscovery-hover";
53
+ readonly 'color.background.subtleDiscovery.pressed': "--ds-background-subtleDiscovery-pressed";
54
+ readonly 'color.background.boldNeutral.resting': "--ds-background-boldNeutral-resting";
55
+ readonly 'color.background.boldNeutral.hover': "--ds-background-boldNeutral-hover";
56
+ readonly 'color.background.boldNeutral.pressed': "--ds-background-boldNeutral-pressed";
57
+ readonly 'color.background.transparentNeutral.hover': "--ds-background-transparentNeutral-hover";
58
+ readonly 'color.background.transparentNeutral.pressed': "--ds-background-transparentNeutral-pressed";
59
+ readonly 'color.background.subtleNeutral.resting': "--ds-background-subtleNeutral-resting";
60
+ readonly 'color.background.subtleNeutral.hover': "--ds-background-subtleNeutral-hover";
61
+ readonly 'color.background.subtleNeutral.pressed': "--ds-background-subtleNeutral-pressed";
62
+ readonly 'color.background.subtleBorderedNeutral.resting': "--ds-background-subtleBorderedNeutral-resting";
63
+ readonly 'color.background.subtleBorderedNeutral.pressed': "--ds-background-subtleBorderedNeutral-pressed";
64
+ readonly 'color.border.focus': "--ds-border-focus";
65
+ readonly 'color.border.neutral': "--ds-border-neutral";
66
+ readonly 'color.iconBorder.brand': "--ds-iconBorder-brand";
67
+ readonly 'color.iconBorder.danger': "--ds-iconBorder-danger";
68
+ readonly 'color.iconBorder.warning': "--ds-iconBorder-warning";
69
+ readonly 'color.iconBorder.success': "--ds-iconBorder-success";
70
+ readonly 'color.iconBorder.discovery': "--ds-iconBorder-discovery";
71
+ readonly 'color.overlay.hover': "--ds-overlay-hover";
72
+ readonly 'color.overlay.pressed': "--ds-overlay-pressed";
73
+ readonly 'color.text.selected': "--ds-text-selected";
74
+ readonly 'color.text.highEmphasis': "--ds-text-highEmphasis";
75
+ readonly 'color.text.mediumEmphasis': "--ds-text-mediumEmphasis";
76
+ readonly 'color.text.lowEmphasis': "--ds-text-lowEmphasis";
77
+ readonly 'color.text.onBold': "--ds-text-onBold";
78
+ readonly 'color.text.onBoldWarning': "--ds-text-onBoldWarning";
79
+ readonly 'color.text.link.resting': "--ds-text-link-resting";
80
+ readonly 'color.text.link.pressed': "--ds-text-link-pressed";
81
+ readonly 'color.text.brand': "--ds-text-brand";
82
+ readonly 'color.text.warning': "--ds-text-warning";
83
+ readonly 'color.text.danger': "--ds-text-danger";
84
+ readonly 'color.text.success': "--ds-text-success";
85
+ readonly 'color.text.discovery': "--ds-text-discovery";
86
+ readonly 'color.text.disabled': "--ds-text-disabled";
87
+ readonly 'shadow.card': "--ds-card";
88
+ readonly 'shadow.overlay': "--ds-overlay";
89
+ readonly 'utility.UNSAFE_util.transparent': "--ds-UNSAFE_util-transparent";
90
90
  };
91
91
  export declare type CSSTokenMap = {
92
- 'color.accent.boldBlue': 'var(--accent-boldBlue)';
93
- 'color.accent.boldGreen': 'var(--accent-boldGreen)';
94
- 'color.accent.boldOrange': 'var(--accent-boldOrange)';
95
- 'color.accent.boldPurple': 'var(--accent-boldPurple)';
96
- 'color.accent.boldRed': 'var(--accent-boldRed)';
97
- 'color.accent.boldTeal': 'var(--accent-boldTeal)';
98
- 'color.accent.subtleBlue': 'var(--accent-subtleBlue)';
99
- 'color.accent.subtleGreen': 'var(--accent-subtleGreen)';
100
- 'color.accent.subtleMagenta': 'var(--accent-subtleMagenta)';
101
- 'color.accent.subtleOrange': 'var(--accent-subtleOrange)';
102
- 'color.accent.subtlePurple': 'var(--accent-subtlePurple)';
103
- 'color.accent.subtleRed': 'var(--accent-subtleRed)';
104
- 'color.accent.subtleTeal': 'var(--accent-subtleTeal)';
105
- 'color.background.sunken': 'var(--background-sunken)';
106
- 'color.background.default': 'var(--background-default)';
107
- 'color.background.card': 'var(--background-card)';
108
- 'color.background.overlay': 'var(--background-overlay)';
109
- 'color.background.selected.resting': 'var(--background-selected-resting)';
110
- 'color.background.selected.hover': 'var(--background-selected-hover)';
111
- 'color.background.selected.pressed': 'var(--background-selected-pressed)';
112
- 'color.background.blanket': 'var(--background-blanket)';
113
- 'color.background.disabled': 'var(--background-disabled)';
114
- 'color.background.boldBrand.resting': 'var(--background-boldBrand-resting)';
115
- 'color.background.boldBrand.hover': 'var(--background-boldBrand-hover)';
116
- 'color.background.boldBrand.pressed': 'var(--background-boldBrand-pressed)';
117
- 'color.background.subtleBrand.resting': 'var(--background-subtleBrand-resting)';
118
- 'color.background.subtleBrand.hover': 'var(--background-subtleBrand-hover)';
119
- 'color.background.subtleBrand.pressed': 'var(--background-subtleBrand-pressed)';
120
- 'color.background.boldDanger.resting': 'var(--background-boldDanger-resting)';
121
- 'color.background.boldDanger.hover': 'var(--background-boldDanger-hover)';
122
- 'color.background.boldDanger.pressed': 'var(--background-boldDanger-pressed)';
123
- 'color.background.subtleDanger.resting': 'var(--background-subtleDanger-resting)';
124
- 'color.background.subtleDanger.hover': 'var(--background-subtleDanger-hover)';
125
- 'color.background.subtleDanger.pressed': 'var(--background-subtleDanger-pressed)';
126
- 'color.background.boldWarning.resting': 'var(--background-boldWarning-resting)';
127
- 'color.background.boldWarning.hover': 'var(--background-boldWarning-hover)';
128
- 'color.background.boldWarning.pressed': 'var(--background-boldWarning-pressed)';
129
- 'color.background.subtleWarning.resting': 'var(--background-subtleWarning-resting)';
130
- 'color.background.subtleWarning.hover': 'var(--background-subtleWarning-hover)';
131
- 'color.background.subtleWarning.pressed': 'var(--background-subtleWarning-pressed)';
132
- 'color.background.boldSuccess.resting': 'var(--background-boldSuccess-resting)';
133
- 'color.background.boldSuccess.hover': 'var(--background-boldSuccess-hover)';
134
- 'color.background.boldSuccess.pressed': 'var(--background-boldSuccess-pressed)';
135
- 'color.background.subtleSuccess.resting': 'var(--background-subtleSuccess-resting)';
136
- 'color.background.subtleSuccess.hover': 'var(--background-subtleSuccess-hover)';
137
- 'color.background.subtleSuccess.pressed': 'var(--background-subtleSuccess-pressed)';
138
- 'color.background.boldDiscovery.resting': 'var(--background-boldDiscovery-resting)';
139
- 'color.background.boldDiscovery.hover': 'var(--background-boldDiscovery-hover)';
140
- 'color.background.boldDiscovery.pressed': 'var(--background-boldDiscovery-pressed)';
141
- 'color.background.subtleDiscovery.resting': 'var(--background-subtleDiscovery-resting)';
142
- 'color.background.subtleDiscovery.hover': 'var(--background-subtleDiscovery-hover)';
143
- 'color.background.subtleDiscovery.pressed': 'var(--background-subtleDiscovery-pressed)';
144
- 'color.background.boldNeutral.resting': 'var(--background-boldNeutral-resting)';
145
- 'color.background.boldNeutral.hover': 'var(--background-boldNeutral-hover)';
146
- 'color.background.boldNeutral.pressed': 'var(--background-boldNeutral-pressed)';
147
- 'color.background.transparentNeutral.hover': 'var(--background-transparentNeutral-hover)';
148
- 'color.background.transparentNeutral.pressed': 'var(--background-transparentNeutral-pressed)';
149
- 'color.background.subtleNeutral.resting': 'var(--background-subtleNeutral-resting)';
150
- 'color.background.subtleNeutral.hover': 'var(--background-subtleNeutral-hover)';
151
- 'color.background.subtleNeutral.pressed': 'var(--background-subtleNeutral-pressed)';
152
- 'color.background.subtleBorderedNeutral.resting': 'var(--background-subtleBorderedNeutral-resting)';
153
- 'color.background.subtleBorderedNeutral.pressed': 'var(--background-subtleBorderedNeutral-pressed)';
154
- 'color.border.focus': 'var(--border-focus)';
155
- 'color.border.neutral': 'var(--border-neutral)';
156
- 'color.iconBorder.brand': 'var(--iconBorder-brand)';
157
- 'color.iconBorder.danger': 'var(--iconBorder-danger)';
158
- 'color.iconBorder.warning': 'var(--iconBorder-warning)';
159
- 'color.iconBorder.success': 'var(--iconBorder-success)';
160
- 'color.iconBorder.discovery': 'var(--iconBorder-discovery)';
161
- 'color.overlay.hover': 'var(--overlay-hover)';
162
- 'color.overlay.pressed': 'var(--overlay-pressed)';
163
- 'color.text.selected': 'var(--text-selected)';
164
- 'color.text.highEmphasis': 'var(--text-highEmphasis)';
165
- 'color.text.mediumEmphasis': 'var(--text-mediumEmphasis)';
166
- 'color.text.lowEmphasis': 'var(--text-lowEmphasis)';
167
- 'color.text.onBold': 'var(--text-onBold)';
168
- 'color.text.onBoldWarning': 'var(--text-onBoldWarning)';
169
- 'color.text.link.resting': 'var(--text-link-resting)';
170
- 'color.text.link.pressed': 'var(--text-link-pressed)';
171
- 'color.text.brand': 'var(--text-brand)';
172
- 'color.text.warning': 'var(--text-warning)';
173
- 'color.text.danger': 'var(--text-danger)';
174
- 'color.text.success': 'var(--text-success)';
175
- 'color.text.discovery': 'var(--text-discovery)';
176
- 'color.text.disabled': 'var(--text-disabled)';
177
- 'shadow.card': 'var(--card)';
178
- 'shadow.overlay': 'var(--overlay)';
179
- 'utility.UNSAFE_util.transparent': 'var(--UNSAFE_util-transparent)';
92
+ 'color.accent.boldBlue': 'var(--ds-accent-boldBlue)';
93
+ 'color.accent.boldGreen': 'var(--ds-accent-boldGreen)';
94
+ 'color.accent.boldOrange': 'var(--ds-accent-boldOrange)';
95
+ 'color.accent.boldPurple': 'var(--ds-accent-boldPurple)';
96
+ 'color.accent.boldRed': 'var(--ds-accent-boldRed)';
97
+ 'color.accent.boldTeal': 'var(--ds-accent-boldTeal)';
98
+ 'color.accent.subtleBlue': 'var(--ds-accent-subtleBlue)';
99
+ 'color.accent.subtleGreen': 'var(--ds-accent-subtleGreen)';
100
+ 'color.accent.subtleMagenta': 'var(--ds-accent-subtleMagenta)';
101
+ 'color.accent.subtleOrange': 'var(--ds-accent-subtleOrange)';
102
+ 'color.accent.subtlePurple': 'var(--ds-accent-subtlePurple)';
103
+ 'color.accent.subtleRed': 'var(--ds-accent-subtleRed)';
104
+ 'color.accent.subtleTeal': 'var(--ds-accent-subtleTeal)';
105
+ 'color.background.sunken': 'var(--ds-background-sunken)';
106
+ 'color.background.default': 'var(--ds-background-default)';
107
+ 'color.background.card': 'var(--ds-background-card)';
108
+ 'color.background.overlay': 'var(--ds-background-overlay)';
109
+ 'color.background.selected.resting': 'var(--ds-background-selected-resting)';
110
+ 'color.background.selected.hover': 'var(--ds-background-selected-hover)';
111
+ 'color.background.selected.pressed': 'var(--ds-background-selected-pressed)';
112
+ 'color.background.blanket': 'var(--ds-background-blanket)';
113
+ 'color.background.disabled': 'var(--ds-background-disabled)';
114
+ 'color.background.boldBrand.resting': 'var(--ds-background-boldBrand-resting)';
115
+ 'color.background.boldBrand.hover': 'var(--ds-background-boldBrand-hover)';
116
+ 'color.background.boldBrand.pressed': 'var(--ds-background-boldBrand-pressed)';
117
+ 'color.background.subtleBrand.resting': 'var(--ds-background-subtleBrand-resting)';
118
+ 'color.background.subtleBrand.hover': 'var(--ds-background-subtleBrand-hover)';
119
+ 'color.background.subtleBrand.pressed': 'var(--ds-background-subtleBrand-pressed)';
120
+ 'color.background.boldDanger.resting': 'var(--ds-background-boldDanger-resting)';
121
+ 'color.background.boldDanger.hover': 'var(--ds-background-boldDanger-hover)';
122
+ 'color.background.boldDanger.pressed': 'var(--ds-background-boldDanger-pressed)';
123
+ 'color.background.subtleDanger.resting': 'var(--ds-background-subtleDanger-resting)';
124
+ 'color.background.subtleDanger.hover': 'var(--ds-background-subtleDanger-hover)';
125
+ 'color.background.subtleDanger.pressed': 'var(--ds-background-subtleDanger-pressed)';
126
+ 'color.background.boldWarning.resting': 'var(--ds-background-boldWarning-resting)';
127
+ 'color.background.boldWarning.hover': 'var(--ds-background-boldWarning-hover)';
128
+ 'color.background.boldWarning.pressed': 'var(--ds-background-boldWarning-pressed)';
129
+ 'color.background.subtleWarning.resting': 'var(--ds-background-subtleWarning-resting)';
130
+ 'color.background.subtleWarning.hover': 'var(--ds-background-subtleWarning-hover)';
131
+ 'color.background.subtleWarning.pressed': 'var(--ds-background-subtleWarning-pressed)';
132
+ 'color.background.boldSuccess.resting': 'var(--ds-background-boldSuccess-resting)';
133
+ 'color.background.boldSuccess.hover': 'var(--ds-background-boldSuccess-hover)';
134
+ 'color.background.boldSuccess.pressed': 'var(--ds-background-boldSuccess-pressed)';
135
+ 'color.background.subtleSuccess.resting': 'var(--ds-background-subtleSuccess-resting)';
136
+ 'color.background.subtleSuccess.hover': 'var(--ds-background-subtleSuccess-hover)';
137
+ 'color.background.subtleSuccess.pressed': 'var(--ds-background-subtleSuccess-pressed)';
138
+ 'color.background.boldDiscovery.resting': 'var(--ds-background-boldDiscovery-resting)';
139
+ 'color.background.boldDiscovery.hover': 'var(--ds-background-boldDiscovery-hover)';
140
+ 'color.background.boldDiscovery.pressed': 'var(--ds-background-boldDiscovery-pressed)';
141
+ 'color.background.subtleDiscovery.resting': 'var(--ds-background-subtleDiscovery-resting)';
142
+ 'color.background.subtleDiscovery.hover': 'var(--ds-background-subtleDiscovery-hover)';
143
+ 'color.background.subtleDiscovery.pressed': 'var(--ds-background-subtleDiscovery-pressed)';
144
+ 'color.background.boldNeutral.resting': 'var(--ds-background-boldNeutral-resting)';
145
+ 'color.background.boldNeutral.hover': 'var(--ds-background-boldNeutral-hover)';
146
+ 'color.background.boldNeutral.pressed': 'var(--ds-background-boldNeutral-pressed)';
147
+ 'color.background.transparentNeutral.hover': 'var(--ds-background-transparentNeutral-hover)';
148
+ 'color.background.transparentNeutral.pressed': 'var(--ds-background-transparentNeutral-pressed)';
149
+ 'color.background.subtleNeutral.resting': 'var(--ds-background-subtleNeutral-resting)';
150
+ 'color.background.subtleNeutral.hover': 'var(--ds-background-subtleNeutral-hover)';
151
+ 'color.background.subtleNeutral.pressed': 'var(--ds-background-subtleNeutral-pressed)';
152
+ 'color.background.subtleBorderedNeutral.resting': 'var(--ds-background-subtleBorderedNeutral-resting)';
153
+ 'color.background.subtleBorderedNeutral.pressed': 'var(--ds-background-subtleBorderedNeutral-pressed)';
154
+ 'color.border.focus': 'var(--ds-border-focus)';
155
+ 'color.border.neutral': 'var(--ds-border-neutral)';
156
+ 'color.iconBorder.brand': 'var(--ds-iconBorder-brand)';
157
+ 'color.iconBorder.danger': 'var(--ds-iconBorder-danger)';
158
+ 'color.iconBorder.warning': 'var(--ds-iconBorder-warning)';
159
+ 'color.iconBorder.success': 'var(--ds-iconBorder-success)';
160
+ 'color.iconBorder.discovery': 'var(--ds-iconBorder-discovery)';
161
+ 'color.overlay.hover': 'var(--ds-overlay-hover)';
162
+ 'color.overlay.pressed': 'var(--ds-overlay-pressed)';
163
+ 'color.text.selected': 'var(--ds-text-selected)';
164
+ 'color.text.highEmphasis': 'var(--ds-text-highEmphasis)';
165
+ 'color.text.mediumEmphasis': 'var(--ds-text-mediumEmphasis)';
166
+ 'color.text.lowEmphasis': 'var(--ds-text-lowEmphasis)';
167
+ 'color.text.onBold': 'var(--ds-text-onBold)';
168
+ 'color.text.onBoldWarning': 'var(--ds-text-onBoldWarning)';
169
+ 'color.text.link.resting': 'var(--ds-text-link-resting)';
170
+ 'color.text.link.pressed': 'var(--ds-text-link-pressed)';
171
+ 'color.text.brand': 'var(--ds-text-brand)';
172
+ 'color.text.warning': 'var(--ds-text-warning)';
173
+ 'color.text.danger': 'var(--ds-text-danger)';
174
+ 'color.text.success': 'var(--ds-text-success)';
175
+ 'color.text.discovery': 'var(--ds-text-discovery)';
176
+ 'color.text.disabled': 'var(--ds-text-disabled)';
177
+ 'shadow.card': 'var(--ds-card)';
178
+ 'shadow.overlay': 'var(--ds-overlay)';
179
+ 'utility.UNSAFE_util.transparent': 'var(--ds-UNSAFE_util-transparent)';
180
180
  };
181
181
  export declare type CSSToken = CSSTokenMap[keyof CSSTokenMap];
182
182
  export default tokens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "Tokens are a single source of truth to name and store Atlassian design decisions.",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,28 @@
1
+ Atlaskit Tokens Browser Extension
2
+ ===
3
+
4
+ This extension was made to help development of different themes using `@atlaskit/tokens`
5
+
6
+ Installation
7
+ ===
8
+ The extension currently is not available on any extension store and can only be installed in its unpacked form
9
+
10
+
11
+ Chrome
12
+ * Open [chrome://extensions](chrome://extensions)
13
+ * Enable 'Developer Mode' checkbox
14
+ * Click 'Load unpacked extensions...'
15
+ * Select the `packages/design-system/tokens/tokens-browser-extension` folder
16
+
17
+ Firefox
18
+ * You can also install the extension in Firefox:
19
+ * Unzip the extension and follow the instructions at [Temporary installation in Firefox](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/).
20
+
21
+ Note: When you quit the browser it will remove the extension so you will have to follow the guide above to install it again. We can look at packaging the extension up properly if there is enough demand ;)
22
+
23
+ Usage
24
+ ===
25
+
26
+ While on any page, launch the devtools, you should see a new tab called 'Tokens theming controls'.
27
+
28
+ You can toggle between the themes or disable the theme to see the legacy appearance