@webpros/mui-theme 0.1.2 → 0.1.3

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 (323) hide show
  1. package/dist/src/components/data-display/Avatar/Avatar.d.ts +3 -0
  2. package/dist/src/components/data-display/Avatar/Avatar.js +4 -0
  3. package/dist/src/components/data-display/Avatar/Avatar.theme.d.ts +12 -0
  4. package/dist/src/components/data-display/Avatar/Avatar.theme.js +20 -0
  5. package/dist/src/components/data-display/Avatar/index.d.ts +1 -0
  6. package/dist/src/components/data-display/Avatar/index.js +2 -0
  7. package/dist/src/components/data-display/Badge/Badge.d.ts +3 -0
  8. package/dist/src/components/data-display/Badge/Badge.js +4 -0
  9. package/dist/src/components/data-display/Badge/Badge.theme.d.ts +24 -0
  10. package/dist/src/components/data-display/Badge/Badge.theme.js +131 -0
  11. package/dist/src/components/data-display/Badge/index.d.ts +1 -0
  12. package/dist/src/components/data-display/Badge/index.js +2 -0
  13. package/dist/src/components/data-display/Chip/Chip.d.ts +3 -0
  14. package/dist/src/components/data-display/Chip/Chip.js +4 -0
  15. package/dist/src/components/data-display/Chip/Chip.theme.d.ts +19 -0
  16. package/dist/src/components/data-display/Chip/Chip.theme.js +503 -0
  17. package/dist/src/components/data-display/Chip/components/ChipDeleteIcon.d.ts +1 -0
  18. package/dist/src/components/data-display/Chip/components/ChipDeleteIcon.js +4 -0
  19. package/dist/src/components/data-display/Chip/index.d.ts +1 -0
  20. package/dist/src/components/data-display/Chip/index.js +2 -0
  21. package/dist/src/components/data-display/DataGrid/DataGrid.d.ts +4 -0
  22. package/dist/src/components/data-display/DataGrid/DataGrid.js +7 -0
  23. package/dist/src/components/data-display/DataGrid/DataGrid.theme.d.ts +11 -0
  24. package/dist/src/components/data-display/DataGrid/DataGrid.theme.js +21 -0
  25. package/dist/src/components/data-display/DataGrid/index.d.ts +1 -0
  26. package/dist/src/components/data-display/DataGrid/index.js +2 -0
  27. package/dist/src/components/data-display/DataGrid/mock-data.d.ts +18 -0
  28. package/dist/src/components/data-display/DataGrid/mock-data.js +184 -0
  29. package/dist/src/components/data-display/Divider/Divider.d.ts +3 -0
  30. package/dist/src/components/data-display/Divider/Divider.js +4 -0
  31. package/dist/src/components/data-display/Divider/Divider.theme.d.ts +11 -0
  32. package/dist/src/components/data-display/Divider/Divider.theme.js +19 -0
  33. package/dist/src/components/data-display/Divider/index.d.ts +1 -0
  34. package/dist/src/components/data-display/Divider/index.js +2 -0
  35. package/dist/src/components/data-display/List/List.d.ts +3 -0
  36. package/dist/src/components/data-display/List/List.js +4 -0
  37. package/dist/src/components/data-display/List/List.theme.d.ts +11 -0
  38. package/dist/src/components/data-display/List/List.theme.js +5 -0
  39. package/dist/src/components/data-display/List/index.d.ts +1 -0
  40. package/dist/src/components/data-display/List/index.js +2 -0
  41. package/dist/src/components/data-display/ListItem/ListItem.d.ts +3 -0
  42. package/dist/src/components/data-display/ListItem/ListItem.js +4 -0
  43. package/dist/src/components/data-display/ListItem/ListItem.theme.d.ts +11 -0
  44. package/dist/src/components/data-display/ListItem/ListItem.theme.js +13 -0
  45. package/dist/src/components/data-display/ListItem/index.d.ts +1 -0
  46. package/dist/src/components/data-display/ListItem/index.js +2 -0
  47. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.d.ts +4 -0
  48. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.js +4 -0
  49. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.d.ts +11 -0
  50. package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.js +11 -0
  51. package/dist/src/components/data-display/ListItemAvatar/index.d.ts +1 -0
  52. package/dist/src/components/data-display/ListItemAvatar/index.js +2 -0
  53. package/dist/src/components/data-display/ListItemButton/ListItemButton.d.ts +3 -0
  54. package/dist/src/components/data-display/ListItemButton/ListItemButton.js +4 -0
  55. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.d.ts +16 -0
  56. package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.js +68 -0
  57. package/dist/src/components/data-display/ListItemButton/index.d.ts +1 -0
  58. package/dist/src/components/data-display/ListItemButton/index.js +2 -0
  59. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.d.ts +4 -0
  60. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.js +4 -0
  61. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.d.ts +11 -0
  62. package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.js +14 -0
  63. package/dist/src/components/data-display/ListItemIcon/index.d.ts +1 -0
  64. package/dist/src/components/data-display/ListItemIcon/index.js +2 -0
  65. package/dist/src/components/data-display/ListSubheader/ListSubheader.d.ts +3 -0
  66. package/dist/src/components/data-display/ListSubheader/ListSubheader.js +4 -0
  67. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.d.ts +11 -0
  68. package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.js +15 -0
  69. package/dist/src/components/data-display/ListSubheader/index.d.ts +1 -0
  70. package/dist/src/components/data-display/ListSubheader/index.js +2 -0
  71. package/dist/src/components/data-display/Table/Table.d.ts +4 -0
  72. package/dist/src/components/data-display/Table/Table.js +4 -0
  73. package/dist/src/components/data-display/Table/Table.theme.d.ts +25 -0
  74. package/dist/src/components/data-display/Table/Table.theme.js +41 -0
  75. package/dist/src/components/data-display/Table/index.d.ts +1 -0
  76. package/dist/src/components/data-display/Table/index.js +2 -0
  77. package/dist/src/components/data-display/Table/mock-data.d.ts +17 -0
  78. package/dist/src/components/data-display/Table/mock-data.js +198 -0
  79. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +4 -0
  80. package/dist/src/components/data-display/Tooltip/Tooltip.js +4 -0
  81. package/dist/src/components/data-display/Tooltip/Tooltip.theme.d.ts +11 -0
  82. package/dist/src/components/data-display/Tooltip/Tooltip.theme.js +21 -0
  83. package/dist/src/components/data-display/Tooltip/index.d.ts +1 -0
  84. package/dist/src/components/data-display/Tooltip/index.js +2 -0
  85. package/dist/src/components/data-display/Typography/Typography.d.ts +3 -0
  86. package/dist/src/components/data-display/Typography/Typography.js +4 -0
  87. package/dist/src/components/data-display/Typography/Typography.theme.d.ts +36 -0
  88. package/dist/src/components/data-display/Typography/Typography.theme.js +169 -0
  89. package/dist/src/components/data-display/Typography/index.d.ts +1 -0
  90. package/dist/src/components/data-display/Typography/index.js +2 -0
  91. package/dist/src/components/feedback/Alert/Alert.d.ts +4 -0
  92. package/dist/src/components/feedback/Alert/Alert.js +4 -0
  93. package/dist/src/components/feedback/Alert/Alert.theme.d.ts +11 -0
  94. package/dist/src/components/feedback/Alert/Alert.theme.js +60 -0
  95. package/dist/src/components/feedback/Alert/index.d.ts +1 -0
  96. package/dist/src/components/feedback/Alert/index.js +2 -0
  97. package/dist/src/components/feedback/CircularProgress/CircularProgress.d.ts +4 -0
  98. package/dist/src/components/feedback/CircularProgress/CircularProgress.js +4 -0
  99. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.d.ts +10 -0
  100. package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.js +11 -0
  101. package/dist/src/components/feedback/CircularProgress/index.d.ts +1 -0
  102. package/dist/src/components/feedback/CircularProgress/index.js +2 -0
  103. package/dist/src/components/feedback/Dialog/Dialog.d.ts +4 -0
  104. package/dist/src/components/feedback/Dialog/Dialog.js +5 -0
  105. package/dist/src/components/feedback/Dialog/Dialog.theme.d.ts +30 -0
  106. package/dist/src/components/feedback/Dialog/Dialog.theme.js +67 -0
  107. package/dist/src/components/feedback/Dialog/index.d.ts +1 -0
  108. package/dist/src/components/feedback/Dialog/index.js +2 -0
  109. package/dist/src/components/feedback/LinearProgress/LinearProgress.d.ts +4 -0
  110. package/dist/src/components/feedback/LinearProgress/LinearProgress.js +4 -0
  111. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.d.ts +10 -0
  112. package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.js +13 -0
  113. package/dist/src/components/feedback/LinearProgress/index.d.ts +1 -0
  114. package/dist/src/components/feedback/LinearProgress/index.js +2 -0
  115. package/dist/src/components/feedback/Snackbar/Snackbar.d.ts +4 -0
  116. package/dist/src/components/feedback/Snackbar/Snackbar.js +4 -0
  117. package/dist/src/components/feedback/Snackbar/Snackbar.theme.d.ts +10 -0
  118. package/dist/src/components/feedback/Snackbar/Snackbar.theme.js +13 -0
  119. package/dist/src/components/feedback/Snackbar/index.d.ts +1 -0
  120. package/dist/src/components/feedback/Snackbar/index.js +2 -0
  121. package/dist/src/components/index.d.ts +43 -0
  122. package/dist/src/components/index.js +44 -0
  123. package/dist/src/components/inputs/Autocomplete/Autocomplete.d.ts +4 -0
  124. package/dist/src/components/inputs/Autocomplete/Autocomplete.js +4 -0
  125. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.d.ts +10 -0
  126. package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.js +67 -0
  127. package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.d.ts +1 -0
  128. package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.js +4 -0
  129. package/dist/src/components/inputs/Autocomplete/index.d.ts +1 -0
  130. package/dist/src/components/inputs/Autocomplete/index.js +2 -0
  131. package/dist/src/components/inputs/Button/Button.d.ts +3 -0
  132. package/dist/src/components/inputs/Button/Button.js +4 -0
  133. package/dist/src/components/inputs/Button/Button.theme.d.ts +26 -0
  134. package/dist/src/components/inputs/Button/Button.theme.js +243 -0
  135. package/dist/src/components/inputs/Button/index.d.ts +1 -0
  136. package/dist/src/components/inputs/Button/index.js +2 -0
  137. package/dist/src/components/inputs/Checkbox/Checkbox.d.ts +4 -0
  138. package/dist/src/components/inputs/Checkbox/Checkbox.js +4 -0
  139. package/dist/src/components/inputs/Checkbox/Checkbox.theme.d.ts +10 -0
  140. package/dist/src/components/inputs/Checkbox/Checkbox.theme.js +20 -0
  141. package/dist/src/components/inputs/Checkbox/index.d.ts +1 -0
  142. package/dist/src/components/inputs/Checkbox/index.js +2 -0
  143. package/dist/src/components/inputs/Fab/Fab.d.ts +3 -0
  144. package/dist/src/components/inputs/Fab/Fab.js +4 -0
  145. package/dist/src/components/inputs/Fab/Fab.theme.d.ts +25 -0
  146. package/dist/src/components/inputs/Fab/Fab.theme.js +135 -0
  147. package/dist/src/components/inputs/Fab/index.d.ts +1 -0
  148. package/dist/src/components/inputs/Fab/index.js +2 -0
  149. package/dist/src/components/inputs/IconButton/IconButton.d.ts +3 -0
  150. package/dist/src/components/inputs/IconButton/IconButton.js +4 -0
  151. package/dist/src/components/inputs/IconButton/IconButton.theme.d.ts +19 -0
  152. package/dist/src/components/inputs/IconButton/IconButton.theme.js +116 -0
  153. package/dist/src/components/inputs/IconButton/index.d.ts +1 -0
  154. package/dist/src/components/inputs/IconButton/index.js +2 -0
  155. package/dist/src/components/inputs/InputBase/InputBase.theme.d.ts +30 -0
  156. package/dist/src/components/inputs/InputBase/InputBase.theme.js +70 -0
  157. package/dist/src/components/inputs/InputBase/index.d.ts +1 -0
  158. package/dist/src/components/inputs/InputBase/index.js +2 -0
  159. package/dist/src/components/inputs/InputLabel/InputLabel.d.ts +2 -0
  160. package/dist/src/components/inputs/InputLabel/InputLabel.js +3 -0
  161. package/dist/src/components/inputs/InputLabel/InputLabel.theme.d.ts +9 -0
  162. package/dist/src/components/inputs/InputLabel/InputLabel.theme.js +20 -0
  163. package/dist/src/components/inputs/InputLabel/index.d.ts +1 -0
  164. package/dist/src/components/inputs/InputLabel/index.js +2 -0
  165. package/dist/src/components/inputs/Select/Select.d.ts +4 -0
  166. package/dist/src/components/inputs/Select/Select.js +3 -0
  167. package/dist/src/components/inputs/Select/Select.theme.d.ts +9 -0
  168. package/dist/src/components/inputs/Select/Select.theme.js +46 -0
  169. package/dist/src/components/inputs/Select/index.d.ts +1 -0
  170. package/dist/src/components/inputs/Select/index.js +2 -0
  171. package/dist/src/components/inputs/Switch/Switch.d.ts +4 -0
  172. package/dist/src/components/inputs/Switch/Switch.js +4 -0
  173. package/dist/src/components/inputs/Switch/Switch.theme.d.ts +11 -0
  174. package/dist/src/components/inputs/Switch/Switch.theme.js +97 -0
  175. package/dist/src/components/inputs/Switch/index.d.ts +1 -0
  176. package/dist/src/components/inputs/Switch/index.js +2 -0
  177. package/dist/src/components/inputs/TextField/TextField.d.ts +4 -0
  178. package/dist/src/components/inputs/TextField/TextField.js +4 -0
  179. package/dist/src/components/inputs/TextField/TextField.theme.d.ts +14 -0
  180. package/dist/src/components/inputs/TextField/TextField.theme.js +32 -0
  181. package/dist/src/components/inputs/TextField/index.d.ts +1 -0
  182. package/dist/src/components/inputs/TextField/index.js +2 -0
  183. package/dist/src/components/inputs/TimePicker/TimePicker.theme.d.ts +8 -0
  184. package/dist/src/components/inputs/TimePicker/TimePicker.theme.js +23 -0
  185. package/dist/src/components/inputs/TimePicker/index.d.ts +1 -0
  186. package/dist/src/components/inputs/TimePicker/index.js +2 -0
  187. package/dist/src/components/inputs/ToggleButton/ToggleButton.d.ts +3 -0
  188. package/dist/src/components/inputs/ToggleButton/ToggleButton.js +4 -0
  189. package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.d.ts +11 -0
  190. package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.js +26 -0
  191. package/dist/src/components/inputs/ToggleButton/index.d.ts +1 -0
  192. package/dist/src/components/inputs/ToggleButton/index.js +2 -0
  193. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -0
  194. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.js +4 -0
  195. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.theme.d.ts +11 -0
  196. package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.theme.js +25 -0
  197. package/dist/src/components/inputs/ToggleButtonGroup/index.d.ts +1 -0
  198. package/dist/src/components/inputs/ToggleButtonGroup/index.js +2 -0
  199. package/dist/src/components/navigation/Drawer/Drawer.d.ts +4 -0
  200. package/dist/src/components/navigation/Drawer/Drawer.js +4 -0
  201. package/dist/src/components/navigation/Drawer/Drawer.theme.d.ts +10 -0
  202. package/dist/src/components/navigation/Drawer/Drawer.theme.js +15 -0
  203. package/dist/src/components/navigation/Drawer/index.d.ts +1 -0
  204. package/dist/src/components/navigation/Drawer/index.js +2 -0
  205. package/dist/src/components/navigation/Link/Link.d.ts +3 -0
  206. package/dist/src/components/navigation/Link/Link.js +4 -0
  207. package/dist/src/components/navigation/Link/Link.theme.d.ts +11 -0
  208. package/dist/src/components/navigation/Link/Link.theme.js +42 -0
  209. package/dist/src/components/navigation/Link/index.d.ts +1 -0
  210. package/dist/src/components/navigation/Link/index.js +3 -0
  211. package/dist/src/components/navigation/Menu/Menu.d.ts +4 -0
  212. package/dist/src/components/navigation/Menu/Menu.js +4 -0
  213. package/dist/src/components/navigation/Menu/Menu.theme.d.ts +10 -0
  214. package/dist/src/components/navigation/Menu/Menu.theme.js +19 -0
  215. package/dist/src/components/navigation/Menu/index.d.ts +1 -0
  216. package/dist/src/components/navigation/Menu/index.js +2 -0
  217. package/dist/src/components/navigation/MenuItem/MenuItem.d.ts +3 -0
  218. package/dist/src/components/navigation/MenuItem/MenuItem.js +4 -0
  219. package/dist/src/components/navigation/MenuItem/MenuItem.theme.d.ts +10 -0
  220. package/dist/src/components/navigation/MenuItem/MenuItem.theme.js +22 -0
  221. package/dist/src/components/navigation/MenuItem/index.d.ts +1 -0
  222. package/dist/src/components/navigation/MenuItem/index.js +2 -0
  223. package/dist/src/components/navigation/Pagination/Pagination.d.ts +4 -0
  224. package/dist/src/components/navigation/Pagination/Pagination.js +4 -0
  225. package/dist/src/components/navigation/Pagination/Pagination.theme.d.ts +11 -0
  226. package/dist/src/components/navigation/Pagination/Pagination.theme.js +8 -0
  227. package/dist/src/components/navigation/Pagination/index.d.ts +1 -0
  228. package/dist/src/components/navigation/Pagination/index.js +2 -0
  229. package/dist/src/components/navigation/PaginationItem/PaginationItem.d.ts +3 -0
  230. package/dist/src/components/navigation/PaginationItem/PaginationItem.js +4 -0
  231. package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.d.ts +11 -0
  232. package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.js +27 -0
  233. package/dist/src/components/navigation/PaginationItem/index.d.ts +1 -0
  234. package/dist/src/components/navigation/PaginationItem/index.js +2 -0
  235. package/dist/src/components/navigation/Tab/Tab.d.ts +3 -0
  236. package/dist/src/components/navigation/Tab/Tab.js +4 -0
  237. package/dist/src/components/navigation/Tab/Tab.theme.d.ts +10 -0
  238. package/dist/src/components/navigation/Tab/Tab.theme.js +18 -0
  239. package/dist/src/components/navigation/Tab/index.d.ts +1 -0
  240. package/dist/src/components/navigation/Tab/index.js +2 -0
  241. package/dist/src/components/navigation/TabList/TabList.d.ts +3 -0
  242. package/dist/src/components/navigation/TabList/TabList.js +4 -0
  243. package/dist/src/components/navigation/TabList/TabList.theme.d.ts +10 -0
  244. package/dist/src/components/navigation/TabList/TabList.theme.js +17 -0
  245. package/dist/src/components/navigation/TabList/index.d.ts +1 -0
  246. package/dist/src/components/navigation/TabList/index.js +2 -0
  247. package/dist/src/components/surfaces/Accordion/Accordion.d.ts +3 -0
  248. package/dist/src/components/surfaces/Accordion/Accordion.js +4 -0
  249. package/dist/src/components/surfaces/Accordion/Accordion.theme.d.ts +11 -0
  250. package/dist/src/components/surfaces/Accordion/Accordion.theme.js +43 -0
  251. package/dist/src/components/surfaces/Accordion/index.d.ts +1 -0
  252. package/dist/src/components/surfaces/Accordion/index.js +2 -0
  253. package/dist/src/components/surfaces/AppBar/AppBar.d.ts +3 -0
  254. package/dist/src/components/surfaces/AppBar/AppBar.js +4 -0
  255. package/dist/src/components/surfaces/AppBar/AppBar.theme.d.ts +11 -0
  256. package/dist/src/components/surfaces/AppBar/AppBar.theme.js +22 -0
  257. package/dist/src/components/surfaces/AppBar/index.d.ts +1 -0
  258. package/dist/src/components/surfaces/AppBar/index.js +2 -0
  259. package/dist/src/components/surfaces/Card/Card.d.ts +3 -0
  260. package/dist/src/components/surfaces/Card/Card.js +4 -0
  261. package/dist/src/components/surfaces/Card/Card.theme.d.ts +16 -0
  262. package/dist/src/components/surfaces/Card/Card.theme.js +100 -0
  263. package/dist/src/components/surfaces/Card/index.d.ts +1 -0
  264. package/dist/src/components/surfaces/Card/index.js +2 -0
  265. package/dist/src/components/surfaces/Paper/Paper.d.ts +3 -0
  266. package/dist/src/components/surfaces/Paper/Paper.js +4 -0
  267. package/dist/src/components/surfaces/Paper/Paper.theme.d.ts +9 -0
  268. package/dist/src/components/surfaces/Paper/Paper.theme.js +14 -0
  269. package/dist/src/components/surfaces/Paper/index.d.ts +1 -0
  270. package/dist/src/components/surfaces/Paper/index.js +2 -0
  271. package/dist/src/components/utils/CssBaseline/CssBaseline.d.ts +4 -0
  272. package/dist/src/components/utils/CssBaseline/CssBaseline.js +4 -0
  273. package/dist/src/components/utils/CssBaseline/CssBaseline.theme.d.ts +11 -0
  274. package/dist/src/components/utils/CssBaseline/CssBaseline.theme.js +8 -0
  275. package/dist/src/components/utils/CssBaseline/index.d.ts +1 -0
  276. package/dist/src/components/utils/CssBaseline/index.js +2 -0
  277. package/dist/src/hooks/useThemeMode.d.ts +3 -0
  278. package/dist/src/hooks/useThemeMode.js +20 -0
  279. package/dist/src/hooks/useTonalPalette.d.ts +3 -0
  280. package/dist/src/hooks/useTonalPalette.js +32 -0
  281. package/dist/src/index.d.ts +5 -0
  282. package/dist/src/index.js +7 -0
  283. package/dist/src/providers/ThemeModeProvider.d.ts +13 -0
  284. package/dist/src/providers/ThemeModeProvider.js +16 -0
  285. package/dist/src/providers/ThemeSchemeProvider.d.ts +12 -0
  286. package/dist/src/providers/ThemeSchemeProvider.js +29 -0
  287. package/dist/src/providers/WebProsMuiThemeProvider.d.ts +9 -0
  288. package/dist/src/providers/WebProsMuiThemeProvider.js +5 -0
  289. package/dist/src/providers/WebProsTheme.d.ts +9 -0
  290. package/dist/src/providers/WebProsTheme.js +25 -0
  291. package/dist/src/style/additional-color-palette.d.ts +3 -0
  292. package/dist/src/style/additional-color-palette.js +26 -0
  293. package/dist/src/style/custom-color-palette.d.ts +3 -0
  294. package/dist/src/style/custom-color-palette.js +75 -0
  295. package/dist/src/tokens/ThemeColorTokens.d.ts +96 -0
  296. package/dist/src/tokens/ThemeColorTokens.js +172 -0
  297. package/dist/src/tokens/ThemeMode.d.ts +1 -0
  298. package/dist/src/tokens/ThemeMode.js +1 -0
  299. package/dist/src/tokens/ThemeScheme.d.ts +12 -0
  300. package/dist/src/tokens/ThemeScheme.js +8 -0
  301. package/dist/src/tokens/TonalPalette.d.ts +10 -0
  302. package/dist/src/tokens/TonalPalette.js +10 -0
  303. package/dist/src/tokens/Tone.d.ts +174 -0
  304. package/dist/src/tokens/Tone.js +157 -0
  305. package/dist/src/tokens/additionalColors/index.d.ts +1 -0
  306. package/dist/src/tokens/additionalColors/index.js +5 -0
  307. package/dist/src/tokens/index.d.ts +2 -0
  308. package/dist/src/tokens/index.js +2 -0
  309. package/dist/src/utils/generateTokens.d.ts +4 -0
  310. package/dist/src/utils/generateTokens.js +107 -0
  311. package/dist/src/utils/getMUIComponents.d.ts +7 -0
  312. package/dist/src/utils/getMUIComponents.js +4 -0
  313. package/dist/src/utils/getMUIPalette.d.ts +101 -0
  314. package/dist/src/utils/getMUIPalette.js +263 -0
  315. package/dist/src/utils/getMuiLocaleByCode.d.ts +11 -0
  316. package/dist/src/utils/getMuiLocaleByCode.js +13 -0
  317. package/dist/src/utils/getStateLayerColor.d.ts +25 -0
  318. package/dist/src/utils/getStateLayerColor.js +36 -0
  319. package/dist/src/utils/index.d.ts +6 -0
  320. package/dist/src/utils/index.js +7 -0
  321. package/dist/src/utils/patchMUIShadows.d.ts +2 -0
  322. package/dist/src/utils/patchMUIShadows.js +5 -0
  323. package/package.json +22 -18
@@ -0,0 +1,100 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { alpha, } from '@mui/material';
3
+ import { StateLayer, getStateLayerColor } from '../../../utils/getStateLayerColor';
4
+ export const getCard = (theme) => {
5
+ const { palette } = theme;
6
+ return {
7
+ MuiCard: {
8
+ styleOverrides: {
9
+ root: {
10
+ borderRadius: '20px',
11
+ padding: '10px 6px',
12
+ },
13
+ },
14
+ variants: [
15
+ {
16
+ props: { variant: 'elevation' },
17
+ style: {
18
+ boxShadow: theme.shadows[1],
19
+ backgroundColor: palette.surfaceContainerLow.main,
20
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
21
+ duration: theme.transitions.duration.short,
22
+ }),
23
+ '&:hover': {
24
+ background: getStateLayerColor(StateLayer.Hover, palette.surfaceContainerLow.main, palette.primary.main),
25
+ boxShadow: theme.shadows[2],
26
+ },
27
+ '&:focus': {
28
+ boxShadow: theme.shadows[1],
29
+ background: getStateLayerColor(StateLayer.Focus, palette.surfaceContainerLow.main, palette.primary.main),
30
+ },
31
+ '&:active': {
32
+ boxShadow: theme.shadows[1],
33
+ background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerLow.main, palette.primary.main),
34
+ },
35
+ '&.Mui-disabled': {
36
+ backgroundColor: alpha(palette.surfaceContainerLow.main, 0.38),
37
+ // color: palette.surfaceVariant.main,
38
+ boxShadow: theme.shadows[0],
39
+ },
40
+ },
41
+ },
42
+ {
43
+ props: { variant: 'filled' },
44
+ style: {
45
+ boxShadow: theme.shadows[0],
46
+ backgroundColor: palette.surfaceContainerHighest.main,
47
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
48
+ duration: theme.transitions.duration.short,
49
+ }),
50
+ '&:hover': {
51
+ background: getStateLayerColor(StateLayer.Hover, palette.surfaceContainerHighest.main, palette.primary.main),
52
+ boxShadow: theme.shadows[1],
53
+ },
54
+ '&:focus': {
55
+ boxShadow: theme.shadows[0],
56
+ background: getStateLayerColor(StateLayer.Focus, palette.surfaceContainerHighest.main, palette.primary.main),
57
+ },
58
+ '&:active': {
59
+ boxShadow: theme.shadows[1],
60
+ background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerHighest.main, palette.primary.main),
61
+ },
62
+ '&.Mui-disabled': {
63
+ backgroundColor: alpha(palette.surfaceContainerHighest.main, 0.38),
64
+ // color: palette.surfaceVariant.main,
65
+ boxShadow: theme.shadows[1],
66
+ },
67
+ },
68
+ },
69
+ {
70
+ props: { variant: 'outlined' },
71
+ style: {
72
+ boxShadow: theme.shadows[0],
73
+ backgroundColor: palette.surface.main,
74
+ borderColor: palette.outline.main,
75
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
76
+ duration: theme.transitions.duration.short,
77
+ }),
78
+ '&:hover': {
79
+ background: getStateLayerColor(StateLayer.Hover, palette.surface.main, palette.primary.main),
80
+ boxShadow: theme.shadows[1],
81
+ },
82
+ '&:focus': {
83
+ boxShadow: theme.shadows[0],
84
+ background: getStateLayerColor(StateLayer.Focus, palette.surface.main, palette.primary.main),
85
+ },
86
+ '&:active': {
87
+ boxShadow: theme.shadows[2],
88
+ background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerHighest.main, palette.primary.main),
89
+ },
90
+ '&.Mui-disabled': {
91
+ borderColor: alpha(palette.surfaceContainerHighest.main, 0.12),
92
+ boxShadow: theme.shadows[0],
93
+ },
94
+ },
95
+ },
96
+ ],
97
+ },
98
+ };
99
+ };
100
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './Card.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './Card.theme';
@@ -0,0 +1,3 @@
1
+ import './Paper.theme';
2
+ export declare const Paper: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").PaperTypeMap<{}, "div">>;
3
+ export type PaperComponentType = typeof Paper;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { Paper as MuiPaper } from '@mui/material';
3
+ import './Paper.theme';
4
+ export const Paper = MuiPaper;
@@ -0,0 +1,9 @@
1
+ import { Theme, ComponentsOverrides } from '@mui/material';
2
+ interface M3Paper {
3
+ MuiPaper: {
4
+ styleOverrides?: ComponentsOverrides<Theme>['MuiPaper'];
5
+ };
6
+ }
7
+ export declare const getPaper: (theme: Theme) => M3Paper;
8
+ declare const _default: {};
9
+ export default _default;
@@ -0,0 +1,14 @@
1
+ export const getPaper = (theme) => {
2
+ const { palette } = theme;
3
+ return {
4
+ MuiPaper: {
5
+ styleOverrides: {
6
+ root: {
7
+ backgroundColor: palette.surfaceContainerLowest.main,
8
+ borderRadius: 16,
9
+ },
10
+ },
11
+ },
12
+ };
13
+ };
14
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './Paper.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './Paper.theme';
@@ -0,0 +1,4 @@
1
+ import { CssBaseline as MuiCssBaseline } from '@mui/material';
2
+ import './CssBaseline.theme';
3
+ export declare const CssBaseline: typeof MuiCssBaseline;
4
+ export type CssBaselineComponentType = typeof CssBaseline;
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { CssBaseline as MuiCssBaseline } from '@mui/material';
3
+ import './CssBaseline.theme';
4
+ export const CssBaseline = MuiCssBaseline;
@@ -0,0 +1,11 @@
1
+ import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
2
+ interface M3CssBaseline {
3
+ MuiCssBaseline: {
4
+ defaultProps?: ComponentsProps['MuiCssBaseline'];
5
+ styleOverrides?: ComponentsOverrides<Theme>['MuiCssBaseline'];
6
+ variants?: ComponentsVariants['MuiCssBaseline'];
7
+ };
8
+ }
9
+ export declare const getCssBaseline: (_theme: Theme) => M3CssBaseline;
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export const getCssBaseline = (_theme) => ({
2
+ MuiCssBaseline: {
3
+ defaultProps: {
4
+ enableColorScheme: true,
5
+ },
6
+ },
7
+ });
8
+ export default {};
@@ -0,0 +1 @@
1
+ export * from './CssBaseline.theme';
@@ -0,0 +1,2 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export * from './CssBaseline.theme';
@@ -0,0 +1,3 @@
1
+ import { ThemeMode } from '../tokens/ThemeMode';
2
+ export declare const THEME_MODE_KEY = "ThemeModeKey";
3
+ export declare const useThemeMode: () => readonly [ThemeMode, () => void, import("react").Dispatch<import("react").SetStateAction<ThemeMode>>];
@@ -0,0 +1,20 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { useState } from 'react';
3
+ import { useMediaQuery } from '@mui/material';
4
+ export const THEME_MODE_KEY = 'ThemeModeKey';
5
+ export const useThemeMode = () => {
6
+ const prefersDarkMode = useMediaQuery('(prefers-color-scheme: dark)');
7
+ const [themeMode, setThemeMode] = useState(() => {
8
+ const saved = localStorage.getItem(THEME_MODE_KEY);
9
+ if (saved) {
10
+ return JSON.parse(saved);
11
+ }
12
+ return prefersDarkMode ? 'dark' : 'light';
13
+ });
14
+ const toggleTheme = () => {
15
+ const value = themeMode === 'light' ? 'dark' : 'light';
16
+ setThemeMode(value);
17
+ localStorage.setItem(THEME_MODE_KEY, JSON.stringify(value));
18
+ };
19
+ return [themeMode, toggleTheme, setThemeMode];
20
+ };
@@ -0,0 +1,3 @@
1
+ import { TonalPalette } from '../tokens/TonalPalette';
2
+ export declare const TONAL_PALETTE_KEY = "TonalPaletteKey";
3
+ export declare const useTonalPalette: () => readonly [TonalPalette, (hexColor: string) => void];
@@ -0,0 +1,32 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ import { argbFromHex, hexFromArgb, themeFromSourceColor } from '@material/material-color-utilities';
3
+ import { useLayoutEffect, useState } from 'react';
4
+ import { TonalPaletteDefault } from '../tokens/TonalPalette';
5
+ export const TONAL_PALETTE_KEY = 'TonalPaletteKey';
6
+ const LEVELS = [
7
+ 0, 4, 6, 10, 12, 17, 20, 22, 24, 30, 40, 50, 60, 70, 80, 87, 90, 92, 94, 95, 96, 98, 99, 100,
8
+ ];
9
+ export const useTonalPalette = () => {
10
+ const [tonalPalette, setTonalPalette] = useState(TonalPaletteDefault);
11
+ useLayoutEffect(() => {
12
+ if (localStorage.getItem(TONAL_PALETTE_KEY)) {
13
+ const localTonalPalette = JSON.parse(localStorage.getItem(TONAL_PALETTE_KEY) || '{}');
14
+ setTonalPalette(localTonalPalette);
15
+ }
16
+ }, []);
17
+ const generatePalette = (hexColor) => {
18
+ const intColor = argbFromHex(hexColor);
19
+ const { palettes } = themeFromSourceColor(intColor);
20
+ const tones = {};
21
+ for (const [key, palette] of Object.entries(palettes)) {
22
+ const tonelevel = {};
23
+ for (const level of LEVELS) {
24
+ tonelevel[level] = hexFromArgb(palette.tone(level));
25
+ }
26
+ tones[key] = tonelevel;
27
+ }
28
+ setTonalPalette(tones);
29
+ localStorage.setItem(TONAL_PALETTE_KEY, JSON.stringify(tones));
30
+ };
31
+ return [tonalPalette, generatePalette];
32
+ };
@@ -0,0 +1,5 @@
1
+ export { default as WebProsMuiThemeProvider } from './providers/WebProsMuiThemeProvider';
2
+ export { useThemeModeContext } from './providers/ThemeModeProvider';
3
+ export * from './utils';
4
+ export * from './tokens';
5
+ export * from './components';
@@ -0,0 +1,7 @@
1
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
2
+ export { default as WebProsMuiThemeProvider } from './providers/WebProsMuiThemeProvider';
3
+ export { useThemeModeContext } from './providers/ThemeModeProvider';
4
+ export * from './utils';
5
+ export * from './tokens';
6
+ // Only used for exporting types.
7
+ export * from './components';
@@ -0,0 +1,13 @@
1
+ import { ThemeMode } from '../tokens/ThemeMode';
2
+ export type ThemeModeContextType = {
3
+ themeMode: ThemeMode;
4
+ toggleTheme: () => void;
5
+ setThemeMode: (mode: ThemeMode) => void;
6
+ };
7
+ export type ThemeModeProviderProps = {
8
+ children?: React.ReactNode;
9
+ };
10
+ export declare const ThemeModeContext: import("react").Context<ThemeModeContextType>;
11
+ declare const ThemeModeProvider: ({ children }: ThemeModeProviderProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default ThemeModeProvider;
13
+ export declare const useThemeModeContext: () => ThemeModeContextType;
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
3
+ import { createContext, useContext, useMemo } from 'react';
4
+ import { useThemeMode } from '../hooks/useThemeMode';
5
+ export const ThemeModeContext = createContext({
6
+ themeMode: 'light',
7
+ toggleTheme: () => { },
8
+ setThemeMode: () => { },
9
+ });
10
+ const ThemeModeProvider = ({ children }) => {
11
+ const [themeMode, toggleTheme, setThemeMode] = useThemeMode();
12
+ const value = useMemo(() => ({ themeMode, toggleTheme, setThemeMode }), [themeMode, toggleTheme, setThemeMode]);
13
+ return _jsx(ThemeModeContext.Provider, { value: value, children: children });
14
+ };
15
+ export default ThemeModeProvider;
16
+ export const useThemeModeContext = () => useContext(ThemeModeContext);
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ import { ThemeScheme } from '../tokens/ThemeScheme';
3
+ export type ThemeSchemeContextType = {
4
+ generateScheme: (hexColor: string) => void;
5
+ themeScheme: ThemeScheme;
6
+ };
7
+ export type ThemeSchemeProviderProps = {
8
+ children?: React.ReactNode;
9
+ };
10
+ export declare const ThemeSchemeContext: import("react").Context<ThemeSchemeContextType>;
11
+ declare const ThemeSchemeProvider: FC<ThemeSchemeProviderProps>;
12
+ export default ThemeSchemeProvider;
@@ -0,0 +1,29 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
3
+ import { createContext, useCallback, useLayoutEffect, useMemo, useState } from 'react';
4
+ import { ThemeSchemeDefault } from '../tokens/ThemeScheme';
5
+ import { useTonalPalette } from '../hooks/useTonalPalette';
6
+ import { generateDesignTokens } from '../utils/generateTokens';
7
+ export const ThemeSchemeContext = createContext({
8
+ generateScheme: () => { },
9
+ themeScheme: ThemeSchemeDefault,
10
+ });
11
+ const ThemeSchemeProvider = ({ children }) => {
12
+ const [tonalPalette, generatePalette] = useTonalPalette();
13
+ const [themeScheme, setThemeScheme] = useState(ThemeSchemeDefault);
14
+ useLayoutEffect(() => {
15
+ const lightTokens = generateDesignTokens('light', tonalPalette);
16
+ const darkTokens = generateDesignTokens('dark', tonalPalette);
17
+ setThemeScheme({
18
+ light: lightTokens,
19
+ dark: darkTokens,
20
+ tones: tonalPalette,
21
+ });
22
+ }, [tonalPalette]);
23
+ const generateScheme = useCallback((hexColor) => {
24
+ generatePalette(hexColor);
25
+ }, [generatePalette]);
26
+ const value = useMemo(() => ({ generateScheme, themeScheme }), [generateScheme, themeScheme]);
27
+ return _jsx(ThemeSchemeContext.Provider, { value: value, children: children });
28
+ };
29
+ export default ThemeSchemeProvider;
@@ -0,0 +1,9 @@
1
+ import { Localization } from '@mui/material/locale';
2
+ import { ThemeMode } from '../tokens/ThemeMode';
3
+ type WebProsProps = {
4
+ children?: React.ReactNode;
5
+ themeMode?: ThemeMode;
6
+ localization?: Localization;
7
+ };
8
+ declare const WebProsMuiThemeProvider: ({ children, localization, themeMode }: WebProsProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default WebProsMuiThemeProvider;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import ThemeModeProvider from './ThemeModeProvider';
3
+ import WebProsTheme from './WebProsTheme';
4
+ const WebProsMuiThemeProvider = ({ children, localization, themeMode }) => (_jsx(ThemeModeProvider, { children: _jsx(WebProsTheme, { mode: themeMode, localization: localization, children: children }) }));
5
+ export default WebProsMuiThemeProvider;
@@ -0,0 +1,9 @@
1
+ import { ThemeMode } from '../tokens/ThemeMode';
2
+ import { Localization } from '@mui/material/locale';
3
+ type WebProsThemeProps = {
4
+ children?: React.ReactNode;
5
+ mode?: ThemeMode;
6
+ localization?: Localization;
7
+ };
8
+ export declare const WebProsTheme: ({ children, mode, localization }: WebProsThemeProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default WebProsTheme;
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
3
+ import { useContext, useMemo } from 'react';
4
+ import { CssBaseline, createTheme, ThemeProvider } from '@mui/material';
5
+ import { deepmerge } from '@mui/utils';
6
+ import { ThemeModeContext } from '../providers/ThemeModeProvider';
7
+ import { ThemeSchemeContext } from '../providers/ThemeSchemeProvider';
8
+ import { getMUIPalette } from '../utils/getMUIPalette';
9
+ import { getMUIComponents } from '../utils/getMUIComponents';
10
+ import { enUS } from '@mui/material/locale';
11
+ import { patchMUIShadows } from '../utils/patchMUIShadows';
12
+ export const WebProsTheme = ({ children, mode, localization = enUS }) => {
13
+ const themeModeContext = useContext(ThemeModeContext);
14
+ const { themeScheme } = useContext(ThemeSchemeContext);
15
+ const themeMode = mode !== null && mode !== void 0 ? mode : themeModeContext.themeMode;
16
+ const webprosTheme = useMemo(() => {
17
+ const muiPalette = getMUIPalette(themeMode, themeScheme);
18
+ let theme = createTheme(muiPalette, localization);
19
+ patchMUIShadows(theme);
20
+ theme = deepmerge(theme, getMUIComponents(theme, themeMode));
21
+ return theme;
22
+ }, [themeMode, themeScheme, localization]);
23
+ return (_jsxs(ThemeProvider, { theme: webprosTheme, children: [_jsx(CssBaseline, { enableColorScheme: true }), children] }));
24
+ };
25
+ export default WebProsTheme;
@@ -0,0 +1,3 @@
1
+ export declare const AdditionalColorPalette: ({ mode }: {
2
+ mode: "light" | "dark";
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
3
+ import { useContext } from 'react';
4
+ import Grid from '@mui/material/Grid2/Grid2';
5
+ import { ThemeSchemeContext } from '../providers/ThemeSchemeProvider';
6
+ import { ColorItem } from '@storybook/addon-docs/blocks';
7
+ export const AdditionalColorPalette = ({ mode = 'light' }) => {
8
+ const { themeScheme } = useContext(ThemeSchemeContext);
9
+ const theme = themeScheme[mode];
10
+ return (_jsx(Grid, { container: true, rowSpacing: 2, direction: 'column', children: Object.entries(theme.additionalColors).map(([key, val]) => (_jsxs(_Fragment, { children: [_jsx("h3", { id: key, children: key }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Primary", subtitle: "", colors: {
11
+ [`theme.custom.${key}[50]`]: val[50],
12
+ [`theme.custom.${key}[100]`]: val[100],
13
+ [`theme.custom.${key}[200]`]: val[200],
14
+ [`theme.custom.${key}[300]`]: val[300],
15
+ [`theme.custom.${key}[400]`]: val[400],
16
+ [`theme.custom.${key}[500]`]: val[500],
17
+ [`theme.custom.${key}[600]`]: val[600],
18
+ [`theme.custom.${key}[700]`]: val[700],
19
+ [`theme.custom.${key}[800]`]: val[800],
20
+ [`theme.custom.${key}[900]`]: val[900],
21
+ [`theme.custom.${key}[A100]`]: val.A100,
22
+ [`theme.custom.${key}[A200]`]: val.A200,
23
+ [`theme.custom.${key}[A400]`]: val.A400,
24
+ [`theme.custom.${key}[A700]`]: val.A700,
25
+ } }) })] }))) }));
26
+ };
@@ -0,0 +1,3 @@
1
+ export declare const CustomColorPalette: ({ mode }: {
2
+ mode: "light" | "dark";
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,75 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // Copyright 2025 WebPros International GmbH. All rights reserved.
3
+ import { useContext } from 'react';
4
+ import Grid from '@mui/material/Grid2/Grid2';
5
+ import { ThemeSchemeContext } from '../providers/ThemeSchemeProvider';
6
+ import { ColorItem } from '@storybook/addon-docs/blocks';
7
+ export const CustomColorPalette = ({ mode }) => {
8
+ const { themeScheme } = useContext(ThemeSchemeContext);
9
+ const modeTitle = mode === 'light' ? 'Light Theme' : 'Dark Theme';
10
+ const theme = themeScheme[mode];
11
+ return (_jsxs(Grid, { container: true, rowSpacing: 2, direction: 'column', children: [_jsx("h3", { id: modeTitle, children: modeTitle }), _jsx("h3", { id: `${mode}-base-colors`, children: 'Base colors' }), _jsx("h3", { id: `${mode}-primary`, children: 'Primary' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Primary", subtitle: "", colors: {
12
+ 'theme.primary': theme.primary,
13
+ 'theme.onPrimary': theme.onPrimary,
14
+ 'theme.primaryContainer': theme.primaryContainer,
15
+ 'theme.onPrimaryContainer': theme.onPrimaryContainer,
16
+ } }) }), _jsx("h3", { id: `${mode}-secondary`, children: 'Secondary' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Secondary", subtitle: "", colors: {
17
+ 'theme.secondary': theme.secondary,
18
+ 'theme.onSecondary': theme.onSecondary,
19
+ 'theme.secondaryContainer': theme.secondaryContainer,
20
+ 'theme.onSecondaryContainer': theme.onSecondaryContainer,
21
+ } }) }), _jsx("h3", { id: `${mode}-tertiary`, children: 'Tertiary' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Tertiary", subtitle: "", colors: {
22
+ 'theme.tertiary': theme.tertiary,
23
+ 'theme.onTertiary': theme.onTertiary,
24
+ 'theme.tertiaryContainer': theme.tertiaryContainer,
25
+ 'theme.onTertiaryContainer': theme.onTertiaryContainer,
26
+ } }) }), _jsx("h3", { id: `${mode}-error`, children: 'Error' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Error", subtitle: "", colors: {
27
+ 'theme.error': theme.error,
28
+ 'theme.onError': theme.onError,
29
+ 'theme.errorContainer': theme.errorContainer,
30
+ 'theme.onErrorContainer': theme.onErrorContainer,
31
+ } }) }), _jsx("h3", { id: `${mode}-surface`, children: 'Surface' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Surface", subtitle: "", colors: {
32
+ 'theme.surfaceDim': theme.surfaceDim,
33
+ 'theme.surface': theme.surface,
34
+ 'theme.surfaceBright': theme.surfaceBright,
35
+ } }) }), _jsx("h3", { id: `${mode}-surface-container`, children: 'Surface container' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Surface container", subtitle: "", colors: {
36
+ 'theme.surfaceContainerLowest ': theme.surfaceContainerLowest,
37
+ 'theme.surfaceContainerLow': theme.surfaceContainerLow,
38
+ 'theme.surfaceContainer': theme.surfaceContainer,
39
+ 'theme.surfaceContainerHigh': theme.surfaceContainerHigh,
40
+ 'theme.surfaceContainerHighest': theme.surfaceContainerHighest,
41
+ } }) }), _jsx("h3", { id: `${mode}-on-surface`, children: 'On surface' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "On surface", subtitle: "", colors: {
42
+ 'theme.onSurface ': theme.onSurface,
43
+ 'theme.onSurfaceVariant ': theme.onSurfaceVariant,
44
+ 'theme.outline ': theme.outline,
45
+ 'theme.outlineVariant ': theme.outlineVariant,
46
+ } }) }), _jsx("h3", { id: `${mode}-inverse`, children: 'Inverse' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Inverse", subtitle: "", colors: {
47
+ 'theme.inverseSurface ': theme.inverseSurface,
48
+ 'theme.inversePrimary ': theme.inversePrimary,
49
+ 'theme.inverseOnSurface ': theme.inverseOnSurface,
50
+ } }) }), _jsx("h3", { id: `${mode}-shadow-and-scrim`, children: 'Shadow and Scrim' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Shadow and Scrim", subtitle: "", colors: {
51
+ 'theme.shadow ': theme.shadow,
52
+ 'theme.scrim ': theme.scrim,
53
+ } }) }), _jsx("h3", { id: `${mode}-custom-colors`, children: 'Custom state colors' }), _jsx("h3", { id: `${mode}-info`, children: 'Info' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Info", subtitle: "", colors: {
54
+ 'theme.info': theme.info,
55
+ 'theme.onInfo': theme.onInfo,
56
+ 'theme.infoContainer': theme.infoContainer,
57
+ 'theme.onInfoContainer': theme.onInfoContainer,
58
+ } }) }), _jsx("h3", { id: `${mode}-warning`, children: 'Warning' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Warning", subtitle: "", colors: {
59
+ 'theme.warning': theme.warning,
60
+ 'theme.onWarning': theme.onWarning,
61
+ 'theme.warningContainer': theme.warningContainer,
62
+ 'theme.onWarningContainer': theme.onWarningContainer,
63
+ } }) }), _jsx("h3", { id: `${mode}-success`, children: 'Success' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Success", subtitle: "", colors: {
64
+ 'theme.success': theme.success,
65
+ 'theme.onSuccess': theme.onSuccess,
66
+ 'theme.successContainer': theme.successContainer,
67
+ 'theme.onSuccessContainer': theme.onSuccessContainer,
68
+ } }) }), _jsx("h3", { id: `${mode}-utility-colors`, children: 'Utility colors' }), _jsx("h3", { id: `${mode}-undefined`, children: 'Undefined' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Undefined", subtitle: "", colors: {
69
+ 'theme.undefined': theme.undefined,
70
+ } }) }), _jsx("h3", { id: `${mode}-supportive`, children: 'Supportive' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Supportive", subtitle: "", colors: {
71
+ 'theme.supportive': theme.supportive,
72
+ } }) }), _jsx("h3", { id: `${mode}-divider`, children: 'Outline' }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Outline", subtitle: "", colors: {
73
+ 'theme.outline': theme.outline,
74
+ } }) })] }));
75
+ };
@@ -0,0 +1,96 @@
1
+ import { AdditionalColorTone } from './Tone';
2
+ export type AdditionalColors = {
3
+ red: AdditionalColorTone;
4
+ pink: AdditionalColorTone;
5
+ purple: AdditionalColorTone;
6
+ deepPurple: AdditionalColorTone;
7
+ indigo: AdditionalColorTone;
8
+ blue: AdditionalColorTone;
9
+ lightBlue: AdditionalColorTone;
10
+ cyan: AdditionalColorTone;
11
+ teal: AdditionalColorTone;
12
+ green: AdditionalColorTone;
13
+ lightGreen: AdditionalColorTone;
14
+ lime: AdditionalColorTone;
15
+ yellow: AdditionalColorTone;
16
+ amber: AdditionalColorTone;
17
+ orange: AdditionalColorTone;
18
+ deepOrange: AdditionalColorTone;
19
+ brown: AdditionalColorTone;
20
+ };
21
+ export type AdditionalColorKey = keyof AdditionalColors;
22
+ export type ThemeColorTokens = {
23
+ primary: string;
24
+ onPrimary: string;
25
+ primaryContainer: string;
26
+ onPrimaryContainer: string;
27
+ secondary: string;
28
+ onSecondary: string;
29
+ secondaryContainer: string;
30
+ onSecondaryContainer: string;
31
+ tertiary: string;
32
+ onTertiary: string;
33
+ tertiaryContainer: string;
34
+ onTertiaryContainer: string;
35
+ error: string;
36
+ onError: string;
37
+ errorContainer: string;
38
+ onErrorContainer: string;
39
+ errorFixedDim: string;
40
+ primaryFixed: string;
41
+ primaryFixedDim: string;
42
+ onPrimaryFixed: string;
43
+ onPrimaryFixedVariant: string;
44
+ secondaryFixed: string;
45
+ secondaryFixedDim: string;
46
+ onSecondaryFixed: string;
47
+ onSecondaryFixedVariant: string;
48
+ tertiaryFixed: string;
49
+ tertiaryFixedDim: string;
50
+ onTertiaryFixed: string;
51
+ onTertiaryFixedVariant: string;
52
+ surface: string;
53
+ onSurface: string;
54
+ surfaceDim: string;
55
+ surfaceBright: string;
56
+ surfaceContainerLowest: string;
57
+ surfaceContainerLow: string;
58
+ surfaceContainer: string;
59
+ surfaceContainerHigh: string;
60
+ surfaceContainerHighest: string;
61
+ surfaceVariant: string;
62
+ onSurfaceVariant: string;
63
+ outline: string;
64
+ outlineVariant: string;
65
+ inverseSurface: string;
66
+ inverseOnSurface: string;
67
+ inversePrimary: string;
68
+ shadow: string;
69
+ scrim: string;
70
+ surfaceTint: string;
71
+ background: string;
72
+ onBackground: string;
73
+ info: string;
74
+ onInfo: string;
75
+ infoContainer: string;
76
+ onInfoContainer: string;
77
+ infoFixedDim: string;
78
+ success: string;
79
+ onSuccess: string;
80
+ successContainer: string;
81
+ onSuccessContainer: string;
82
+ successFixedDim: string;
83
+ warning: string;
84
+ onWarning: string;
85
+ warningContainer: string;
86
+ onWarningContainer: string;
87
+ warningFixedDim: string;
88
+ undefined: string;
89
+ onUndefined: string;
90
+ undefinedContainer: string;
91
+ onUndefinedContainer: string;
92
+ supportive: string;
93
+ additionalColors: AdditionalColors;
94
+ };
95
+ export declare const LightTokensDefault: ThemeColorTokens;
96
+ export declare const DarkTokensDefault: ThemeColorTokens;