@atlaskit/tokens 0.10.10 → 0.10.13

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 (73) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/css/atlassian-dark.css +8 -8
  3. package/css/atlassian-light.css +6 -6
  4. package/dist/cjs/artifacts/palettes-raw.js +5 -5
  5. package/dist/cjs/artifacts/rename-mapping.js +9 -1
  6. package/dist/cjs/artifacts/token-default-values.js +6 -6
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +31 -23
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +29 -21
  9. package/dist/cjs/get-token.js +1 -1
  10. package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -1
  11. package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -1
  12. package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
  13. package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -1
  14. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  15. package/dist/cjs/tokens/atlassian-light/color/background.js +1 -1
  16. package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -1
  17. package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
  18. package/dist/cjs/tokens/atlassian-light/color/text.js +1 -1
  19. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  20. package/dist/cjs/tokens/default/color/interaction.js +0 -18
  21. package/dist/cjs/tokens/default/deprecated/deprecated.js +24 -0
  22. package/dist/cjs/tokens/palette.js +3 -3
  23. package/dist/cjs/version.json +1 -1
  24. package/dist/es2019/artifacts/palettes-raw.js +5 -5
  25. package/dist/es2019/artifacts/rename-mapping.js +9 -1
  26. package/dist/es2019/artifacts/token-default-values.js +6 -6
  27. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +31 -23
  28. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +29 -21
  29. package/dist/es2019/get-token.js +1 -1
  30. package/dist/es2019/tokens/atlassian-dark/color/background.js +1 -1
  31. package/dist/es2019/tokens/atlassian-dark/color/icon.js +1 -1
  32. package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
  33. package/dist/es2019/tokens/atlassian-dark/color/text.js +1 -1
  34. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  35. package/dist/es2019/tokens/atlassian-light/color/background.js +1 -1
  36. package/dist/es2019/tokens/atlassian-light/color/icon.js +1 -1
  37. package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
  38. package/dist/es2019/tokens/atlassian-light/color/text.js +1 -1
  39. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  40. package/dist/es2019/tokens/default/color/interaction.js +0 -18
  41. package/dist/es2019/tokens/default/deprecated/deprecated.js +24 -0
  42. package/dist/es2019/tokens/palette.js +3 -3
  43. package/dist/es2019/version.json +1 -1
  44. package/dist/esm/artifacts/palettes-raw.js +5 -5
  45. package/dist/esm/artifacts/rename-mapping.js +9 -1
  46. package/dist/esm/artifacts/token-default-values.js +6 -6
  47. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +31 -23
  48. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +29 -21
  49. package/dist/esm/get-token.js +1 -1
  50. package/dist/esm/tokens/atlassian-dark/color/background.js +1 -1
  51. package/dist/esm/tokens/atlassian-dark/color/icon.js +1 -1
  52. package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
  53. package/dist/esm/tokens/atlassian-dark/color/text.js +1 -1
  54. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  55. package/dist/esm/tokens/atlassian-light/color/background.js +1 -1
  56. package/dist/esm/tokens/atlassian-light/color/icon.js +1 -1
  57. package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
  58. package/dist/esm/tokens/atlassian-light/color/text.js +1 -1
  59. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  60. package/dist/esm/tokens/default/color/interaction.js +0 -18
  61. package/dist/esm/tokens/default/deprecated/deprecated.js +24 -0
  62. package/dist/esm/tokens/palette.js +3 -3
  63. package/dist/esm/version.json +1 -1
  64. package/dist/types/artifacts/palettes-raw.d.ts +1 -1
  65. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  66. package/dist/types/artifacts/token-default-values.d.ts +6 -6
  67. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +28 -1
  68. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +28 -1
  69. package/dist/types/artifacts/types-internal.d.ts +2 -2
  70. package/dist/types/artifacts/types.d.ts +2 -2
  71. package/dist/types/types.d.ts +6 -4
  72. package/package.json +3 -1
  73. package/report.api.md +619 -20
package/report.api.md CHANGED
@@ -2,35 +2,634 @@
2
2
 
3
3
  > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
4
 
5
- ```ts
6
- // @public (undocumented)
7
- export type CSSToken = CSSTokenMap[keyof CSSTokenMap];
5
+ ````ts
6
+ export declare type CSSToken = CSSTokenMap[keyof CSSTokenMap];
8
7
 
9
- // @public (undocumented)
10
- export const setGlobalTheme: (theme: Themes) => void;
8
+ declare type CSSTokenMap = {
9
+ 'color.text.accent.blue': 'var(--ds-text-accent-blue)';
10
+ 'color.text.accent.blue.bolder': 'var(--ds-text-accent-blue-bolder)';
11
+ 'color.text.accent.red': 'var(--ds-text-accent-red)';
12
+ 'color.text.accent.red.bolder': 'var(--ds-text-accent-red-bolder)';
13
+ 'color.text.accent.orange': 'var(--ds-text-accent-orange)';
14
+ 'color.text.accent.orange.bolder': 'var(--ds-text-accent-orange-bolder)';
15
+ 'color.text.accent.yellow': 'var(--ds-text-accent-yellow)';
16
+ 'color.text.accent.yellow.bolder': 'var(--ds-text-accent-yellow-bolder)';
17
+ 'color.text.accent.green': 'var(--ds-text-accent-green)';
18
+ 'color.text.accent.green.bolder': 'var(--ds-text-accent-green-bolder)';
19
+ 'color.text.accent.purple': 'var(--ds-text-accent-purple)';
20
+ 'color.text.accent.purple.bolder': 'var(--ds-text-accent-purple-bolder)';
21
+ 'color.text.accent.teal': 'var(--ds-text-accent-teal)';
22
+ 'color.text.accent.teal.bolder': 'var(--ds-text-accent-teal-bolder)';
23
+ 'color.text.accent.magenta': 'var(--ds-text-accent-magenta)';
24
+ 'color.text.accent.magenta.bolder': 'var(--ds-text-accent-magenta-bolder)';
25
+ 'color.text.accent.gray': 'var(--ds-text-accent-gray)';
26
+ 'color.text.accent.gray.bolder': 'var(--ds-text-accent-gray-bolder)';
27
+ 'color.text': 'var(--ds-text)';
28
+ 'color.text.subtle': 'var(--ds-text-subtle)';
29
+ 'color.text.subtlest': 'var(--ds-text-subtlest)';
30
+ 'color.text.disabled': 'var(--ds-text-disabled)';
31
+ 'color.text.inverse': 'var(--ds-text-inverse)';
32
+ 'color.text.brand': 'var(--ds-text-brand)';
33
+ 'color.text.selected': 'var(--ds-text-selected)';
34
+ 'color.text.danger': 'var(--ds-text-danger)';
35
+ 'color.text.warning': 'var(--ds-text-warning)';
36
+ 'color.text.warning.inverse': 'var(--ds-text-warning-inverse)';
37
+ 'color.text.success': 'var(--ds-text-success)';
38
+ 'color.text.discovery': 'var(--ds-text-discovery)';
39
+ 'color.text.information': 'var(--ds-text-information)';
40
+ 'color.text.highEmphasis': 'var(--ds-text-highEmphasis)';
41
+ 'color.text.link.pressed': 'var(--ds-text-link-pressed)';
42
+ 'color.text.link.resting': 'var(--ds-text-link-resting)';
43
+ 'color.text.lowEmphasis': 'var(--ds-text-lowEmphasis)';
44
+ 'color.text.mediumEmphasis': 'var(--ds-text-mediumEmphasis)';
45
+ 'color.text.onBold': 'var(--ds-text-onBold)';
46
+ 'color.text.onBoldWarning': 'var(--ds-text-onBoldWarning)';
47
+ 'color.icon.accent.blue': 'var(--ds-icon-accent-blue)';
48
+ 'color.icon.accent.red': 'var(--ds-icon-accent-red)';
49
+ 'color.icon.accent.orange': 'var(--ds-icon-accent-orange)';
50
+ 'color.icon.accent.yellow': 'var(--ds-icon-accent-yellow)';
51
+ 'color.icon.accent.green': 'var(--ds-icon-accent-green)';
52
+ 'color.icon.accent.purple': 'var(--ds-icon-accent-purple)';
53
+ 'color.icon.accent.teal': 'var(--ds-icon-accent-teal)';
54
+ 'color.icon.accent.magenta': 'var(--ds-icon-accent-magenta)';
55
+ 'color.icon.accent.gray': 'var(--ds-icon-accent-gray)';
56
+ 'color.icon': 'var(--ds-icon)';
57
+ 'color.icon.subtle': 'var(--ds-icon-subtle)';
58
+ 'color.icon.inverse': 'var(--ds-icon-inverse)';
59
+ 'color.icon.disabled': 'var(--ds-icon-disabled)';
60
+ 'color.icon.brand': 'var(--ds-icon-brand)';
61
+ 'color.icon.selected': 'var(--ds-icon-selected)';
62
+ 'color.icon.danger': 'var(--ds-icon-danger)';
63
+ 'color.icon.warning': 'var(--ds-icon-warning)';
64
+ 'color.icon.warning.inverse': 'var(--ds-icon-warning-inverse)';
65
+ 'color.icon.success': 'var(--ds-icon-success)';
66
+ 'color.icon.discovery': 'var(--ds-icon-discovery)';
67
+ 'color.icon.information': 'var(--ds-icon-information)';
68
+ 'color.border.accent.blue': 'var(--ds-border-accent-blue)';
69
+ 'color.border.accent.red': 'var(--ds-border-accent-red)';
70
+ 'color.border.accent.orange': 'var(--ds-border-accent-orange)';
71
+ 'color.border.accent.yellow': 'var(--ds-border-accent-yellow)';
72
+ 'color.border.accent.green': 'var(--ds-border-accent-green)';
73
+ 'color.border.accent.purple': 'var(--ds-border-accent-purple)';
74
+ 'color.border.accent.teal': 'var(--ds-border-accent-teal)';
75
+ 'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
76
+ 'color.border.accent.gray': 'var(--ds-border-accent-gray)';
77
+ 'color.border': 'var(--ds-border)';
78
+ 'color.border.bold': 'var(--ds-border-bold)';
79
+ 'color.border.inverse': 'var(--ds-border-inverse)';
80
+ 'color.border.focused': 'var(--ds-border-focused)';
81
+ 'color.border.input': 'var(--ds-border-input)';
82
+ 'color.border.disabled': 'var(--ds-border-disabled)';
83
+ 'color.border.brand': 'var(--ds-border-brand)';
84
+ 'color.border.selected': 'var(--ds-border-selected)';
85
+ 'color.border.danger': 'var(--ds-border-danger)';
86
+ 'color.border.warning': 'var(--ds-border-warning)';
87
+ 'color.border.success': 'var(--ds-border-success)';
88
+ 'color.border.discovery': 'var(--ds-border-discovery)';
89
+ 'color.border.information': 'var(--ds-border-information)';
90
+ 'color.border.focus': 'var(--ds-border-focus)';
91
+ 'color.border.neutral': 'var(--ds-border-neutral)';
92
+ 'color.background.accent.blue.subtlest': 'var(--ds-background-accent-blue-subtlest)';
93
+ 'color.background.accent.blue.subtler': 'var(--ds-background-accent-blue-subtler)';
94
+ 'color.background.accent.blue.subtle': 'var(--ds-background-accent-blue-subtle)';
95
+ 'color.background.accent.blue.bolder': 'var(--ds-background-accent-blue-bolder)';
96
+ 'color.background.accent.blue': 'var(--ds-background-accent-blue)';
97
+ 'color.background.accent.blue.bold': 'var(--ds-background-accent-blue-bold)';
98
+ 'color.background.accent.red.subtlest': 'var(--ds-background-accent-red-subtlest)';
99
+ 'color.background.accent.red.subtler': 'var(--ds-background-accent-red-subtler)';
100
+ 'color.background.accent.red.subtle': 'var(--ds-background-accent-red-subtle)';
101
+ 'color.background.accent.red.bolder': 'var(--ds-background-accent-red-bolder)';
102
+ 'color.background.accent.red': 'var(--ds-background-accent-red)';
103
+ 'color.background.accent.red.bold': 'var(--ds-background-accent-red-bold)';
104
+ 'color.background.accent.orange.subtlest': 'var(--ds-background-accent-orange-subtlest)';
105
+ 'color.background.accent.orange.subtler': 'var(--ds-background-accent-orange-subtler)';
106
+ 'color.background.accent.orange.subtle': 'var(--ds-background-accent-orange-subtle)';
107
+ 'color.background.accent.orange.bolder': 'var(--ds-background-accent-orange-bolder)';
108
+ 'color.background.accent.orange': 'var(--ds-background-accent-orange)';
109
+ 'color.background.accent.orange.bold': 'var(--ds-background-accent-orange-bold)';
110
+ 'color.background.accent.yellow.subtlest': 'var(--ds-background-accent-yellow-subtlest)';
111
+ 'color.background.accent.yellow.subtler': 'var(--ds-background-accent-yellow-subtler)';
112
+ 'color.background.accent.yellow.subtle': 'var(--ds-background-accent-yellow-subtle)';
113
+ 'color.background.accent.yellow.bolder': 'var(--ds-background-accent-yellow-bolder)';
114
+ 'color.background.accent.yellow': 'var(--ds-background-accent-yellow)';
115
+ 'color.background.accent.yellow.bold': 'var(--ds-background-accent-yellow-bold)';
116
+ 'color.background.accent.green.subtlest': 'var(--ds-background-accent-green-subtlest)';
117
+ 'color.background.accent.green.subtler': 'var(--ds-background-accent-green-subtler)';
118
+ 'color.background.accent.green.subtle': 'var(--ds-background-accent-green-subtle)';
119
+ 'color.background.accent.green.bolder': 'var(--ds-background-accent-green-bolder)';
120
+ 'color.background.accent.green': 'var(--ds-background-accent-green)';
121
+ 'color.background.accent.green.bold': 'var(--ds-background-accent-green-bold)';
122
+ 'color.background.accent.teal.subtlest': 'var(--ds-background-accent-teal-subtlest)';
123
+ 'color.background.accent.teal.subtler': 'var(--ds-background-accent-teal-subtler)';
124
+ 'color.background.accent.teal.subtle': 'var(--ds-background-accent-teal-subtle)';
125
+ 'color.background.accent.teal.bolder': 'var(--ds-background-accent-teal-bolder)';
126
+ 'color.background.accent.teal': 'var(--ds-background-accent-teal)';
127
+ 'color.background.accent.teal.bold': 'var(--ds-background-accent-teal-bold)';
128
+ 'color.background.accent.purple.subtlest': 'var(--ds-background-accent-purple-subtlest)';
129
+ 'color.background.accent.purple.subtler': 'var(--ds-background-accent-purple-subtler)';
130
+ 'color.background.accent.purple.subtle': 'var(--ds-background-accent-purple-subtle)';
131
+ 'color.background.accent.purple.bolder': 'var(--ds-background-accent-purple-bolder)';
132
+ 'color.background.accent.purple': 'var(--ds-background-accent-purple)';
133
+ 'color.background.accent.purple.bold': 'var(--ds-background-accent-purple-bold)';
134
+ 'color.background.accent.magenta.subtlest': 'var(--ds-background-accent-magenta-subtlest)';
135
+ 'color.background.accent.magenta.subtler': 'var(--ds-background-accent-magenta-subtler)';
136
+ 'color.background.accent.magenta.subtle': 'var(--ds-background-accent-magenta-subtle)';
137
+ 'color.background.accent.magenta.bolder': 'var(--ds-background-accent-magenta-bolder)';
138
+ 'color.background.accent.magenta': 'var(--ds-background-accent-magenta)';
139
+ 'color.background.accent.magenta.bold': 'var(--ds-background-accent-magenta-bold)';
140
+ 'color.background.accent.gray.subtlest': 'var(--ds-background-accent-gray-subtlest)';
141
+ 'color.background.accent.gray.subtler': 'var(--ds-background-accent-gray-subtler)';
142
+ 'color.background.accent.gray.subtle': 'var(--ds-background-accent-gray-subtle)';
143
+ 'color.background.accent.gray.bolder': 'var(--ds-background-accent-gray-bolder)';
144
+ 'color.background.disabled': 'var(--ds-background-disabled)';
145
+ 'color.background.inverse.subtle': 'var(--ds-background-inverse-subtle)';
146
+ 'color.background.inverse.subtle.hovered': 'var(--ds-background-inverse-subtle-hovered)';
147
+ 'color.background.inverse.subtle.pressed': 'var(--ds-background-inverse-subtle-pressed)';
148
+ 'color.background.inverse': 'var(--ds-background-inverse)';
149
+ 'color.background.input': 'var(--ds-background-input)';
150
+ 'color.background.input.hovered': 'var(--ds-background-input-hovered)';
151
+ 'color.background.input.pressed': 'var(--ds-background-input-pressed)';
152
+ 'color.background.neutral': 'var(--ds-background-neutral)';
153
+ 'color.background.neutral.hovered': 'var(--ds-background-neutral-hovered)';
154
+ 'color.background.neutral.pressed': 'var(--ds-background-neutral-pressed)';
155
+ 'color.background.neutral.subtle': 'var(--ds-background-neutral-subtle)';
156
+ 'color.background.neutral.subtle.hovered': 'var(--ds-background-neutral-subtle-hovered)';
157
+ 'color.background.neutral.subtle.pressed': 'var(--ds-background-neutral-subtle-pressed)';
158
+ 'color.background.neutral.bold': 'var(--ds-background-neutral-bold)';
159
+ 'color.background.neutral.bold.hovered': 'var(--ds-background-neutral-bold-hovered)';
160
+ 'color.background.neutral.bold.pressed': 'var(--ds-background-neutral-bold-pressed)';
161
+ 'color.background.brand.bold': 'var(--ds-background-brand-bold)';
162
+ 'color.background.brand.bold.hovered': 'var(--ds-background-brand-bold-hovered)';
163
+ 'color.background.brand.bold.pressed': 'var(--ds-background-brand-bold-pressed)';
164
+ 'color.background.brand': 'var(--ds-background-brand)';
165
+ 'color.background.brand.hovered': 'var(--ds-background-brand-hovered)';
166
+ 'color.background.brand.pressed': 'var(--ds-background-brand-pressed)';
167
+ 'color.background.selected': 'var(--ds-background-selected)';
168
+ 'color.background.selected.hovered': 'var(--ds-background-selected-hovered)';
169
+ 'color.background.selected.pressed': 'var(--ds-background-selected-pressed)';
170
+ 'color.background.selected.bold': 'var(--ds-background-selected-bold)';
171
+ 'color.background.selected.bold.hovered': 'var(--ds-background-selected-bold-hovered)';
172
+ 'color.background.selected.bold.pressed': 'var(--ds-background-selected-bold-pressed)';
173
+ 'color.background.selected.resting': 'var(--ds-background-selected-resting)';
174
+ 'color.background.selected.hover': 'var(--ds-background-selected-hover)';
175
+ 'color.background.danger': 'var(--ds-background-danger)';
176
+ 'color.background.danger.hovered': 'var(--ds-background-danger-hovered)';
177
+ 'color.background.danger.pressed': 'var(--ds-background-danger-pressed)';
178
+ 'color.background.danger.bold': 'var(--ds-background-danger-bold)';
179
+ 'color.background.danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
180
+ 'color.background.danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
181
+ 'color.background.warning': 'var(--ds-background-warning)';
182
+ 'color.background.warning.hovered': 'var(--ds-background-warning-hovered)';
183
+ 'color.background.warning.pressed': 'var(--ds-background-warning-pressed)';
184
+ 'color.background.warning.bold': 'var(--ds-background-warning-bold)';
185
+ 'color.background.warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
186
+ 'color.background.warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
187
+ 'color.background.success': 'var(--ds-background-success)';
188
+ 'color.background.success.hovered': 'var(--ds-background-success-hovered)';
189
+ 'color.background.success.pressed': 'var(--ds-background-success-pressed)';
190
+ 'color.background.success.bold': 'var(--ds-background-success-bold)';
191
+ 'color.background.success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
192
+ 'color.background.success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
193
+ 'color.background.discovery': 'var(--ds-background-discovery)';
194
+ 'color.background.discovery.hovered': 'var(--ds-background-discovery-hovered)';
195
+ 'color.background.discovery.pressed': 'var(--ds-background-discovery-pressed)';
196
+ 'color.background.discovery.bold': 'var(--ds-background-discovery-bold)';
197
+ 'color.background.discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
198
+ 'color.background.discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
199
+ 'color.background.information': 'var(--ds-background-information)';
200
+ 'color.background.information.hovered': 'var(--ds-background-information-hovered)';
201
+ 'color.background.information.pressed': 'var(--ds-background-information-pressed)';
202
+ 'color.background.information.bold': 'var(--ds-background-information-bold)';
203
+ 'color.background.information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
204
+ 'color.background.information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
205
+ 'color.background.blanket': 'var(--ds-background-blanket)';
206
+ 'color.background.boldBrand.hover': 'var(--ds-background-boldBrand-hover)';
207
+ 'color.background.boldBrand.pressed': 'var(--ds-background-boldBrand-pressed)';
208
+ 'color.background.boldBrand.resting': 'var(--ds-background-boldBrand-resting)';
209
+ 'color.background.boldDanger.hover': 'var(--ds-background-boldDanger-hover)';
210
+ 'color.background.boldDanger.pressed': 'var(--ds-background-boldDanger-pressed)';
211
+ 'color.background.boldDanger.resting': 'var(--ds-background-boldDanger-resting)';
212
+ 'color.background.boldDiscovery.hover': 'var(--ds-background-boldDiscovery-hover)';
213
+ 'color.background.boldDiscovery.pressed': 'var(--ds-background-boldDiscovery-pressed)';
214
+ 'color.background.boldDiscovery.resting': 'var(--ds-background-boldDiscovery-resting)';
215
+ 'color.background.boldNeutral.hover': 'var(--ds-background-boldNeutral-hover)';
216
+ 'color.background.boldNeutral.pressed': 'var(--ds-background-boldNeutral-pressed)';
217
+ 'color.background.boldNeutral.resting': 'var(--ds-background-boldNeutral-resting)';
218
+ 'color.background.boldSuccess.hover': 'var(--ds-background-boldSuccess-hover)';
219
+ 'color.background.boldSuccess.pressed': 'var(--ds-background-boldSuccess-pressed)';
220
+ 'color.background.boldSuccess.resting': 'var(--ds-background-boldSuccess-resting)';
221
+ 'color.background.boldWarning.hover': 'var(--ds-background-boldWarning-hover)';
222
+ 'color.background.boldWarning.pressed': 'var(--ds-background-boldWarning-pressed)';
223
+ 'color.background.boldWarning.resting': 'var(--ds-background-boldWarning-resting)';
224
+ 'color.background.card': 'var(--ds-background-card)';
225
+ 'color.background.default': 'var(--ds-background-default)';
226
+ 'color.background.overlay': 'var(--ds-background-overlay)';
227
+ 'color.background.subtleBorderedNeutral.pressed': 'var(--ds-background-subtleBorderedNeutral-pressed)';
228
+ 'color.background.subtleBorderedNeutral.resting': 'var(--ds-background-subtleBorderedNeutral-resting)';
229
+ 'color.background.subtleBrand.hover': 'var(--ds-background-subtleBrand-hover)';
230
+ 'color.background.subtleBrand.pressed': 'var(--ds-background-subtleBrand-pressed)';
231
+ 'color.background.subtleBrand.resting': 'var(--ds-background-subtleBrand-resting)';
232
+ 'color.background.subtleDanger.hover': 'var(--ds-background-subtleDanger-hover)';
233
+ 'color.background.subtleDanger.pressed': 'var(--ds-background-subtleDanger-pressed)';
234
+ 'color.background.subtleDanger.resting': 'var(--ds-background-subtleDanger-resting)';
235
+ 'color.background.subtleDiscovery.hover': 'var(--ds-background-subtleDiscovery-hover)';
236
+ 'color.background.subtleDiscovery.pressed': 'var(--ds-background-subtleDiscovery-pressed)';
237
+ 'color.background.subtleDiscovery.resting': 'var(--ds-background-subtleDiscovery-resting)';
238
+ 'color.background.subtleNeutral.hover': 'var(--ds-background-subtleNeutral-hover)';
239
+ 'color.background.subtleNeutral.pressed': 'var(--ds-background-subtleNeutral-pressed)';
240
+ 'color.background.subtleNeutral.resting': 'var(--ds-background-subtleNeutral-resting)';
241
+ 'color.background.subtleSuccess.hover': 'var(--ds-background-subtleSuccess-hover)';
242
+ 'color.background.subtleSuccess.pressed': 'var(--ds-background-subtleSuccess-pressed)';
243
+ 'color.background.subtleSuccess.resting': 'var(--ds-background-subtleSuccess-resting)';
244
+ 'color.background.subtleWarning.hover': 'var(--ds-background-subtleWarning-hover)';
245
+ 'color.background.subtleWarning.pressed': 'var(--ds-background-subtleWarning-pressed)';
246
+ 'color.background.subtleWarning.resting': 'var(--ds-background-subtleWarning-resting)';
247
+ 'color.background.sunken': 'var(--ds-background-sunken)';
248
+ 'color.background.transparentNeutral.hover': 'var(--ds-background-transparentNeutral-hover)';
249
+ 'color.background.transparentNeutral.pressed': 'var(--ds-background-transparentNeutral-pressed)';
250
+ 'color.blanket': 'var(--ds-blanket)';
251
+ 'color.blanket.selected': 'var(--ds-blanket-selected)';
252
+ 'color.blanket.danger': 'var(--ds-blanket-danger)';
253
+ 'color.interaction.hovered': 'var(--ds-interaction-hovered)';
254
+ 'color.interaction.pressed': 'var(--ds-interaction-pressed)';
255
+ 'color.interaction.inverse.hovered': 'var(--ds-interaction-inverse-hovered)';
256
+ 'color.interaction.inverse.pressed': 'var(--ds-interaction-inverse-pressed)';
257
+ 'color.skeleton': 'var(--ds-skeleton)';
258
+ 'color.skeleton.subtle': 'var(--ds-skeleton-subtle)';
259
+ 'color.link': 'var(--ds-link)';
260
+ 'color.link.pressed': 'var(--ds-link-pressed)';
261
+ 'color.accent.boldBlue': 'var(--ds-accent-boldBlue)';
262
+ 'color.accent.boldGreen': 'var(--ds-accent-boldGreen)';
263
+ 'color.accent.boldOrange': 'var(--ds-accent-boldOrange)';
264
+ 'color.accent.boldPurple': 'var(--ds-accent-boldPurple)';
265
+ 'color.accent.boldRed': 'var(--ds-accent-boldRed)';
266
+ 'color.accent.boldTeal': 'var(--ds-accent-boldTeal)';
267
+ 'color.accent.subtleBlue': 'var(--ds-accent-subtleBlue)';
268
+ 'color.accent.subtleGreen': 'var(--ds-accent-subtleGreen)';
269
+ 'color.accent.subtleMagenta': 'var(--ds-accent-subtleMagenta)';
270
+ 'color.accent.subtleOrange': 'var(--ds-accent-subtleOrange)';
271
+ 'color.accent.subtlePurple': 'var(--ds-accent-subtlePurple)';
272
+ 'color.accent.subtleRed': 'var(--ds-accent-subtleRed)';
273
+ 'color.accent.subtleTeal': 'var(--ds-accent-subtleTeal)';
274
+ 'color.iconBorder.brand': 'var(--ds-iconBorder-brand)';
275
+ 'color.iconBorder.danger': 'var(--ds-iconBorder-danger)';
276
+ 'color.iconBorder.discovery': 'var(--ds-iconBorder-discovery)';
277
+ 'color.iconBorder.success': 'var(--ds-iconBorder-success)';
278
+ 'color.iconBorder.warning': 'var(--ds-iconBorder-warning)';
279
+ 'color.overlay.hover': 'var(--ds-overlay-hover)';
280
+ 'color.overlay.pressed': 'var(--ds-overlay-pressed)';
281
+ 'shadow.card': 'var(--ds-card)';
282
+ 'shadow.overlay': 'var(--ds-overlay)';
283
+ 'elevation.shadow.raised': 'var(--ds-shadow-raised)';
284
+ 'elevation.shadow.overflow': 'var(--ds-shadow-overflow)';
285
+ 'elevation.shadow.overlay': 'var(--ds-shadow-overlay)';
286
+ 'elevation.surface': 'var(--ds-surface)';
287
+ 'elevation.surface.sunken': 'var(--ds-surface-sunken)';
288
+ 'elevation.surface.raised': 'var(--ds-surface-raised)';
289
+ 'elevation.surface.overlay': 'var(--ds-surface-overlay)';
290
+ 'utility.UNSAFE_util.transparent': 'var(--ds-UNSAFE_util-transparent)';
291
+ 'utility.UNSAFE_util.MISSING_TOKEN': 'var(--ds-UNSAFE_util-MISSING_TOKEN)';
292
+ };
11
293
 
12
- // @public
13
- export class ThemeMutationObserver {
294
+ export declare const setGlobalTheme: (theme: Themes) => void;
295
+
296
+ /**
297
+ * A MutationObserver which watches the `<html>` element for changes to the theme.
298
+ *
299
+ * In React, use the {@link useThemeObserver `useThemeObserver`} hook instead.
300
+ *
301
+ * @param {function} callback - A callback function which fires when the theme changes.
302
+ *
303
+ * @example
304
+ * ```
305
+ * const observer = new ThemeMutationObserver((theme) => {});
306
+ * observer.observe();
307
+ * ```
308
+ */
309
+ export declare class ThemeMutationObserver {
310
+ private callback;
311
+ observer: MutationObserver | null;
14
312
  constructor(callback: (theme: Themes | null) => unknown);
15
- // (undocumented)
16
- disconnect(): void;
17
- // (undocumented)
18
313
  observe(): void;
19
- // (undocumented)
20
- observer: MutationObserver | null;
314
+ disconnect(): void;
21
315
  }
22
316
 
23
- // @public (undocumented)
24
- export type Themes = typeof THEMES[number];
317
+ declare const THEMES: readonly ['light', 'dark'];
318
+
319
+ export declare type Themes = typeof THEMES[number];
25
320
 
26
- // @public (undocumented)
27
- export function token<T extends keyof Tokens>(
321
+ export declare function token<T extends keyof Tokens>(
28
322
  path: T,
29
323
  fallback?: string,
30
324
  ): CSSTokenMap[T];
31
325
 
32
- // @public
33
- export const useThemeObserver: () => Themes | null;
326
+ declare type Tokens = typeof tokens;
327
+
328
+ /**
329
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
330
+ * @codegen <<SignedSource::3acc6507214a2d925fd75bce0549f0ab>>
331
+ * @codegenCommand yarn build tokens
332
+ */
333
+ declare const tokens: {
334
+ readonly 'color.text.accent.blue': '--ds-text-accent-blue';
335
+ readonly 'color.text.accent.blue.bolder': '--ds-text-accent-blue-bolder';
336
+ readonly 'color.text.accent.red': '--ds-text-accent-red';
337
+ readonly 'color.text.accent.red.bolder': '--ds-text-accent-red-bolder';
338
+ readonly 'color.text.accent.orange': '--ds-text-accent-orange';
339
+ readonly 'color.text.accent.orange.bolder': '--ds-text-accent-orange-bolder';
340
+ readonly 'color.text.accent.yellow': '--ds-text-accent-yellow';
341
+ readonly 'color.text.accent.yellow.bolder': '--ds-text-accent-yellow-bolder';
342
+ readonly 'color.text.accent.green': '--ds-text-accent-green';
343
+ readonly 'color.text.accent.green.bolder': '--ds-text-accent-green-bolder';
344
+ readonly 'color.text.accent.purple': '--ds-text-accent-purple';
345
+ readonly 'color.text.accent.purple.bolder': '--ds-text-accent-purple-bolder';
346
+ readonly 'color.text.accent.teal': '--ds-text-accent-teal';
347
+ readonly 'color.text.accent.teal.bolder': '--ds-text-accent-teal-bolder';
348
+ readonly 'color.text.accent.magenta': '--ds-text-accent-magenta';
349
+ readonly 'color.text.accent.magenta.bolder': '--ds-text-accent-magenta-bolder';
350
+ readonly 'color.text.accent.gray': '--ds-text-accent-gray';
351
+ readonly 'color.text.accent.gray.bolder': '--ds-text-accent-gray-bolder';
352
+ readonly 'color.text': '--ds-text';
353
+ readonly 'color.text.subtle': '--ds-text-subtle';
354
+ readonly 'color.text.subtlest': '--ds-text-subtlest';
355
+ readonly 'color.text.disabled': '--ds-text-disabled';
356
+ readonly 'color.text.inverse': '--ds-text-inverse';
357
+ readonly 'color.text.brand': '--ds-text-brand';
358
+ readonly 'color.text.selected': '--ds-text-selected';
359
+ readonly 'color.text.danger': '--ds-text-danger';
360
+ readonly 'color.text.warning': '--ds-text-warning';
361
+ readonly 'color.text.warning.inverse': '--ds-text-warning-inverse';
362
+ readonly 'color.text.success': '--ds-text-success';
363
+ readonly 'color.text.discovery': '--ds-text-discovery';
364
+ readonly 'color.text.information': '--ds-text-information';
365
+ readonly 'color.text.highEmphasis': '--ds-text-highEmphasis';
366
+ readonly 'color.text.link.pressed': '--ds-text-link-pressed';
367
+ readonly 'color.text.link.resting': '--ds-text-link-resting';
368
+ readonly 'color.text.lowEmphasis': '--ds-text-lowEmphasis';
369
+ readonly 'color.text.mediumEmphasis': '--ds-text-mediumEmphasis';
370
+ readonly 'color.text.onBold': '--ds-text-onBold';
371
+ readonly 'color.text.onBoldWarning': '--ds-text-onBoldWarning';
372
+ readonly 'color.icon.accent.blue': '--ds-icon-accent-blue';
373
+ readonly 'color.icon.accent.red': '--ds-icon-accent-red';
374
+ readonly 'color.icon.accent.orange': '--ds-icon-accent-orange';
375
+ readonly 'color.icon.accent.yellow': '--ds-icon-accent-yellow';
376
+ readonly 'color.icon.accent.green': '--ds-icon-accent-green';
377
+ readonly 'color.icon.accent.purple': '--ds-icon-accent-purple';
378
+ readonly 'color.icon.accent.teal': '--ds-icon-accent-teal';
379
+ readonly 'color.icon.accent.magenta': '--ds-icon-accent-magenta';
380
+ readonly 'color.icon.accent.gray': '--ds-icon-accent-gray';
381
+ readonly 'color.icon': '--ds-icon';
382
+ readonly 'color.icon.subtle': '--ds-icon-subtle';
383
+ readonly 'color.icon.inverse': '--ds-icon-inverse';
384
+ readonly 'color.icon.disabled': '--ds-icon-disabled';
385
+ readonly 'color.icon.brand': '--ds-icon-brand';
386
+ readonly 'color.icon.selected': '--ds-icon-selected';
387
+ readonly 'color.icon.danger': '--ds-icon-danger';
388
+ readonly 'color.icon.warning': '--ds-icon-warning';
389
+ readonly 'color.icon.warning.inverse': '--ds-icon-warning-inverse';
390
+ readonly 'color.icon.success': '--ds-icon-success';
391
+ readonly 'color.icon.discovery': '--ds-icon-discovery';
392
+ readonly 'color.icon.information': '--ds-icon-information';
393
+ readonly 'color.border.accent.blue': '--ds-border-accent-blue';
394
+ readonly 'color.border.accent.red': '--ds-border-accent-red';
395
+ readonly 'color.border.accent.orange': '--ds-border-accent-orange';
396
+ readonly 'color.border.accent.yellow': '--ds-border-accent-yellow';
397
+ readonly 'color.border.accent.green': '--ds-border-accent-green';
398
+ readonly 'color.border.accent.purple': '--ds-border-accent-purple';
399
+ readonly 'color.border.accent.teal': '--ds-border-accent-teal';
400
+ readonly 'color.border.accent.magenta': '--ds-border-accent-magenta';
401
+ readonly 'color.border.accent.gray': '--ds-border-accent-gray';
402
+ readonly 'color.border': '--ds-border';
403
+ readonly 'color.border.bold': '--ds-border-bold';
404
+ readonly 'color.border.inverse': '--ds-border-inverse';
405
+ readonly 'color.border.focused': '--ds-border-focused';
406
+ readonly 'color.border.input': '--ds-border-input';
407
+ readonly 'color.border.disabled': '--ds-border-disabled';
408
+ readonly 'color.border.brand': '--ds-border-brand';
409
+ readonly 'color.border.selected': '--ds-border-selected';
410
+ readonly 'color.border.danger': '--ds-border-danger';
411
+ readonly 'color.border.warning': '--ds-border-warning';
412
+ readonly 'color.border.success': '--ds-border-success';
413
+ readonly 'color.border.discovery': '--ds-border-discovery';
414
+ readonly 'color.border.information': '--ds-border-information';
415
+ readonly 'color.border.focus': '--ds-border-focus';
416
+ readonly 'color.border.neutral': '--ds-border-neutral';
417
+ readonly 'color.background.accent.blue.subtlest': '--ds-background-accent-blue-subtlest';
418
+ readonly 'color.background.accent.blue.subtler': '--ds-background-accent-blue-subtler';
419
+ readonly 'color.background.accent.blue.subtle': '--ds-background-accent-blue-subtle';
420
+ readonly 'color.background.accent.blue.bolder': '--ds-background-accent-blue-bolder';
421
+ readonly 'color.background.accent.blue': '--ds-background-accent-blue';
422
+ readonly 'color.background.accent.blue.bold': '--ds-background-accent-blue-bold';
423
+ readonly 'color.background.accent.red.subtlest': '--ds-background-accent-red-subtlest';
424
+ readonly 'color.background.accent.red.subtler': '--ds-background-accent-red-subtler';
425
+ readonly 'color.background.accent.red.subtle': '--ds-background-accent-red-subtle';
426
+ readonly 'color.background.accent.red.bolder': '--ds-background-accent-red-bolder';
427
+ readonly 'color.background.accent.red': '--ds-background-accent-red';
428
+ readonly 'color.background.accent.red.bold': '--ds-background-accent-red-bold';
429
+ readonly 'color.background.accent.orange.subtlest': '--ds-background-accent-orange-subtlest';
430
+ readonly 'color.background.accent.orange.subtler': '--ds-background-accent-orange-subtler';
431
+ readonly 'color.background.accent.orange.subtle': '--ds-background-accent-orange-subtle';
432
+ readonly 'color.background.accent.orange.bolder': '--ds-background-accent-orange-bolder';
433
+ readonly 'color.background.accent.orange': '--ds-background-accent-orange';
434
+ readonly 'color.background.accent.orange.bold': '--ds-background-accent-orange-bold';
435
+ readonly 'color.background.accent.yellow.subtlest': '--ds-background-accent-yellow-subtlest';
436
+ readonly 'color.background.accent.yellow.subtler': '--ds-background-accent-yellow-subtler';
437
+ readonly 'color.background.accent.yellow.subtle': '--ds-background-accent-yellow-subtle';
438
+ readonly 'color.background.accent.yellow.bolder': '--ds-background-accent-yellow-bolder';
439
+ readonly 'color.background.accent.yellow': '--ds-background-accent-yellow';
440
+ readonly 'color.background.accent.yellow.bold': '--ds-background-accent-yellow-bold';
441
+ readonly 'color.background.accent.green.subtlest': '--ds-background-accent-green-subtlest';
442
+ readonly 'color.background.accent.green.subtler': '--ds-background-accent-green-subtler';
443
+ readonly 'color.background.accent.green.subtle': '--ds-background-accent-green-subtle';
444
+ readonly 'color.background.accent.green.bolder': '--ds-background-accent-green-bolder';
445
+ readonly 'color.background.accent.green': '--ds-background-accent-green';
446
+ readonly 'color.background.accent.green.bold': '--ds-background-accent-green-bold';
447
+ readonly 'color.background.accent.teal.subtlest': '--ds-background-accent-teal-subtlest';
448
+ readonly 'color.background.accent.teal.subtler': '--ds-background-accent-teal-subtler';
449
+ readonly 'color.background.accent.teal.subtle': '--ds-background-accent-teal-subtle';
450
+ readonly 'color.background.accent.teal.bolder': '--ds-background-accent-teal-bolder';
451
+ readonly 'color.background.accent.teal': '--ds-background-accent-teal';
452
+ readonly 'color.background.accent.teal.bold': '--ds-background-accent-teal-bold';
453
+ readonly 'color.background.accent.purple.subtlest': '--ds-background-accent-purple-subtlest';
454
+ readonly 'color.background.accent.purple.subtler': '--ds-background-accent-purple-subtler';
455
+ readonly 'color.background.accent.purple.subtle': '--ds-background-accent-purple-subtle';
456
+ readonly 'color.background.accent.purple.bolder': '--ds-background-accent-purple-bolder';
457
+ readonly 'color.background.accent.purple': '--ds-background-accent-purple';
458
+ readonly 'color.background.accent.purple.bold': '--ds-background-accent-purple-bold';
459
+ readonly 'color.background.accent.magenta.subtlest': '--ds-background-accent-magenta-subtlest';
460
+ readonly 'color.background.accent.magenta.subtler': '--ds-background-accent-magenta-subtler';
461
+ readonly 'color.background.accent.magenta.subtle': '--ds-background-accent-magenta-subtle';
462
+ readonly 'color.background.accent.magenta.bolder': '--ds-background-accent-magenta-bolder';
463
+ readonly 'color.background.accent.magenta': '--ds-background-accent-magenta';
464
+ readonly 'color.background.accent.magenta.bold': '--ds-background-accent-magenta-bold';
465
+ readonly 'color.background.accent.gray.subtlest': '--ds-background-accent-gray-subtlest';
466
+ readonly 'color.background.accent.gray.subtler': '--ds-background-accent-gray-subtler';
467
+ readonly 'color.background.accent.gray.subtle': '--ds-background-accent-gray-subtle';
468
+ readonly 'color.background.accent.gray.bolder': '--ds-background-accent-gray-bolder';
469
+ readonly 'color.background.disabled': '--ds-background-disabled';
470
+ readonly 'color.background.inverse.subtle': '--ds-background-inverse-subtle';
471
+ readonly 'color.background.inverse.subtle.hovered': '--ds-background-inverse-subtle-hovered';
472
+ readonly 'color.background.inverse.subtle.pressed': '--ds-background-inverse-subtle-pressed';
473
+ readonly 'color.background.inverse': '--ds-background-inverse';
474
+ readonly 'color.background.input': '--ds-background-input';
475
+ readonly 'color.background.input.hovered': '--ds-background-input-hovered';
476
+ readonly 'color.background.input.pressed': '--ds-background-input-pressed';
477
+ readonly 'color.background.neutral': '--ds-background-neutral';
478
+ readonly 'color.background.neutral.hovered': '--ds-background-neutral-hovered';
479
+ readonly 'color.background.neutral.pressed': '--ds-background-neutral-pressed';
480
+ readonly 'color.background.neutral.subtle': '--ds-background-neutral-subtle';
481
+ readonly 'color.background.neutral.subtle.hovered': '--ds-background-neutral-subtle-hovered';
482
+ readonly 'color.background.neutral.subtle.pressed': '--ds-background-neutral-subtle-pressed';
483
+ readonly 'color.background.neutral.bold': '--ds-background-neutral-bold';
484
+ readonly 'color.background.neutral.bold.hovered': '--ds-background-neutral-bold-hovered';
485
+ readonly 'color.background.neutral.bold.pressed': '--ds-background-neutral-bold-pressed';
486
+ readonly 'color.background.brand.bold': '--ds-background-brand-bold';
487
+ readonly 'color.background.brand.bold.hovered': '--ds-background-brand-bold-hovered';
488
+ readonly 'color.background.brand.bold.pressed': '--ds-background-brand-bold-pressed';
489
+ readonly 'color.background.brand': '--ds-background-brand';
490
+ readonly 'color.background.brand.hovered': '--ds-background-brand-hovered';
491
+ readonly 'color.background.brand.pressed': '--ds-background-brand-pressed';
492
+ readonly 'color.background.selected': '--ds-background-selected';
493
+ readonly 'color.background.selected.hovered': '--ds-background-selected-hovered';
494
+ readonly 'color.background.selected.pressed': '--ds-background-selected-pressed';
495
+ readonly 'color.background.selected.bold': '--ds-background-selected-bold';
496
+ readonly 'color.background.selected.bold.hovered': '--ds-background-selected-bold-hovered';
497
+ readonly 'color.background.selected.bold.pressed': '--ds-background-selected-bold-pressed';
498
+ readonly 'color.background.selected.resting': '--ds-background-selected-resting';
499
+ readonly 'color.background.selected.hover': '--ds-background-selected-hover';
500
+ readonly 'color.background.danger': '--ds-background-danger';
501
+ readonly 'color.background.danger.hovered': '--ds-background-danger-hovered';
502
+ readonly 'color.background.danger.pressed': '--ds-background-danger-pressed';
503
+ readonly 'color.background.danger.bold': '--ds-background-danger-bold';
504
+ readonly 'color.background.danger.bold.hovered': '--ds-background-danger-bold-hovered';
505
+ readonly 'color.background.danger.bold.pressed': '--ds-background-danger-bold-pressed';
506
+ readonly 'color.background.warning': '--ds-background-warning';
507
+ readonly 'color.background.warning.hovered': '--ds-background-warning-hovered';
508
+ readonly 'color.background.warning.pressed': '--ds-background-warning-pressed';
509
+ readonly 'color.background.warning.bold': '--ds-background-warning-bold';
510
+ readonly 'color.background.warning.bold.hovered': '--ds-background-warning-bold-hovered';
511
+ readonly 'color.background.warning.bold.pressed': '--ds-background-warning-bold-pressed';
512
+ readonly 'color.background.success': '--ds-background-success';
513
+ readonly 'color.background.success.hovered': '--ds-background-success-hovered';
514
+ readonly 'color.background.success.pressed': '--ds-background-success-pressed';
515
+ readonly 'color.background.success.bold': '--ds-background-success-bold';
516
+ readonly 'color.background.success.bold.hovered': '--ds-background-success-bold-hovered';
517
+ readonly 'color.background.success.bold.pressed': '--ds-background-success-bold-pressed';
518
+ readonly 'color.background.discovery': '--ds-background-discovery';
519
+ readonly 'color.background.discovery.hovered': '--ds-background-discovery-hovered';
520
+ readonly 'color.background.discovery.pressed': '--ds-background-discovery-pressed';
521
+ readonly 'color.background.discovery.bold': '--ds-background-discovery-bold';
522
+ readonly 'color.background.discovery.bold.hovered': '--ds-background-discovery-bold-hovered';
523
+ readonly 'color.background.discovery.bold.pressed': '--ds-background-discovery-bold-pressed';
524
+ readonly 'color.background.information': '--ds-background-information';
525
+ readonly 'color.background.information.hovered': '--ds-background-information-hovered';
526
+ readonly 'color.background.information.pressed': '--ds-background-information-pressed';
527
+ readonly 'color.background.information.bold': '--ds-background-information-bold';
528
+ readonly 'color.background.information.bold.hovered': '--ds-background-information-bold-hovered';
529
+ readonly 'color.background.information.bold.pressed': '--ds-background-information-bold-pressed';
530
+ readonly 'color.background.blanket': '--ds-background-blanket';
531
+ readonly 'color.background.boldBrand.hover': '--ds-background-boldBrand-hover';
532
+ readonly 'color.background.boldBrand.pressed': '--ds-background-boldBrand-pressed';
533
+ readonly 'color.background.boldBrand.resting': '--ds-background-boldBrand-resting';
534
+ readonly 'color.background.boldDanger.hover': '--ds-background-boldDanger-hover';
535
+ readonly 'color.background.boldDanger.pressed': '--ds-background-boldDanger-pressed';
536
+ readonly 'color.background.boldDanger.resting': '--ds-background-boldDanger-resting';
537
+ readonly 'color.background.boldDiscovery.hover': '--ds-background-boldDiscovery-hover';
538
+ readonly 'color.background.boldDiscovery.pressed': '--ds-background-boldDiscovery-pressed';
539
+ readonly 'color.background.boldDiscovery.resting': '--ds-background-boldDiscovery-resting';
540
+ readonly 'color.background.boldNeutral.hover': '--ds-background-boldNeutral-hover';
541
+ readonly 'color.background.boldNeutral.pressed': '--ds-background-boldNeutral-pressed';
542
+ readonly 'color.background.boldNeutral.resting': '--ds-background-boldNeutral-resting';
543
+ readonly 'color.background.boldSuccess.hover': '--ds-background-boldSuccess-hover';
544
+ readonly 'color.background.boldSuccess.pressed': '--ds-background-boldSuccess-pressed';
545
+ readonly 'color.background.boldSuccess.resting': '--ds-background-boldSuccess-resting';
546
+ readonly 'color.background.boldWarning.hover': '--ds-background-boldWarning-hover';
547
+ readonly 'color.background.boldWarning.pressed': '--ds-background-boldWarning-pressed';
548
+ readonly 'color.background.boldWarning.resting': '--ds-background-boldWarning-resting';
549
+ readonly 'color.background.card': '--ds-background-card';
550
+ readonly 'color.background.default': '--ds-background-default';
551
+ readonly 'color.background.overlay': '--ds-background-overlay';
552
+ readonly 'color.background.subtleBorderedNeutral.pressed': '--ds-background-subtleBorderedNeutral-pressed';
553
+ readonly 'color.background.subtleBorderedNeutral.resting': '--ds-background-subtleBorderedNeutral-resting';
554
+ readonly 'color.background.subtleBrand.hover': '--ds-background-subtleBrand-hover';
555
+ readonly 'color.background.subtleBrand.pressed': '--ds-background-subtleBrand-pressed';
556
+ readonly 'color.background.subtleBrand.resting': '--ds-background-subtleBrand-resting';
557
+ readonly 'color.background.subtleDanger.hover': '--ds-background-subtleDanger-hover';
558
+ readonly 'color.background.subtleDanger.pressed': '--ds-background-subtleDanger-pressed';
559
+ readonly 'color.background.subtleDanger.resting': '--ds-background-subtleDanger-resting';
560
+ readonly 'color.background.subtleDiscovery.hover': '--ds-background-subtleDiscovery-hover';
561
+ readonly 'color.background.subtleDiscovery.pressed': '--ds-background-subtleDiscovery-pressed';
562
+ readonly 'color.background.subtleDiscovery.resting': '--ds-background-subtleDiscovery-resting';
563
+ readonly 'color.background.subtleNeutral.hover': '--ds-background-subtleNeutral-hover';
564
+ readonly 'color.background.subtleNeutral.pressed': '--ds-background-subtleNeutral-pressed';
565
+ readonly 'color.background.subtleNeutral.resting': '--ds-background-subtleNeutral-resting';
566
+ readonly 'color.background.subtleSuccess.hover': '--ds-background-subtleSuccess-hover';
567
+ readonly 'color.background.subtleSuccess.pressed': '--ds-background-subtleSuccess-pressed';
568
+ readonly 'color.background.subtleSuccess.resting': '--ds-background-subtleSuccess-resting';
569
+ readonly 'color.background.subtleWarning.hover': '--ds-background-subtleWarning-hover';
570
+ readonly 'color.background.subtleWarning.pressed': '--ds-background-subtleWarning-pressed';
571
+ readonly 'color.background.subtleWarning.resting': '--ds-background-subtleWarning-resting';
572
+ readonly 'color.background.sunken': '--ds-background-sunken';
573
+ readonly 'color.background.transparentNeutral.hover': '--ds-background-transparentNeutral-hover';
574
+ readonly 'color.background.transparentNeutral.pressed': '--ds-background-transparentNeutral-pressed';
575
+ readonly 'color.blanket': '--ds-blanket';
576
+ readonly 'color.blanket.selected': '--ds-blanket-selected';
577
+ readonly 'color.blanket.danger': '--ds-blanket-danger';
578
+ readonly 'color.interaction.hovered': '--ds-interaction-hovered';
579
+ readonly 'color.interaction.pressed': '--ds-interaction-pressed';
580
+ readonly 'color.interaction.inverse.hovered': '--ds-interaction-inverse-hovered';
581
+ readonly 'color.interaction.inverse.pressed': '--ds-interaction-inverse-pressed';
582
+ readonly 'color.skeleton': '--ds-skeleton';
583
+ readonly 'color.skeleton.subtle': '--ds-skeleton-subtle';
584
+ readonly 'color.link': '--ds-link';
585
+ readonly 'color.link.pressed': '--ds-link-pressed';
586
+ readonly 'color.accent.boldBlue': '--ds-accent-boldBlue';
587
+ readonly 'color.accent.boldGreen': '--ds-accent-boldGreen';
588
+ readonly 'color.accent.boldOrange': '--ds-accent-boldOrange';
589
+ readonly 'color.accent.boldPurple': '--ds-accent-boldPurple';
590
+ readonly 'color.accent.boldRed': '--ds-accent-boldRed';
591
+ readonly 'color.accent.boldTeal': '--ds-accent-boldTeal';
592
+ readonly 'color.accent.subtleBlue': '--ds-accent-subtleBlue';
593
+ readonly 'color.accent.subtleGreen': '--ds-accent-subtleGreen';
594
+ readonly 'color.accent.subtleMagenta': '--ds-accent-subtleMagenta';
595
+ readonly 'color.accent.subtleOrange': '--ds-accent-subtleOrange';
596
+ readonly 'color.accent.subtlePurple': '--ds-accent-subtlePurple';
597
+ readonly 'color.accent.subtleRed': '--ds-accent-subtleRed';
598
+ readonly 'color.accent.subtleTeal': '--ds-accent-subtleTeal';
599
+ readonly 'color.iconBorder.brand': '--ds-iconBorder-brand';
600
+ readonly 'color.iconBorder.danger': '--ds-iconBorder-danger';
601
+ readonly 'color.iconBorder.discovery': '--ds-iconBorder-discovery';
602
+ readonly 'color.iconBorder.success': '--ds-iconBorder-success';
603
+ readonly 'color.iconBorder.warning': '--ds-iconBorder-warning';
604
+ readonly 'color.overlay.hover': '--ds-overlay-hover';
605
+ readonly 'color.overlay.pressed': '--ds-overlay-pressed';
606
+ readonly 'shadow.card': '--ds-card';
607
+ readonly 'shadow.overlay': '--ds-overlay';
608
+ readonly 'elevation.shadow.raised': '--ds-shadow-raised';
609
+ readonly 'elevation.shadow.overflow': '--ds-shadow-overflow';
610
+ readonly 'elevation.shadow.overlay': '--ds-shadow-overlay';
611
+ readonly 'elevation.surface': '--ds-surface';
612
+ readonly 'elevation.surface.sunken': '--ds-surface-sunken';
613
+ readonly 'elevation.surface.raised': '--ds-surface-raised';
614
+ readonly 'elevation.surface.overlay': '--ds-surface-overlay';
615
+ readonly 'utility.UNSAFE_util.transparent': '--ds-UNSAFE_util-transparent';
616
+ readonly 'utility.UNSAFE_util.MISSING_TOKEN': '--ds-UNSAFE_util-MISSING_TOKEN';
617
+ };
618
+
619
+ /**
620
+ * A React hook which returns the current theme set on `<html>`, or `null` if not set.
621
+ *
622
+ * @example
623
+ * ```
624
+ * const theme = useThemeObserver(); // Returns 'light' or 'dark'
625
+ *
626
+ * // Performing side effects when it changes
627
+ * useEffect(() => {
628
+ * console.log(`The theme has changed to ${theme}`);
629
+ * }, [theme]);
630
+ * ```
631
+ */
632
+ export declare const useThemeObserver: () => Themes | null;
34
633
 
35
- // (No @packageDocumentation comment for this package)
36
- ```
634
+ export {};
635
+ ````