@fluentui/react-theme 9.0.0-alpha.9 → 9.0.0-beta.4

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 (309) hide show
  1. package/CHANGELOG.json +486 -1
  2. package/CHANGELOG.md +197 -2
  3. package/dist/react-theme.d.ts +367 -0
  4. package/lib/alias/dark.d.ts +3 -0
  5. package/lib/alias/dark.js +155 -0
  6. package/lib/alias/dark.js.map +1 -0
  7. package/lib/alias/highContrast.d.ts +3 -0
  8. package/lib/alias/highContrast.js +155 -0
  9. package/lib/alias/highContrast.js.map +1 -0
  10. package/lib/alias/light.d.ts +3 -0
  11. package/lib/alias/light.js +155 -0
  12. package/lib/alias/light.js.map +1 -0
  13. package/lib/alias/teamsDark.d.ts +3 -0
  14. package/lib/alias/teamsDark.js +155 -0
  15. package/lib/alias/teamsDark.js.map +1 -0
  16. package/lib/global/borderRadius.d.ts +2 -2
  17. package/lib/global/borderRadius.js +7 -7
  18. package/lib/global/borderRadius.js.map +1 -1
  19. package/lib/global/brandColors.d.ts +3 -0
  20. package/lib/global/brandColors.js +33 -0
  21. package/lib/global/brandColors.js.map +1 -0
  22. package/lib/global/colors.d.ts +14 -60
  23. package/lib/global/colors.js +823 -835
  24. package/lib/global/colors.js.map +1 -1
  25. package/lib/global/fonts.d.ts +5 -6
  26. package/lib/global/fonts.js +32 -48
  27. package/lib/global/fonts.js.map +1 -1
  28. package/lib/global/index.d.ts +0 -1
  29. package/lib/global/index.js +0 -1
  30. package/lib/global/index.js.map +1 -1
  31. package/lib/global/strokeWidths.d.ts +2 -2
  32. package/lib/global/strokeWidths.js +5 -5
  33. package/lib/global/strokeWidths.js.map +1 -1
  34. package/lib/index.d.ts +2 -4
  35. package/lib/index.js +1 -3
  36. package/lib/index.js.map +1 -1
  37. package/lib/themes/index.js.map +1 -1
  38. package/lib/themes/teams/darkTheme.d.ts +1 -1
  39. package/lib/themes/teams/darkTheme.js +3 -30
  40. package/lib/themes/teams/darkTheme.js.map +1 -1
  41. package/lib/themes/teams/highContrastTheme.d.ts +1 -1
  42. package/lib/themes/teams/highContrastTheme.js +2 -13
  43. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  44. package/lib/themes/teams/index.js.map +1 -1
  45. package/lib/themes/teams/lightTheme.d.ts +1 -1
  46. package/lib/themes/teams/lightTheme.js +3 -13
  47. package/lib/themes/teams/lightTheme.js.map +1 -1
  48. package/lib/themes/web/darkTheme.d.ts +1 -1
  49. package/lib/themes/web/darkTheme.js +3 -13
  50. package/lib/themes/web/darkTheme.js.map +1 -1
  51. package/lib/themes/web/highContrastTheme.d.ts +1 -1
  52. package/lib/themes/web/highContrastTheme.js +2 -13
  53. package/lib/themes/web/highContrastTheme.js.map +1 -1
  54. package/lib/themes/web/index.js.map +1 -1
  55. package/lib/themes/web/lightTheme.d.ts +1 -1
  56. package/lib/themes/web/lightTheme.js +3 -13
  57. package/lib/themes/web/lightTheme.js.map +1 -1
  58. package/lib/tsdoc-metadata.json +11 -0
  59. package/lib/types.d.ts +241 -164
  60. package/lib/types.js +1 -0
  61. package/lib/types.js.map +1 -1
  62. package/lib/utils/createDarkTheme.d.ts +2 -0
  63. package/lib/utils/createDarkTheme.js +18 -0
  64. package/lib/utils/createDarkTheme.js.map +1 -0
  65. package/lib/utils/createHighContrastTheme.d.ts +2 -0
  66. package/lib/utils/createHighContrastTheme.js +18 -0
  67. package/lib/utils/createHighContrastTheme.js.map +1 -0
  68. package/lib/utils/createLightTheme.d.ts +2 -0
  69. package/lib/utils/createLightTheme.js +18 -0
  70. package/lib/utils/createLightTheme.js.map +1 -0
  71. package/lib/utils/createTeamsDarkTheme.d.ts +2 -0
  72. package/lib/utils/createTeamsDarkTheme.js +18 -0
  73. package/lib/utils/createTeamsDarkTheme.js.map +1 -0
  74. package/lib/utils/index.d.ts +6 -0
  75. package/lib/utils/index.js +7 -0
  76. package/lib/utils/index.js.map +1 -0
  77. package/lib/utils/mergeThemes.d.ts +2 -8
  78. package/lib/utils/mergeThemes.js +12 -49
  79. package/lib/utils/mergeThemes.js.map +1 -1
  80. package/lib/utils/shadows.d.ts +3 -2
  81. package/lib/utils/shadows.js +9 -9
  82. package/lib/utils/shadows.js.map +1 -1
  83. package/lib/utils/themeToCSSVariables.d.ts +2 -2
  84. package/lib/utils/themeToCSSVariables.js +9 -19
  85. package/lib/utils/themeToCSSVariables.js.map +1 -1
  86. package/lib-commonjs/alias/dark.d.ts +3 -0
  87. package/lib-commonjs/alias/dark.js +165 -0
  88. package/lib-commonjs/alias/dark.js.map +1 -0
  89. package/lib-commonjs/alias/highContrast.d.ts +3 -0
  90. package/lib-commonjs/alias/highContrast.js +165 -0
  91. package/lib-commonjs/alias/highContrast.js.map +1 -0
  92. package/lib-commonjs/alias/light.d.ts +3 -0
  93. package/lib-commonjs/alias/light.js +165 -0
  94. package/lib-commonjs/alias/light.js.map +1 -0
  95. package/lib-commonjs/alias/teamsDark.d.ts +3 -0
  96. package/lib-commonjs/alias/teamsDark.js +165 -0
  97. package/lib-commonjs/alias/teamsDark.js.map +1 -0
  98. package/lib-commonjs/global/borderRadius.d.ts +2 -2
  99. package/lib-commonjs/global/borderRadius.js +11 -7
  100. package/lib-commonjs/global/borderRadius.js.map +1 -1
  101. package/lib-commonjs/global/brandColors.d.ts +3 -0
  102. package/lib-commonjs/global/brandColors.js +39 -0
  103. package/lib-commonjs/global/brandColors.js.map +1 -0
  104. package/lib-commonjs/global/colors.d.ts +14 -60
  105. package/lib-commonjs/global/colors.js +825 -833
  106. package/lib-commonjs/global/colors.js.map +1 -1
  107. package/lib-commonjs/global/fonts.d.ts +5 -6
  108. package/lib-commonjs/global/fonts.js +33 -45
  109. package/lib-commonjs/global/fonts.js.map +1 -1
  110. package/lib-commonjs/global/index.d.ts +0 -1
  111. package/lib-commonjs/global/index.js +10 -3
  112. package/lib-commonjs/global/index.js.map +1 -1
  113. package/lib-commonjs/global/strokeWidths.d.ts +2 -2
  114. package/lib-commonjs/global/strokeWidths.js +9 -5
  115. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  116. package/lib-commonjs/index.d.ts +2 -4
  117. package/lib-commonjs/index.js +9 -6
  118. package/lib-commonjs/index.js.map +1 -1
  119. package/lib-commonjs/themes/index.js +8 -2
  120. package/lib-commonjs/themes/index.js.map +1 -1
  121. package/lib-commonjs/themes/teams/darkTheme.d.ts +1 -1
  122. package/lib-commonjs/themes/teams/darkTheme.js +10 -30
  123. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  124. package/lib-commonjs/themes/teams/highContrastTheme.d.ts +1 -1
  125. package/lib-commonjs/themes/teams/highContrastTheme.js +9 -14
  126. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  127. package/lib-commonjs/themes/teams/index.js +9 -2
  128. package/lib-commonjs/themes/teams/index.js.map +1 -1
  129. package/lib-commonjs/themes/teams/lightTheme.d.ts +1 -1
  130. package/lib-commonjs/themes/teams/lightTheme.js +11 -14
  131. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  132. package/lib-commonjs/themes/web/darkTheme.d.ts +1 -1
  133. package/lib-commonjs/themes/web/darkTheme.js +11 -14
  134. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  135. package/lib-commonjs/themes/web/highContrastTheme.d.ts +1 -1
  136. package/lib-commonjs/themes/web/highContrastTheme.js +9 -14
  137. package/lib-commonjs/themes/web/highContrastTheme.js.map +1 -1
  138. package/lib-commonjs/themes/web/index.js +9 -2
  139. package/lib-commonjs/themes/web/index.js.map +1 -1
  140. package/lib-commonjs/themes/web/lightTheme.d.ts +1 -1
  141. package/lib-commonjs/themes/web/lightTheme.js +11 -14
  142. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  143. package/lib-commonjs/types.d.ts +241 -164
  144. package/lib-commonjs/types.js +4 -1
  145. package/lib-commonjs/types.js.map +1 -1
  146. package/lib-commonjs/utils/createDarkTheme.d.ts +2 -0
  147. package/lib-commonjs/utils/createDarkTheme.js +30 -0
  148. package/lib-commonjs/utils/createDarkTheme.js.map +1 -0
  149. package/lib-commonjs/utils/createHighContrastTheme.d.ts +2 -0
  150. package/lib-commonjs/utils/createHighContrastTheme.js +30 -0
  151. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -0
  152. package/lib-commonjs/utils/createLightTheme.d.ts +2 -0
  153. package/lib-commonjs/utils/createLightTheme.js +30 -0
  154. package/lib-commonjs/utils/createLightTheme.js.map +1 -0
  155. package/lib-commonjs/utils/createTeamsDarkTheme.d.ts +2 -0
  156. package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -0
  157. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -0
  158. package/lib-commonjs/utils/index.d.ts +6 -0
  159. package/lib-commonjs/utils/index.js +28 -0
  160. package/lib-commonjs/utils/index.js.map +1 -0
  161. package/lib-commonjs/utils/mergeThemes.d.ts +2 -8
  162. package/lib-commonjs/utils/mergeThemes.js +19 -51
  163. package/lib-commonjs/utils/mergeThemes.js.map +1 -1
  164. package/lib-commonjs/utils/shadows.d.ts +3 -2
  165. package/lib-commonjs/utils/shadows.js +17 -11
  166. package/lib-commonjs/utils/shadows.js.map +1 -1
  167. package/lib-commonjs/utils/themeToCSSVariables.d.ts +2 -2
  168. package/lib-commonjs/utils/themeToCSSVariables.js +16 -20
  169. package/lib-commonjs/utils/themeToCSSVariables.js.map +1 -1
  170. package/package.json +11 -8
  171. package/just.config.ts +0 -3
  172. package/lib/global/utils.d.ts +0 -23
  173. package/lib/global/utils.js +0 -27
  174. package/lib/global/utils.js.map +0 -1
  175. package/lib/themes/teams/globalTheme.d.ts +0 -22
  176. package/lib/themes/teams/globalTheme.js +0 -3
  177. package/lib/themes/teams/globalTheme.js.map +0 -1
  178. package/lib/themes/web/globalTheme.d.ts +0 -22
  179. package/lib/themes/web/globalTheme.js +0 -3
  180. package/lib/themes/web/globalTheme.js.map +0 -1
  181. package/lib/utils/dark/colors.d.ts +0 -8
  182. package/lib/utils/dark/colors.js +0 -83
  183. package/lib/utils/dark/colors.js.map +0 -1
  184. package/lib/utils/dark/index.d.ts +0 -1
  185. package/lib/utils/dark/index.js +0 -2
  186. package/lib/utils/dark/index.js.map +0 -1
  187. package/lib/utils/highContrast/colors.d.ts +0 -6
  188. package/lib/utils/highContrast/colors.js +0 -83
  189. package/lib/utils/highContrast/colors.js.map +0 -1
  190. package/lib/utils/highContrast/index.d.ts +0 -1
  191. package/lib/utils/highContrast/index.js +0 -2
  192. package/lib/utils/highContrast/index.js.map +0 -1
  193. package/lib/utils/light/colors.d.ts +0 -8
  194. package/lib/utils/light/colors.js +0 -83
  195. package/lib/utils/light/colors.js.map +0 -1
  196. package/lib/utils/light/index.d.ts +0 -1
  197. package/lib/utils/light/index.js +0 -2
  198. package/lib/utils/light/index.js.map +0 -1
  199. package/lib-amd/global/borderRadius.d.ts +0 -2
  200. package/lib-amd/global/borderRadius.js +0 -13
  201. package/lib-amd/global/borderRadius.js.map +0 -1
  202. package/lib-amd/global/colors.d.ts +0 -61
  203. package/lib-amd/global/colors.js +0 -841
  204. package/lib-amd/global/colors.js.map +0 -1
  205. package/lib-amd/global/fonts.d.ts +0 -6
  206. package/lib-amd/global/fonts.js +0 -57
  207. package/lib-amd/global/fonts.js.map +0 -1
  208. package/lib-amd/global/index.d.ts +0 -5
  209. package/lib-amd/global/index.js +0 -10
  210. package/lib-amd/global/index.js.map +0 -1
  211. package/lib-amd/global/strokeWidths.d.ts +0 -2
  212. package/lib-amd/global/strokeWidths.js +0 -11
  213. package/lib-amd/global/strokeWidths.js.map +0 -1
  214. package/lib-amd/global/utils.d.ts +0 -23
  215. package/lib-amd/global/utils.js +0 -26
  216. package/lib-amd/global/utils.js.map +0 -1
  217. package/lib-amd/index.d.ts +0 -5
  218. package/lib-amd/index.js +0 -9
  219. package/lib-amd/index.js.map +0 -1
  220. package/lib-amd/themes/index.d.ts +0 -2
  221. package/lib-amd/themes/index.js +0 -7
  222. package/lib-amd/themes/index.js.map +0 -1
  223. package/lib-amd/themes/teams/darkTheme.d.ts +0 -2
  224. package/lib-amd/themes/teams/darkTheme.js +0 -30
  225. package/lib-amd/themes/teams/darkTheme.js.map +0 -1
  226. package/lib-amd/themes/teams/globalTheme.d.ts +0 -22
  227. package/lib-amd/themes/teams/globalTheme.js +0 -6
  228. package/lib-amd/themes/teams/globalTheme.js.map +0 -1
  229. package/lib-amd/themes/teams/highContrastTheme.d.ts +0 -2
  230. package/lib-amd/themes/teams/highContrastTheme.js +0 -13
  231. package/lib-amd/themes/teams/highContrastTheme.js.map +0 -1
  232. package/lib-amd/themes/teams/index.d.ts +0 -3
  233. package/lib-amd/themes/teams/index.js +0 -8
  234. package/lib-amd/themes/teams/index.js.map +0 -1
  235. package/lib-amd/themes/teams/lightTheme.d.ts +0 -2
  236. package/lib-amd/themes/teams/lightTheme.js +0 -13
  237. package/lib-amd/themes/teams/lightTheme.js.map +0 -1
  238. package/lib-amd/themes/web/darkTheme.d.ts +0 -2
  239. package/lib-amd/themes/web/darkTheme.js +0 -13
  240. package/lib-amd/themes/web/darkTheme.js.map +0 -1
  241. package/lib-amd/themes/web/globalTheme.d.ts +0 -22
  242. package/lib-amd/themes/web/globalTheme.js +0 -6
  243. package/lib-amd/themes/web/globalTheme.js.map +0 -1
  244. package/lib-amd/themes/web/highContrastTheme.d.ts +0 -2
  245. package/lib-amd/themes/web/highContrastTheme.js +0 -13
  246. package/lib-amd/themes/web/highContrastTheme.js.map +0 -1
  247. package/lib-amd/themes/web/index.d.ts +0 -3
  248. package/lib-amd/themes/web/index.js +0 -8
  249. package/lib-amd/themes/web/index.js.map +0 -1
  250. package/lib-amd/themes/web/lightTheme.d.ts +0 -2
  251. package/lib-amd/themes/web/lightTheme.js +0 -13
  252. package/lib-amd/themes/web/lightTheme.js.map +0 -1
  253. package/lib-amd/types.d.ts +0 -290
  254. package/lib-amd/types.js +0 -5
  255. package/lib-amd/types.js.map +0 -1
  256. package/lib-amd/utils/dark/colors.d.ts +0 -8
  257. package/lib-amd/utils/dark/colors.js +0 -87
  258. package/lib-amd/utils/dark/colors.js.map +0 -1
  259. package/lib-amd/utils/dark/index.d.ts +0 -1
  260. package/lib-amd/utils/dark/index.js +0 -6
  261. package/lib-amd/utils/dark/index.js.map +0 -1
  262. package/lib-amd/utils/highContrast/colors.d.ts +0 -6
  263. package/lib-amd/utils/highContrast/colors.js +0 -87
  264. package/lib-amd/utils/highContrast/colors.js.map +0 -1
  265. package/lib-amd/utils/highContrast/index.d.ts +0 -1
  266. package/lib-amd/utils/highContrast/index.js +0 -6
  267. package/lib-amd/utils/highContrast/index.js.map +0 -1
  268. package/lib-amd/utils/light/colors.d.ts +0 -8
  269. package/lib-amd/utils/light/colors.js +0 -87
  270. package/lib-amd/utils/light/colors.js.map +0 -1
  271. package/lib-amd/utils/light/index.d.ts +0 -1
  272. package/lib-amd/utils/light/index.js +0 -6
  273. package/lib-amd/utils/light/index.js.map +0 -1
  274. package/lib-amd/utils/mergeThemes.d.ts +0 -8
  275. package/lib-amd/utils/mergeThemes.js +0 -58
  276. package/lib-amd/utils/mergeThemes.js.map +0 -1
  277. package/lib-amd/utils/shadows.d.ts +0 -2
  278. package/lib-amd/utils/shadows.js +0 -16
  279. package/lib-amd/utils/shadows.js.map +0 -1
  280. package/lib-amd/utils/themeToCSSVariables.d.ts +0 -2
  281. package/lib-amd/utils/themeToCSSVariables.js +0 -27
  282. package/lib-amd/utils/themeToCSSVariables.js.map +0 -1
  283. package/lib-commonjs/global/utils.d.ts +0 -23
  284. package/lib-commonjs/global/utils.js +0 -29
  285. package/lib-commonjs/global/utils.js.map +0 -1
  286. package/lib-commonjs/themes/teams/globalTheme.d.ts +0 -22
  287. package/lib-commonjs/themes/teams/globalTheme.js +0 -5
  288. package/lib-commonjs/themes/teams/globalTheme.js.map +0 -1
  289. package/lib-commonjs/themes/web/globalTheme.d.ts +0 -22
  290. package/lib-commonjs/themes/web/globalTheme.js +0 -5
  291. package/lib-commonjs/themes/web/globalTheme.js.map +0 -1
  292. package/lib-commonjs/utils/dark/colors.d.ts +0 -8
  293. package/lib-commonjs/utils/dark/colors.js +0 -87
  294. package/lib-commonjs/utils/dark/colors.js.map +0 -1
  295. package/lib-commonjs/utils/dark/index.d.ts +0 -1
  296. package/lib-commonjs/utils/dark/index.js +0 -5
  297. package/lib-commonjs/utils/dark/index.js.map +0 -1
  298. package/lib-commonjs/utils/highContrast/colors.d.ts +0 -6
  299. package/lib-commonjs/utils/highContrast/colors.js +0 -87
  300. package/lib-commonjs/utils/highContrast/colors.js.map +0 -1
  301. package/lib-commonjs/utils/highContrast/index.d.ts +0 -1
  302. package/lib-commonjs/utils/highContrast/index.js +0 -5
  303. package/lib-commonjs/utils/highContrast/index.js.map +0 -1
  304. package/lib-commonjs/utils/light/colors.d.ts +0 -8
  305. package/lib-commonjs/utils/light/colors.js +0 -87
  306. package/lib-commonjs/utils/light/colors.js.map +0 -1
  307. package/lib-commonjs/utils/light/index.d.ts +0 -1
  308. package/lib-commonjs/utils/light/index.js +0 -5
  309. package/lib-commonjs/utils/light/index.js.map +0 -1
package/lib/types.d.ts CHANGED
@@ -1,92 +1,193 @@
1
1
  /**
2
- * Recursive partial type.
2
+ * Design tokens for alias colors
3
3
  */
4
- declare type RecursivePartial<T> = {
5
- [P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : RecursivePartial<T[P]>;
6
- };
7
- /**
8
- * Design tokens for neutral colors
9
- */
10
- export declare type NeutralColorTokens = {
11
- neutralForeground1: string;
12
- neutralForeground2: string;
13
- neutralForeground2Hover: string;
14
- neutralForeground2Pressed: string;
15
- neutralForeground2Selected: string;
16
- brandForeground2Hover: string;
17
- brandForeground2Pressed: string;
18
- brandForeground2Selected: string;
19
- neutralForeground3: string;
20
- neutralForeground3Hover: string;
21
- neutralForeground3Pressed: string;
22
- neutralForeground3Selected: string;
23
- brandForeground3Hover: string;
24
- brandForeground3Pressed: string;
25
- brandForeground3Selected: string;
26
- neutralForeground4: string;
27
- neutralForegroundDisabled: string;
28
- brandForeground: string;
29
- brandForegroundHover: string;
30
- brandForegroundPressed: string;
31
- brandForegroundSelected: string;
32
- neutralForegroundInverted: string;
33
- neutralForegroundInvertedAccessible: string;
34
- neutralBackground1: string;
35
- neutralBackground1Hover: string;
36
- neutralBackground1Pressed: string;
37
- neutralBackground1Selected: string;
38
- neutralBackground2: string;
39
- neutralBackground2Hover: string;
40
- neutralBackground2Pressed: string;
41
- neutralBackground2Selected: string;
42
- neutralBackground3: string;
43
- neutralBackground3Hover: string;
44
- neutralBackground3Pressed: string;
45
- neutralBackground3Selected: string;
46
- neutralBackground4: string;
47
- neutralBackground4Hover: string;
48
- neutralBackground4Pressed: string;
49
- neutralBackground4Selected: string;
50
- neutralBackground5: string;
51
- neutralBackground5Hover: string;
52
- neutralBackground5Pressed: string;
53
- neutralBackground5Selected: string;
54
- neutralBackground6: string;
55
- neutralBackgroundDisabled: string;
56
- neutralStrokeAccessible: string;
57
- neutralStrokeAccessibleHover: string;
58
- neutralStrokeAccessiblePressed: string;
59
- neutralStrokeAccessibleSelected: string;
60
- neutralStroke1: string;
61
- neutralStroke1Hover: string;
62
- neutralStroke1Pressed: string;
63
- neutralStroke1Selected: string;
64
- neutralStroke2: string;
65
- neutralStroke3: string;
66
- neutralStrokeDisabled: string;
67
- strokeAccessible: string;
68
- strokeAccessibleInteractive: string;
69
- strokeAccessibleDisabled: string;
70
- neutralShadowAmbient: string;
71
- neutralShadowKey: string;
72
- neutralShadowAmbientLighter: string;
73
- neutralShadowKeyLighter: string;
74
- neutralShadowAmbientDarker: string;
75
- neutralShadowKeyDarker: string;
76
- };
77
- /**
78
- * Design tokens available for shared colors
79
- */
80
- export declare type SharedColorTokens = {
81
- background1: string;
82
- background2: string;
83
- background3: string;
84
- foreground1: string;
85
- foreground2: string;
86
- foreground3: string;
87
- borderActive: string;
88
- border2: string;
4
+ export declare type ColorTokens = {
5
+ colorNeutralForeground1: string;
6
+ colorNeutralForeground1Hover: string;
7
+ colorNeutralForeground1Pressed: string;
8
+ colorNeutralForeground1Selected: string;
9
+ colorNeutralForeground2: string;
10
+ colorNeutralForeground2Hover: string;
11
+ colorNeutralForeground2Pressed: string;
12
+ colorNeutralForeground2Selected: string;
13
+ colorNeutralForeground2BrandHover: string;
14
+ colorNeutralForeground2BrandPressed: string;
15
+ colorNeutralForeground2BrandSelected: string;
16
+ colorNeutralForeground3: string;
17
+ colorNeutralForeground3Hover: string;
18
+ colorNeutralForeground3Pressed: string;
19
+ colorNeutralForeground3Selected: string;
20
+ colorNeutralForeground3BrandHover: string;
21
+ colorNeutralForeground3BrandPressed: string;
22
+ colorNeutralForeground3BrandSelected: string;
23
+ colorNeutralForeground4: string;
24
+ colorNeutralForegroundDisabled: string;
25
+ colorNeutralForegroundInvertedDisabled: string;
26
+ colorBrandForegroundLink: string;
27
+ colorBrandForegroundLinkHover: string;
28
+ colorBrandForegroundLinkPressed: string;
29
+ colorBrandForegroundLinkSelected: string;
30
+ colorCompoundBrandForeground1: string;
31
+ colorCompoundBrandForeground1Hover: string;
32
+ colorCompoundBrandForeground1Pressed: string;
33
+ colorBrandForeground1: string;
34
+ colorBrandForeground2: string;
35
+ colorNeutralForegroundInverted: string;
36
+ colorNeutralForegroundInvertedHover: string;
37
+ colorNeutralForegroundInvertedPressed: string;
38
+ colorNeutralForegroundInvertedSelected: string;
39
+ colorNeutralForegroundOnBrand: string;
40
+ colorNeutralForegroundInvertedLink: string;
41
+ colorNeutralForegroundInvertedLinkHover: string;
42
+ colorNeutralForegroundInvertedLinkPressed: string;
43
+ colorNeutralForegroundInvertedLinkSelected: string;
44
+ colorBrandForegroundInverted: string;
45
+ colorBrandForegroundInvertedHover: string;
46
+ colorBrandForegroundInvertedPressed: string;
47
+ colorBrandForegroundOnLight: string;
48
+ colorBrandForegroundOnLightHover: string;
49
+ colorBrandForegroundOnLightPressed: string;
50
+ colorBrandForegroundOnLightSelected: string;
51
+ colorNeutralBackground1: string;
52
+ colorNeutralBackground1Hover: string;
53
+ colorNeutralBackground1Pressed: string;
54
+ colorNeutralBackground1Selected: string;
55
+ colorNeutralBackground2: string;
56
+ colorNeutralBackground2Hover: string;
57
+ colorNeutralBackground2Pressed: string;
58
+ colorNeutralBackground2Selected: string;
59
+ colorNeutralBackground3: string;
60
+ colorNeutralBackground3Hover: string;
61
+ colorNeutralBackground3Pressed: string;
62
+ colorNeutralBackground3Selected: string;
63
+ colorNeutralBackground4: string;
64
+ colorNeutralBackground4Hover: string;
65
+ colorNeutralBackground4Pressed: string;
66
+ colorNeutralBackground4Selected: string;
67
+ colorNeutralBackground5: string;
68
+ colorNeutralBackground5Hover: string;
69
+ colorNeutralBackground5Pressed: string;
70
+ colorNeutralBackground5Selected: string;
71
+ colorNeutralBackground6: string;
72
+ colorNeutralBackgroundInverted: string;
73
+ colorSubtleBackground: string;
74
+ colorSubtleBackgroundHover: string;
75
+ colorSubtleBackgroundPressed: string;
76
+ colorSubtleBackgroundSelected: string;
77
+ colorSubtleBackgroundLightAlphaHover: string;
78
+ colorSubtleBackgroundLightAlphaPressed: string;
79
+ colorSubtleBackgroundLightAlphaSelected: string;
80
+ colorSubtleBackgroundInverted: string;
81
+ colorSubtleBackgroundInvertedHover: string;
82
+ colorSubtleBackgroundInvertedPressed: string;
83
+ colorSubtleBackgroundInvertedSelected: string;
84
+ colorTransparentBackground: string;
85
+ colorTransparentBackgroundHover: string;
86
+ colorTransparentBackgroundPressed: string;
87
+ colorTransparentBackgroundSelected: string;
88
+ colorNeutralBackgroundDisabled: string;
89
+ colorNeutralBackgroundInvertedDisabled: string;
90
+ colorNeutralStencil1: string;
91
+ colorNeutralStencil2: string;
92
+ colorBrandBackground: string;
93
+ colorBrandBackgroundHover: string;
94
+ colorBrandBackgroundPressed: string;
95
+ colorBrandBackgroundSelected: string;
96
+ colorCompoundBrandBackground: string;
97
+ colorCompoundBrandBackgroundHover: string;
98
+ colorCompoundBrandBackgroundPressed: string;
99
+ colorBrandBackgroundStatic: string;
100
+ colorBrandBackground2: string;
101
+ colorBrandBackgroundInverted: string;
102
+ colorBrandBackgroundInvertedHover: string;
103
+ colorBrandBackgroundInvertedPressed: string;
104
+ colorBrandBackgroundInvertedSelected: string;
105
+ colorNeutralStrokeAccessible: string;
106
+ colorNeutralStrokeAccessibleHover: string;
107
+ colorNeutralStrokeAccessiblePressed: string;
108
+ colorNeutralStrokeAccessibleSelected: string;
109
+ colorNeutralStroke1: string;
110
+ colorNeutralStroke1Hover: string;
111
+ colorNeutralStroke1Pressed: string;
112
+ colorNeutralStroke1Selected: string;
113
+ colorNeutralStroke2: string;
114
+ colorNeutralStroke3: string;
115
+ colorNeutralStrokeOnBrand: string;
116
+ colorNeutralStrokeOnBrand2: string;
117
+ colorNeutralStrokeOnBrand2Hover: string;
118
+ colorNeutralStrokeOnBrand2Pressed: string;
119
+ colorNeutralStrokeOnBrand2Selected: string;
120
+ colorBrandStroke1: string;
121
+ colorBrandStroke2: string;
122
+ colorCompoundBrandStroke: string;
123
+ colorCompoundBrandStrokeHover: string;
124
+ colorCompoundBrandStrokePressed: string;
125
+ colorNeutralStrokeDisabled: string;
126
+ colorNeutralStrokeInvertedDisabled: string;
127
+ colorTransparentStroke: string;
128
+ colorTransparentStrokeInteractive: string;
129
+ colorTransparentStrokeDisabled: string;
130
+ colorStrokeFocus1: string;
131
+ colorStrokeFocus2: string;
132
+ colorNeutralShadowAmbient: string;
133
+ colorNeutralShadowKey: string;
134
+ colorNeutralShadowAmbientLighter: string;
135
+ colorNeutralShadowKeyLighter: string;
136
+ colorNeutralShadowAmbientDarker: string;
137
+ colorNeutralShadowKeyDarker: string;
138
+ colorBrandShadowAmbient: string;
139
+ colorBrandShadowKey: string;
89
140
  };
141
+ export declare type ColorPaletteDarkRed = 'colorPaletteDarkRedBackground1' | 'colorPaletteDarkRedBackground2' | 'colorPaletteDarkRedBackground3' | 'colorPaletteDarkRedForeground1' | 'colorPaletteDarkRedForeground2' | 'colorPaletteDarkRedForeground3' | 'colorPaletteDarkRedBorderActive' | 'colorPaletteDarkRedBorder2';
142
+ export declare type ColorPaletteBurgundy = 'colorPaletteBurgundyBackground1' | 'colorPaletteBurgundyBackground2' | 'colorPaletteBurgundyBackground3' | 'colorPaletteBurgundyForeground1' | 'colorPaletteBurgundyForeground2' | 'colorPaletteBurgundyForeground3' | 'colorPaletteBurgundyBorderActive' | 'colorPaletteBurgundyBorder2';
143
+ export declare type ColorPaletteCranberry = 'colorPaletteCranberryBackground1' | 'colorPaletteCranberryBackground2' | 'colorPaletteCranberryBackground3' | 'colorPaletteCranberryForeground1' | 'colorPaletteCranberryForeground2' | 'colorPaletteCranberryForeground3' | 'colorPaletteCranberryBorderActive' | 'colorPaletteCranberryBorder2';
144
+ export declare type ColorPaletteRed = 'colorPaletteRedBackground1' | 'colorPaletteRedBackground2' | 'colorPaletteRedBackground3' | 'colorPaletteRedForeground1' | 'colorPaletteRedForeground2' | 'colorPaletteRedForeground3' | 'colorPaletteRedBorderActive' | 'colorPaletteRedBorder2';
145
+ export declare type ColorPaletteDarkOrange = 'colorPaletteDarkOrangeBackground1' | 'colorPaletteDarkOrangeBackground2' | 'colorPaletteDarkOrangeBackground3' | 'colorPaletteDarkOrangeForeground1' | 'colorPaletteDarkOrangeForeground2' | 'colorPaletteDarkOrangeForeground3' | 'colorPaletteDarkOrangeBorderActive' | 'colorPaletteDarkOrangeBorder2';
146
+ export declare type ColorPaletteBronze = 'colorPaletteBronzeBackground1' | 'colorPaletteBronzeBackground2' | 'colorPaletteBronzeBackground3' | 'colorPaletteBronzeForeground1' | 'colorPaletteBronzeForeground2' | 'colorPaletteBronzeForeground3' | 'colorPaletteBronzeBorderActive' | 'colorPaletteBronzeBorder2';
147
+ export declare type ColorPalettePumpkin = 'colorPalettePumpkinBackground1' | 'colorPalettePumpkinBackground2' | 'colorPalettePumpkinBackground3' | 'colorPalettePumpkinForeground1' | 'colorPalettePumpkinForeground2' | 'colorPalettePumpkinForeground3' | 'colorPalettePumpkinBorderActive' | 'colorPalettePumpkinBorder2';
148
+ export declare type ColorPaletteOrange = 'colorPaletteOrangeBackground1' | 'colorPaletteOrangeBackground2' | 'colorPaletteOrangeBackground3' | 'colorPaletteOrangeForeground1' | 'colorPaletteOrangeForeground2' | 'colorPaletteOrangeForeground3' | 'colorPaletteOrangeBorderActive' | 'colorPaletteOrangeBorder2';
149
+ export declare type ColorPalettePeach = 'colorPalettePeachBackground1' | 'colorPalettePeachBackground2' | 'colorPalettePeachBackground3' | 'colorPalettePeachForeground1' | 'colorPalettePeachForeground2' | 'colorPalettePeachForeground3' | 'colorPalettePeachBorderActive' | 'colorPalettePeachBorder2';
150
+ export declare type ColorPaletteMarigold = 'colorPaletteMarigoldBackground1' | 'colorPaletteMarigoldBackground2' | 'colorPaletteMarigoldBackground3' | 'colorPaletteMarigoldForeground1' | 'colorPaletteMarigoldForeground2' | 'colorPaletteMarigoldForeground3' | 'colorPaletteMarigoldBorderActive' | 'colorPaletteMarigoldBorder2';
151
+ export declare type ColorPaletteYellow = 'colorPaletteYellowBackground1' | 'colorPaletteYellowBackground2' | 'colorPaletteYellowBackground3' | 'colorPaletteYellowForeground1' | 'colorPaletteYellowForeground2' | 'colorPaletteYellowForeground3' | 'colorPaletteYellowBorderActive' | 'colorPaletteYellowBorder2';
152
+ export declare type ColorPaletteGold = 'colorPaletteGoldBackground1' | 'colorPaletteGoldBackground2' | 'colorPaletteGoldBackground3' | 'colorPaletteGoldForeground1' | 'colorPaletteGoldForeground2' | 'colorPaletteGoldForeground3' | 'colorPaletteGoldBorderActive' | 'colorPaletteGoldBorder2';
153
+ export declare type ColorPaletteBrass = 'colorPaletteBrassBackground1' | 'colorPaletteBrassBackground2' | 'colorPaletteBrassBackground3' | 'colorPaletteBrassForeground1' | 'colorPaletteBrassForeground2' | 'colorPaletteBrassForeground3' | 'colorPaletteBrassBorderActive' | 'colorPaletteBrassBorder2';
154
+ export declare type ColorPaletteBrown = 'colorPaletteBrownBackground1' | 'colorPaletteBrownBackground2' | 'colorPaletteBrownBackground3' | 'colorPaletteBrownForeground1' | 'colorPaletteBrownForeground2' | 'colorPaletteBrownForeground3' | 'colorPaletteBrownBorderActive' | 'colorPaletteBrownBorder2';
155
+ export declare type ColorPaletteDarkBrown = 'colorPaletteDarkBrownBackground1' | 'colorPaletteDarkBrownBackground2' | 'colorPaletteDarkBrownBackground3' | 'colorPaletteDarkBrownForeground1' | 'colorPaletteDarkBrownForeground2' | 'colorPaletteDarkBrownForeground3' | 'colorPaletteDarkBrownBorderActive' | 'colorPaletteDarkBrownBorder2';
156
+ export declare type ColorPaletteLime = 'colorPaletteLimeBackground1' | 'colorPaletteLimeBackground2' | 'colorPaletteLimeBackground3' | 'colorPaletteLimeForeground1' | 'colorPaletteLimeForeground2' | 'colorPaletteLimeForeground3' | 'colorPaletteLimeBorderActive' | 'colorPaletteLimeBorder2';
157
+ export declare type ColorPaletteForest = 'colorPaletteForestBackground1' | 'colorPaletteForestBackground2' | 'colorPaletteForestBackground3' | 'colorPaletteForestForeground1' | 'colorPaletteForestForeground2' | 'colorPaletteForestForeground3' | 'colorPaletteForestBorderActive' | 'colorPaletteForestBorder2';
158
+ export declare type ColorPaletteSeafoam = 'colorPaletteSeafoamBackground1' | 'colorPaletteSeafoamBackground2' | 'colorPaletteSeafoamBackground3' | 'colorPaletteSeafoamForeground1' | 'colorPaletteSeafoamForeground2' | 'colorPaletteSeafoamForeground3' | 'colorPaletteSeafoamBorderActive' | 'colorPaletteSeafoamBorder2';
159
+ export declare type ColorPaletteLightGreen = 'colorPaletteLightGreenBackground1' | 'colorPaletteLightGreenBackground2' | 'colorPaletteLightGreenBackground3' | 'colorPaletteLightGreenForeground1' | 'colorPaletteLightGreenForeground2' | 'colorPaletteLightGreenForeground3' | 'colorPaletteLightGreenBorderActive' | 'colorPaletteLightGreenBorder2';
160
+ export declare type ColorPaletteGreen = 'colorPaletteGreenBackground1' | 'colorPaletteGreenBackground2' | 'colorPaletteGreenBackground3' | 'colorPaletteGreenForeground1' | 'colorPaletteGreenForeground2' | 'colorPaletteGreenForeground3' | 'colorPaletteGreenBorderActive' | 'colorPaletteGreenBorder2';
161
+ export declare type ColorPaletteDarkGreen = 'colorPaletteDarkGreenBackground1' | 'colorPaletteDarkGreenBackground2' | 'colorPaletteDarkGreenBackground3' | 'colorPaletteDarkGreenForeground1' | 'colorPaletteDarkGreenForeground2' | 'colorPaletteDarkGreenForeground3' | 'colorPaletteDarkGreenBorderActive' | 'colorPaletteDarkGreenBorder2';
162
+ export declare type ColorPaletteLightTeal = 'colorPaletteLightTealBackground1' | 'colorPaletteLightTealBackground2' | 'colorPaletteLightTealBackground3' | 'colorPaletteLightTealForeground1' | 'colorPaletteLightTealForeground2' | 'colorPaletteLightTealForeground3' | 'colorPaletteLightTealBorderActive' | 'colorPaletteLightTealBorder2';
163
+ export declare type ColorPaletteTeal = 'colorPaletteTealBackground1' | 'colorPaletteTealBackground2' | 'colorPaletteTealBackground3' | 'colorPaletteTealForeground1' | 'colorPaletteTealForeground2' | 'colorPaletteTealForeground3' | 'colorPaletteTealBorderActive' | 'colorPaletteTealBorder2';
164
+ export declare type ColorPaletteDarkTeal = 'colorPaletteDarkTealBackground1' | 'colorPaletteDarkTealBackground2' | 'colorPaletteDarkTealBackground3' | 'colorPaletteDarkTealForeground1' | 'colorPaletteDarkTealForeground2' | 'colorPaletteDarkTealForeground3' | 'colorPaletteDarkTealBorderActive' | 'colorPaletteDarkTealBorder2';
165
+ export declare type ColorPaletteCyan = 'colorPaletteCyanBackground1' | 'colorPaletteCyanBackground2' | 'colorPaletteCyanBackground3' | 'colorPaletteCyanForeground1' | 'colorPaletteCyanForeground2' | 'colorPaletteCyanForeground3' | 'colorPaletteCyanBorderActive' | 'colorPaletteCyanBorder2';
166
+ export declare type ColorPaletteSteel = 'colorPaletteSteelBackground1' | 'colorPaletteSteelBackground2' | 'colorPaletteSteelBackground3' | 'colorPaletteSteelForeground1' | 'colorPaletteSteelForeground2' | 'colorPaletteSteelForeground3' | 'colorPaletteSteelBorderActive' | 'colorPaletteSteelBorder2';
167
+ export declare type ColorPaletteLightBlue = 'colorPaletteLightBlueBackground1' | 'colorPaletteLightBlueBackground2' | 'colorPaletteLightBlueBackground3' | 'colorPaletteLightBlueForeground1' | 'colorPaletteLightBlueForeground2' | 'colorPaletteLightBlueForeground3' | 'colorPaletteLightBlueBorderActive' | 'colorPaletteLightBlueBorder2';
168
+ export declare type ColorPaletteBlue = 'colorPaletteBlueBackground1' | 'colorPaletteBlueBackground2' | 'colorPaletteBlueBackground3' | 'colorPaletteBlueForeground1' | 'colorPaletteBlueForeground2' | 'colorPaletteBlueForeground3' | 'colorPaletteBlueBorderActive' | 'colorPaletteBlueBorder2';
169
+ export declare type ColorPaletteRoyalBlue = 'colorPaletteRoyalBlueBackground1' | 'colorPaletteRoyalBlueBackground2' | 'colorPaletteRoyalBlueBackground3' | 'colorPaletteRoyalBlueForeground1' | 'colorPaletteRoyalBlueForeground2' | 'colorPaletteRoyalBlueForeground3' | 'colorPaletteRoyalBlueBorderActive' | 'colorPaletteRoyalBlueBorder2';
170
+ export declare type ColorPaletteDarkBlue = 'colorPaletteDarkBlueBackground1' | 'colorPaletteDarkBlueBackground2' | 'colorPaletteDarkBlueBackground3' | 'colorPaletteDarkBlueForeground1' | 'colorPaletteDarkBlueForeground2' | 'colorPaletteDarkBlueForeground3' | 'colorPaletteDarkBlueBorderActive' | 'colorPaletteDarkBlueBorder2';
171
+ export declare type ColorPaletteCornflower = 'colorPaletteCornflowerBackground1' | 'colorPaletteCornflowerBackground2' | 'colorPaletteCornflowerBackground3' | 'colorPaletteCornflowerForeground1' | 'colorPaletteCornflowerForeground2' | 'colorPaletteCornflowerForeground3' | 'colorPaletteCornflowerBorderActive' | 'colorPaletteCornflowerBorder2';
172
+ export declare type ColorPaletteNavy = 'colorPaletteNavyBackground1' | 'colorPaletteNavyBackground2' | 'colorPaletteNavyBackground3' | 'colorPaletteNavyForeground1' | 'colorPaletteNavyForeground2' | 'colorPaletteNavyForeground3' | 'colorPaletteNavyBorderActive' | 'colorPaletteNavyBorder2';
173
+ export declare type ColorPaletteLavender = 'colorPaletteLavenderBackground1' | 'colorPaletteLavenderBackground2' | 'colorPaletteLavenderBackground3' | 'colorPaletteLavenderForeground1' | 'colorPaletteLavenderForeground2' | 'colorPaletteLavenderForeground3' | 'colorPaletteLavenderBorderActive' | 'colorPaletteLavenderBorder2';
174
+ export declare type ColorPalettePurple = 'colorPalettePurpleBackground1' | 'colorPalettePurpleBackground2' | 'colorPalettePurpleBackground3' | 'colorPalettePurpleForeground1' | 'colorPalettePurpleForeground2' | 'colorPalettePurpleForeground3' | 'colorPalettePurpleBorderActive' | 'colorPalettePurpleBorder2';
175
+ export declare type ColorPaletteDarkPurple = 'colorPaletteDarkPurpleBackground1' | 'colorPaletteDarkPurpleBackground2' | 'colorPaletteDarkPurpleBackground3' | 'colorPaletteDarkPurpleForeground1' | 'colorPaletteDarkPurpleForeground2' | 'colorPaletteDarkPurpleForeground3' | 'colorPaletteDarkPurpleBorderActive' | 'colorPaletteDarkPurpleBorder2';
176
+ export declare type ColorPaletteOrchid = 'colorPaletteOrchidBackground1' | 'colorPaletteOrchidBackground2' | 'colorPaletteOrchidBackground3' | 'colorPaletteOrchidForeground1' | 'colorPaletteOrchidForeground2' | 'colorPaletteOrchidForeground3' | 'colorPaletteOrchidBorderActive' | 'colorPaletteOrchidBorder2';
177
+ export declare type ColorPaletteGrape = 'colorPaletteGrapeBackground1' | 'colorPaletteGrapeBackground2' | 'colorPaletteGrapeBackground3' | 'colorPaletteGrapeForeground1' | 'colorPaletteGrapeForeground2' | 'colorPaletteGrapeForeground3' | 'colorPaletteGrapeBorderActive' | 'colorPaletteGrapeBorder2';
178
+ export declare type ColorPaletteBerry = 'colorPaletteBerryBackground1' | 'colorPaletteBerryBackground2' | 'colorPaletteBerryBackground3' | 'colorPaletteBerryForeground1' | 'colorPaletteBerryForeground2' | 'colorPaletteBerryForeground3' | 'colorPaletteBerryBorderActive' | 'colorPaletteBerryBorder2';
179
+ export declare type ColorPaletteLilac = 'colorPaletteLilacBackground1' | 'colorPaletteLilacBackground2' | 'colorPaletteLilacBackground3' | 'colorPaletteLilacForeground1' | 'colorPaletteLilacForeground2' | 'colorPaletteLilacForeground3' | 'colorPaletteLilacBorderActive' | 'colorPaletteLilacBorder2';
180
+ export declare type ColorPalettePink = 'colorPalettePinkBackground1' | 'colorPalettePinkBackground2' | 'colorPalettePinkBackground3' | 'colorPalettePinkForeground1' | 'colorPalettePinkForeground2' | 'colorPalettePinkForeground3' | 'colorPalettePinkBorderActive' | 'colorPalettePinkBorder2';
181
+ export declare type ColorPaletteHotPink = 'colorPaletteHotPinkBackground1' | 'colorPaletteHotPinkBackground2' | 'colorPaletteHotPinkBackground3' | 'colorPaletteHotPinkForeground1' | 'colorPaletteHotPinkForeground2' | 'colorPaletteHotPinkForeground3' | 'colorPaletteHotPinkBorderActive' | 'colorPaletteHotPinkBorder2';
182
+ export declare type ColorPaletteMagenta = 'colorPaletteMagentaBackground1' | 'colorPaletteMagentaBackground2' | 'colorPaletteMagentaBackground3' | 'colorPaletteMagentaForeground1' | 'colorPaletteMagentaForeground2' | 'colorPaletteMagentaForeground3' | 'colorPaletteMagentaBorderActive' | 'colorPaletteMagentaBorder2';
183
+ export declare type ColorPalettePlum = 'colorPalettePlumBackground1' | 'colorPalettePlumBackground2' | 'colorPalettePlumBackground3' | 'colorPalettePlumForeground1' | 'colorPalettePlumForeground2' | 'colorPalettePlumForeground3' | 'colorPalettePlumBorderActive' | 'colorPalettePlumBorder2';
184
+ export declare type ColorPaletteBeige = 'colorPaletteBeigeBackground1' | 'colorPaletteBeigeBackground2' | 'colorPaletteBeigeBackground3' | 'colorPaletteBeigeForeground1' | 'colorPaletteBeigeForeground2' | 'colorPaletteBeigeForeground3' | 'colorPaletteBeigeBorderActive' | 'colorPaletteBeigeBorder2';
185
+ export declare type ColorPaletteMink = 'colorPaletteMinkBackground1' | 'colorPaletteMinkBackground2' | 'colorPaletteMinkBackground3' | 'colorPaletteMinkForeground1' | 'colorPaletteMinkForeground2' | 'colorPaletteMinkForeground3' | 'colorPaletteMinkBorderActive' | 'colorPaletteMinkBorder2';
186
+ export declare type ColorPaletteSilver = 'colorPaletteSilverBackground1' | 'colorPaletteSilverBackground2' | 'colorPaletteSilverBackground3' | 'colorPaletteSilverForeground1' | 'colorPaletteSilverForeground2' | 'colorPaletteSilverForeground3' | 'colorPaletteSilverBorderActive' | 'colorPaletteSilverBorder2';
187
+ export declare type ColorPalettePlatinum = 'colorPalettePlatinumBackground1' | 'colorPalettePlatinumBackground2' | 'colorPalettePlatinumBackground3' | 'colorPalettePlatinumForeground1' | 'colorPalettePlatinumForeground2' | 'colorPalettePlatinumForeground3' | 'colorPalettePlatinumBorderActive' | 'colorPalettePlatinumBorder2';
188
+ export declare type ColorPaletteAnchor = 'colorPaletteAnchorBackground1' | 'colorPaletteAnchorBackground2' | 'colorPaletteAnchorBackground3' | 'colorPaletteAnchorForeground1' | 'colorPaletteAnchorForeground2' | 'colorPaletteAnchorForeground3' | 'colorPaletteAnchorBorderActive' | 'colorPaletteAnchorBorder2';
189
+ export declare type ColorPaletteCharcoal = 'colorPaletteCharcoalBackground1' | 'colorPaletteCharcoalBackground2' | 'colorPaletteCharcoalBackground3' | 'colorPaletteCharcoalForeground1' | 'colorPaletteCharcoalForeground2' | 'colorPaletteCharcoalForeground3' | 'colorPaletteCharcoalBorderActive' | 'colorPaletteCharcoalBorder2';
190
+ export declare type ColorPaletteTokens = Record<ColorPaletteDarkRed | ColorPaletteBurgundy | ColorPaletteCranberry | ColorPaletteRed | ColorPaletteDarkOrange | ColorPaletteBronze | ColorPalettePumpkin | ColorPaletteOrange | ColorPalettePeach | ColorPaletteMarigold | ColorPaletteYellow | ColorPaletteGold | ColorPaletteBrass | ColorPaletteBrown | ColorPaletteDarkBrown | ColorPaletteLime | ColorPaletteForest | ColorPaletteSeafoam | ColorPaletteLightGreen | ColorPaletteGreen | ColorPaletteDarkGreen | ColorPaletteLightTeal | ColorPaletteTeal | ColorPaletteDarkTeal | ColorPaletteCyan | ColorPaletteSteel | ColorPaletteLightBlue | ColorPaletteBlue | ColorPaletteRoyalBlue | ColorPaletteDarkBlue | ColorPaletteCornflower | ColorPaletteNavy | ColorPaletteLavender | ColorPalettePurple | ColorPaletteDarkPurple | ColorPaletteOrchid | ColorPaletteGrape | ColorPaletteBerry | ColorPaletteLilac | ColorPalettePink | ColorPaletteHotPink | ColorPaletteMagenta | ColorPalettePlum | ColorPaletteBeige | ColorPaletteMink | ColorPaletteSilver | ColorPalettePlatinum | ColorPaletteAnchor | ColorPaletteCharcoal, string>;
90
191
  /**
91
192
  * Possible color variant values
92
193
  */
@@ -161,39 +262,39 @@ export declare type GlobalSharedColors = {
161
262
  anchor: ColorVariants;
162
263
  charcoal: ColorVariants;
163
264
  };
164
- /**
165
- * Brand color variants by product
166
- */
167
- export declare type ProductBrandColors = {
168
- teams: BrandVariants;
169
- web: BrandVariants;
265
+ export declare type FontSizeTokens = {
266
+ fontSizeBase100: string;
267
+ fontSizeBase200: string;
268
+ fontSizeBase300: string;
269
+ fontSizeBase400: string;
270
+ fontSizeBase500: string;
271
+ fontSizeBase600: string;
272
+ fontSizeHero700: string;
273
+ fontSizeHero800: string;
274
+ fontSizeHero900: string;
275
+ fontSizeHero1000: string;
170
276
  };
171
- export declare type FontSizes = {
172
- base: {
173
- 100: string;
174
- 200: string;
175
- 300: string;
176
- 400: string;
177
- 500: string;
178
- 600: string;
179
- };
180
- hero: {
181
- 700: string;
182
- 800: string;
183
- 900: string;
184
- 1000: string;
185
- };
277
+ export declare type LineHeightTokens = {
278
+ lineHeightBase100: string;
279
+ lineHeightBase200: string;
280
+ lineHeightBase300: string;
281
+ lineHeightBase400: string;
282
+ lineHeightBase500: string;
283
+ lineHeightBase600: string;
284
+ lineHeightHero700: string;
285
+ lineHeightHero800: string;
286
+ lineHeightHero900: string;
287
+ lineHeightHero1000: string;
186
288
  };
187
- export declare type LineHeights = FontSizes;
188
- export declare type FontWeights = {
189
- regular: number;
190
- medium: number;
191
- semibold: number;
289
+ export declare type FontWeightTokens = {
290
+ fontWeightRegular: number;
291
+ fontWeightMedium: number;
292
+ fontWeightSemibold: number;
192
293
  };
193
- export declare type FontFamilies = {
194
- base: string;
195
- monospace: string;
196
- numeric: string;
294
+ export declare type FontFamilyTokens = {
295
+ fontFamilyBase: string;
296
+ fontFamilyMonospace: string;
297
+ fontFamilyNumeric: string;
197
298
  };
198
299
  export declare type TextAlignment = 'inherit' | 'initial' | 'revert' | 'unset' | 'center' | 'end' | 'start' | 'justify' | 'left' | 'match-parent' | 'right';
199
300
  export declare type TextAlignments = {
@@ -202,24 +303,24 @@ export declare type TextAlignments = {
202
303
  end: TextAlignment;
203
304
  justify: TextAlignment;
204
305
  };
205
- export declare type BorderRadius = {
206
- none: string;
207
- small: string;
208
- medium: string;
209
- large: string;
210
- xLarge: string;
211
- circular: string;
306
+ export declare type BorderRadiusTokens = {
307
+ borderRadiusNone: string;
308
+ borderRadiusSmall: string;
309
+ borderRadiusMedium: string;
310
+ borderRadiusLarge: string;
311
+ borderRadiusXLarge: string;
312
+ borderRadiusCircular: string;
212
313
  };
213
- export declare type StrokeWidths = {
214
- thin: string;
215
- thick: string;
216
- thicker: string;
217
- thickest: string;
314
+ export declare type StrokeWidthTokens = {
315
+ strokeWidthThin: string;
316
+ strokeWidthThick: string;
317
+ strokeWidthThicker: string;
318
+ strokeWidthThickest: string;
218
319
  };
219
320
  /**
220
321
  * Design tokens for shadow levels
221
322
  */
222
- export declare type ShadowLevelTokens = {
323
+ export declare type ShadowTokens = {
223
324
  shadow2: string;
224
325
  shadow4: string;
225
326
  shadow8: string;
@@ -227,6 +328,14 @@ export declare type ShadowLevelTokens = {
227
328
  shadow28: string;
228
329
  shadow64: string;
229
330
  };
331
+ export declare type ShadowBrandTokens = {
332
+ shadow2Brand: string;
333
+ shadow4Brand: string;
334
+ shadow8Brand: string;
335
+ shadow16Brand: string;
336
+ shadow28Brand: string;
337
+ shadow64Brand: string;
338
+ };
230
339
  export declare type GhostColorTokens = {
231
340
  ghostBackground: string;
232
341
  ghostBackgroundHover: string;
@@ -253,38 +362,6 @@ export declare type BrandColorTokens = {
253
362
  brandBackgroundStatic: string;
254
363
  };
255
364
  export declare type Greys = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 62 | 64 | 66 | 68 | 70 | 72 | 74 | 76 | 78 | 80 | 82 | 84 | 86 | 88 | 90 | 92 | 94 | 96 | 98 | 100;
256
- export declare type Theme = {
257
- global: {
258
- color: {
259
- black: string;
260
- white: string;
261
- hyperlink: string;
262
- disabled: string;
263
- selected: string;
264
- };
265
- palette: GlobalSharedColors & {
266
- brand: BrandVariants;
267
- grey: Record<Greys, string>;
268
- };
269
- type: {
270
- fontSizes: FontSizes;
271
- fontWeights: FontWeights;
272
- fontFamilies: FontFamilies;
273
- lineHeights: LineHeights;
274
- alignment: TextAlignments;
275
- };
276
- borderRadius: BorderRadius;
277
- strokeWidth: StrokeWidths;
278
- };
279
- alias: {
280
- color: Record<keyof GlobalSharedColors, SharedColorTokens> & {
281
- neutral: NeutralColorTokens;
282
- subtle: BackgroundColorTokens;
283
- transparent: BackgroundColorTokens;
284
- brand: BrandColorTokens;
285
- };
286
- shadow: ShadowLevelTokens;
287
- };
288
- };
289
- export declare type PartialTheme = RecursivePartial<Theme>;
290
- export {};
365
+ export declare type AlphaColors = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
366
+ export declare type Theme = FontSizeTokens & LineHeightTokens & BorderRadiusTokens & StrokeWidthTokens & ShadowTokens & ShadowBrandTokens & FontFamilyTokens & FontWeightTokens & ColorPaletteTokens & ColorTokens;
367
+ export declare type PartialTheme = Partial<Theme>;
package/lib/types.js CHANGED
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=types.js.map
package/lib/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"../src/","sources":["types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Recursive partial type.\n */\ntype RecursivePartial<T> = {\n [P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : RecursivePartial<T[P]>;\n};\n\n/**\n * Design tokens for neutral colors\n */\nexport type NeutralColorTokens = {\n // https://www.figma.com/file/KB9oUjMKen2cKnyPG7RgdS/Design-tokens-superset?node-id=1963%3A17486\n neutralForeground1: string;\n neutralForeground2: string;\n neutralForeground2Hover: string;\n neutralForeground2Pressed: string;\n neutralForeground2Selected: string;\n brandForeground2Hover: string;\n brandForeground2Pressed: string;\n brandForeground2Selected: string;\n neutralForeground3: string;\n neutralForeground3Hover: string;\n neutralForeground3Pressed: string;\n neutralForeground3Selected: string;\n brandForeground3Hover: string;\n brandForeground3Pressed: string;\n brandForeground3Selected: string;\n neutralForeground4: string;\n neutralForegroundDisabled: string;\n brandForeground: string;\n brandForegroundHover: string;\n brandForegroundPressed: string;\n brandForegroundSelected: string;\n neutralForegroundInverted: string;\n neutralForegroundInvertedAccessible: string;\n neutralBackground1: string;\n neutralBackground1Hover: string;\n neutralBackground1Pressed: string;\n neutralBackground1Selected: string;\n neutralBackground2: string;\n neutralBackground2Hover: string;\n neutralBackground2Pressed: string;\n neutralBackground2Selected: string;\n neutralBackground3: string;\n neutralBackground3Hover: string;\n neutralBackground3Pressed: string;\n neutralBackground3Selected: string;\n neutralBackground4: string;\n neutralBackground4Hover: string;\n neutralBackground4Pressed: string;\n neutralBackground4Selected: string;\n neutralBackground5: string;\n neutralBackground5Hover: string;\n neutralBackground5Pressed: string;\n neutralBackground5Selected: string;\n neutralBackground6: string;\n neutralBackgroundDisabled: string;\n neutralStrokeAccessible: string;\n neutralStrokeAccessibleHover: string;\n neutralStrokeAccessiblePressed: string;\n neutralStrokeAccessibleSelected: string;\n neutralStroke1: string;\n neutralStroke1Hover: string;\n neutralStroke1Pressed: string;\n neutralStroke1Selected: string;\n neutralStroke2: string;\n neutralStroke3: string;\n neutralStrokeDisabled: string;\n strokeAccessible: string;\n strokeAccessibleInteractive: string;\n strokeAccessibleDisabled: string;\n neutralShadowAmbient: string;\n neutralShadowKey: string;\n neutralShadowAmbientLighter: string;\n neutralShadowKeyLighter: string;\n neutralShadowAmbientDarker: string;\n neutralShadowKeyDarker: string;\n};\n\n/**\n * Design tokens available for shared colors\n */\nexport type SharedColorTokens = {\n background1: string;\n background2: string;\n background3: string;\n foreground1: string;\n foreground2: string;\n foreground3: string;\n borderActive: string;\n border2: string;\n};\n\n/**\n * Possible color variant values\n */\nexport type ColorVariants = {\n shade50: string;\n shade40: string;\n shade30: string;\n shade20: string;\n shade10: string;\n primary: string;\n tint10: string;\n tint20: string;\n tint30: string;\n tint40: string;\n tint50: string;\n tint60: string;\n};\n\nexport type BrandVariants = ColorVariants & { shade60: string };\n\n/**\n * All the global shared colors and their shade/tint variants\n */\nexport type GlobalSharedColors = {\n darkRed: ColorVariants;\n burgundy: ColorVariants;\n cranberry: ColorVariants;\n red: ColorVariants;\n darkOrange: ColorVariants;\n bronze: ColorVariants;\n pumpkin: ColorVariants;\n orange: ColorVariants;\n peach: ColorVariants;\n marigold: ColorVariants;\n yellow: ColorVariants;\n gold: ColorVariants;\n brass: ColorVariants;\n brown: ColorVariants;\n darkBrown: ColorVariants;\n lime: ColorVariants;\n forest: ColorVariants;\n seafoam: ColorVariants;\n lightGreen: ColorVariants;\n green: ColorVariants;\n darkGreen: ColorVariants;\n lightTeal: ColorVariants;\n teal: ColorVariants;\n darkTeal: ColorVariants;\n cyan: ColorVariants;\n steel: ColorVariants;\n lightBlue: ColorVariants;\n blue: ColorVariants;\n royalBlue: ColorVariants;\n darkBlue: ColorVariants;\n cornflower: ColorVariants;\n navy: ColorVariants;\n lavender: ColorVariants;\n purple: ColorVariants;\n darkPurple: ColorVariants;\n orchid: ColorVariants;\n grape: ColorVariants;\n berry: ColorVariants;\n lilac: ColorVariants;\n pink: ColorVariants;\n hotPink: ColorVariants;\n magenta: ColorVariants;\n plum: ColorVariants;\n beige: ColorVariants;\n mink: ColorVariants;\n silver: ColorVariants;\n platinum: ColorVariants;\n anchor: ColorVariants;\n charcoal: ColorVariants;\n};\n\n/**\n * Brand color variants by product\n */\nexport type ProductBrandColors = {\n teams: BrandVariants;\n web: BrandVariants;\n};\n\nexport type FontSizes = {\n base: {\n 100: string;\n 200: string;\n 300: string;\n 400: string;\n 500: string;\n 600: string;\n };\n hero: {\n 700: string;\n 800: string;\n 900: string;\n 1000: string;\n };\n};\n\nexport type LineHeights = FontSizes;\n\nexport type FontWeights = {\n regular: number;\n medium: number;\n semibold: number;\n};\n\nexport type FontFamilies = {\n base: string;\n monospace: string;\n numeric: string;\n};\n\nexport type TextAlignment =\n | 'inherit'\n | 'initial'\n | 'revert'\n | 'unset'\n | 'center'\n | 'end'\n | 'start'\n | 'justify'\n | 'left'\n | 'match-parent'\n | 'right';\n\nexport type TextAlignments = {\n start: TextAlignment;\n center: TextAlignment;\n end: TextAlignment;\n justify: TextAlignment;\n};\n\nexport type BorderRadius = {\n none: string;\n small: string;\n medium: string;\n large: string;\n xLarge: string;\n circular: string;\n};\n\nexport type StrokeWidths = {\n thin: string;\n thick: string;\n thicker: string;\n thickest: string;\n};\n\n/**\n * Design tokens for shadow levels\n */\nexport type ShadowLevelTokens = {\n shadow2: string;\n shadow4: string;\n shadow8: string;\n shadow16: string;\n shadow28: string;\n shadow64: string;\n};\n\nexport type GhostColorTokens = {\n ghostBackground: string;\n ghostBackgroundHover: string;\n ghostBackgroundPressed: string;\n ghostBackgroundSelected: string;\n};\n\nexport type TransparentColorTokens = {\n transparentBackground: string;\n transparentBackgroundHover: string;\n transparentBackgroundPressed: string;\n transparentBackgroundSelected: string;\n};\n\nexport type BackgroundColorTokens = {\n background: string;\n backgroundHover: string;\n backgroundPressed: string;\n backgroundSelected: string;\n};\n\nexport type BrandColorTokens = {\n brandBackground: string;\n brandBackgroundHover: string;\n brandBackgroundPressed: string;\n brandBackgroundSelected: string;\n brandBackgroundStatic: string;\n // FIXME: the rest is unclear in the spec\n};\n\nexport type Greys =\n | 0\n | 2\n | 4\n | 6\n | 8\n | 10\n | 12\n | 14\n | 16\n | 18\n | 20\n | 22\n | 24\n | 26\n | 28\n | 30\n | 32\n | 34\n | 36\n | 38\n | 40\n | 42\n | 44\n | 46\n | 48\n | 50\n | 52\n | 54\n | 56\n | 58\n | 60\n | 62\n | 64\n | 66\n | 68\n | 70\n | 72\n | 74\n | 76\n | 78\n | 80\n | 82\n | 84\n | 86\n | 88\n | 90\n | 92\n | 94\n | 96\n | 98\n | 100;\n\n// TODO: do we want to split theme for better tree shaking? (MUI)\n// But will this end up in the bundle at all? It should be used only in makeStyles and should be removed during build\nexport type Theme = {\n global: {\n // TODO: this means \"static\", will not change with light/dark/contrast switch. better named static?\n // TODO: Shift: we should move global away from theme, this is not themable\n // ThemeProvider should not inject these css variables?\n color: {\n black: string;\n white: string;\n hyperlink: string;\n disabled: string;\n selected: string;\n };\n palette: GlobalSharedColors & {\n brand: BrandVariants; // Only the Theme brand, not all\n grey: Record<Greys, string>;\n };\n type: {\n fontSizes: FontSizes;\n fontWeights: FontWeights;\n fontFamilies: FontFamilies;\n lineHeights: LineHeights;\n alignment: TextAlignments;\n };\n borderRadius: BorderRadius;\n strokeWidth: StrokeWidths;\n };\n alias: {\n color: Record<keyof GlobalSharedColors, SharedColorTokens> & {\n neutral: NeutralColorTokens;\n subtle: BackgroundColorTokens;\n transparent: BackgroundColorTokens;\n brand: BrandColorTokens;\n };\n shadow: ShadowLevelTokens;\n };\n};\n\n// TODO: fix shape\nexport type PartialTheme = RecursivePartial<Theme>;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import type { BrandVariants, Theme } from '../types';
2
+ export declare const createDarkTheme: (brand: BrandVariants) => Theme;
@@ -0,0 +1,18 @@
1
+ import { colorPaletteTokens, generateColorTokens } from '../alias/dark';
2
+ import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
3
+ import { createShadowTokens } from './shadows';
4
+ export const createDarkTheme = brand => {
5
+ const colorTokens = generateColorTokens(brand);
6
+ return { ...borderRadius,
7
+ ...fontSizes,
8
+ ...lineHeights,
9
+ ...fontFamilies,
10
+ ...fontWeights,
11
+ ...strokeWidths,
12
+ ...colorTokens,
13
+ ...colorPaletteTokens,
14
+ ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
15
+ ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
16
+ };
17
+ };
18
+ //# sourceMappingURL=createDarkTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/createDarkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,eAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,eAAe,GAAoC,KAAK,IAAG;AACtE,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ import type { Theme } from '../types';
2
+ export declare const createHighContrastTheme: () => Theme;
@@ -0,0 +1,18 @@
1
+ import { colorPaletteTokens, generateColorTokens } from '../alias/highContrast';
2
+ import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
3
+ import { createShadowTokens } from './shadows';
4
+ export const createHighContrastTheme = () => {
5
+ const colorTokens = generateColorTokens();
6
+ return { ...borderRadius,
7
+ ...fontSizes,
8
+ ...lineHeights,
9
+ ...fontFamilies,
10
+ ...fontWeights,
11
+ ...strokeWidths,
12
+ ...colorTokens,
13
+ ...colorPaletteTokens,
14
+ ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
15
+ ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
16
+ };
17
+ };
18
+ //# sourceMappingURL=createHighContrastTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/createHighContrastTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,uBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,uBAAuB,GAAG,MAAY;AACjD,QAAM,WAAW,GAAG,mBAAmB,EAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ import type { BrandVariants, Theme } from '../types';
2
+ export declare const createLightTheme: (brand: BrandVariants) => Theme;
@@ -0,0 +1,18 @@
1
+ import { colorPaletteTokens, generateColorTokens } from '../alias/light';
2
+ import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
3
+ import { createShadowTokens } from './shadows';
4
+ export const createLightTheme = brand => {
5
+ const colorTokens = generateColorTokens(brand);
6
+ return { ...borderRadius,
7
+ ...fontSizes,
8
+ ...lineHeights,
9
+ ...fontFamilies,
10
+ ...fontWeights,
11
+ ...strokeWidths,
12
+ ...colorTokens,
13
+ ...colorPaletteTokens,
14
+ ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
15
+ ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
16
+ };
17
+ };
18
+ //# sourceMappingURL=createLightTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/createLightTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,gBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,gBAAgB,GAAoC,KAAK,IAAG;AACvE,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ import type { BrandVariants, Theme } from '../types';
2
+ export declare const createTeamsDarkTheme: (brand: BrandVariants) => Theme;
@@ -0,0 +1,18 @@
1
+ import { colorPaletteTokens, generateColorTokens } from '../alias/teamsDark';
2
+ import { borderRadius, fontSizes, lineHeights, fontFamilies, strokeWidths, fontWeights } from '../global/index';
3
+ import { createShadowTokens } from './shadows';
4
+ export const createTeamsDarkTheme = brand => {
5
+ const colorTokens = generateColorTokens(brand);
6
+ return { ...borderRadius,
7
+ ...fontSizes,
8
+ ...lineHeights,
9
+ ...fontFamilies,
10
+ ...fontWeights,
11
+ ...strokeWidths,
12
+ ...colorTokens,
13
+ ...colorPaletteTokens,
14
+ ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey),
15
+ ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, 'Brand')
16
+ };
17
+ };
18
+ //# sourceMappingURL=createTeamsDarkTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/createTeamsDarkTheme.ts"],"names":[],"mappings":"AAAA,SAAS,kBAAT,EAA6B,mBAA7B,QAAwD,oBAAxD;AACA,SAAS,YAAT,EAAuB,SAAvB,EAAkC,WAAlC,EAA+C,YAA/C,EAA6D,YAA7D,EAA2E,WAA3E,QAA8F,iBAA9F;AACA,SAAS,kBAAT,QAAmC,WAAnC;AAGA,OAAO,MAAM,oBAAoB,GAAoC,KAAK,IAAG;AAC3E,QAAM,WAAW,GAAG,mBAAmB,CAAC,KAAD,CAAvC;AAEA,SAAO,EACL,GAAG,YADE;AAEL,OAAG,SAFE;AAGL,OAAG,WAHE;AAIL,OAAG,YAJE;AAKL,OAAG,WALE;AAML,OAAG,YANE;AAQL,OAAG,WARE;AASL,OAAG,kBATE;AAWL,OAAG,kBAAkB,CAAC,WAAW,CAAC,yBAAb,EAAwC,WAAW,CAAC,qBAApD,CAXhB;AAYL,OAAG,kBAAkB,CAAC,WAAW,CAAC,uBAAb,EAAsC,WAAW,CAAC,mBAAlD,EAAuE,OAAvE;AAZhB,GAAP;AAcD,CAjBM","sourceRoot":""}
@@ -0,0 +1,6 @@
1
+ export * from './createLightTheme';
2
+ export * from './createDarkTheme';
3
+ export * from './createTeamsDarkTheme';
4
+ export * from './createHighContrastTheme';
5
+ export { mergeThemes } from './mergeThemes';
6
+ export * from './themeToCSSVariables';
@@ -0,0 +1,7 @@
1
+ export * from './createLightTheme';
2
+ export * from './createDarkTheme';
3
+ export * from './createTeamsDarkTheme';
4
+ export * from './createHighContrastTheme';
5
+ export { mergeThemes } from './mergeThemes';
6
+ export * from './themeToCSSVariables';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}