We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db33da commit b442b3aCopy full SHA for b442b3a
wormhole-connect/src/theme.ts
@@ -3,7 +3,7 @@ import grey from '@mui/material/colors/grey';
3
import green from '@mui/material/colors/green';
4
import orange from '@mui/material/colors/orange';
5
import red from '@mui/material/colors/red';
6
-import { PaletteMode, ThemeOptions } from '@mui/material';
+import { PaletteMode } from '@mui/material';
7
import { OPACITY } from './utils/style';
8
9
export type PaletteColor = {
@@ -250,7 +250,7 @@ export const getDesignTokens = (customTheme: CustomTheme) => {
250
const baseTheme = customTheme?.mode === 'light' ? light : dark;
251
const theme = Object.assign(baseTheme, customTheme) as ExtendedTheme;
252
253
- return createTheme(theme as ThemeOptions, {
+ return createTheme({
254
components: {
255
MuiPaper: {
256
styleOverrides: {
0 commit comments