diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2022-02-22 21:50:14 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2022-02-22 21:50:14 +0100 |
commit | fd17d6dd1f7c9fbda4d3c3e2c2eb232bd9086fab (patch) | |
tree | 436108fbaa0d386b642768a90e90c1ad33d6fad2 /webui/src/themes | |
parent | b0eb041e571dd616a9926d969bb42b3e7d6512e9 (diff) | |
download | git-bug-fd17d6dd1f7c9fbda4d3c3e2c2eb232bd9086fab.tar.gz |
webui: upgrade Material UI
Diffstat (limited to 'webui/src/themes')
-rw-r--r-- | webui/src/themes/DefaultDark.ts | 6 | ||||
-rw-r--r-- | webui/src/themes/DefaultLight.ts | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/webui/src/themes/DefaultDark.ts b/webui/src/themes/DefaultDark.ts index 65dd6329..7b292800 100644 --- a/webui/src/themes/DefaultDark.ts +++ b/webui/src/themes/DefaultDark.ts @@ -1,8 +1,8 @@ -import { createMuiTheme } from '@material-ui/core/styles'; +import { createTheme } from '@mui/material/styles'; -const defaultDarkTheme = createMuiTheme({ +const defaultDarkTheme = createTheme({ palette: { - type: 'dark', + mode: 'dark', primary: { dark: '#263238', main: '#2a393e', diff --git a/webui/src/themes/DefaultLight.ts b/webui/src/themes/DefaultLight.ts index 9c57ebe5..bfc454e9 100644 --- a/webui/src/themes/DefaultLight.ts +++ b/webui/src/themes/DefaultLight.ts @@ -1,8 +1,8 @@ -import { createMuiTheme } from '@material-ui/core/styles'; +import { createTheme } from '@mui/material/styles'; -const defaultLightTheme = createMuiTheme({ +const defaultLightTheme = createTheme({ palette: { - type: 'light', + mode: 'light', primary: { dark: '#263238', main: '#5a6b73', |