@zextras/carbonio-ui-commons 2.0.0-beta.5 → 2.0.0-beta.6

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.
package/lib/index.js CHANGED
@@ -5,7 +5,6 @@ var carbonioDesignSystem = require('@zextras/carbonio-design-system');
5
5
  var ExpandMoreIcon = require('@mui/icons-material/ExpandMore');
6
6
  var material = require('@mui/material');
7
7
  var carbonioShellUi = require('@zextras/carbonio-shell-ui');
8
- var styles = require('@mui/material/styles');
9
8
  var lodash = require('lodash');
10
9
  var reactI18next = require('react-i18next');
11
10
  var produce = require('immer');
@@ -70,7 +69,7 @@ const StaticBreadcrumbs = ({
70
69
  * SPDX-License-Identifier: AGPL-3.0-only
71
70
  */
72
71
 
73
- const theme = styles.createTheme({
72
+ const theme = material.createTheme({
74
73
  palette: {
75
74
  currentColor: {
76
75
  regular: 'currentColor',
@@ -259,7 +258,7 @@ const theme = styles.createTheme({
259
258
  avatar_50: '#0288D1'
260
259
  }
261
260
  });
262
- const themeMui = styles.createTheme({
261
+ const themeMui = material.createTheme({
263
262
  components: {
264
263
  MuiSvgIcon: {
265
264
  styleOverrides: {