From b442b3a20aa6868659cc04269eddc4a6ea127514 Mon Sep 17 00:00:00 2001 From: Artur Sapek Date: Mon, 11 Mar 2024 18:15:52 -0400 Subject: [PATCH] fix busted theme --- wormhole-connect/src/theme.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wormhole-connect/src/theme.ts b/wormhole-connect/src/theme.ts index 377eb90d0..22801a645 100644 --- a/wormhole-connect/src/theme.ts +++ b/wormhole-connect/src/theme.ts @@ -3,7 +3,7 @@ import grey from '@mui/material/colors/grey'; import green from '@mui/material/colors/green'; import orange from '@mui/material/colors/orange'; import red from '@mui/material/colors/red'; -import { PaletteMode, ThemeOptions } from '@mui/material'; +import { PaletteMode } from '@mui/material'; import { OPACITY } from './utils/style'; export type PaletteColor = { @@ -250,7 +250,7 @@ export const getDesignTokens = (customTheme: CustomTheme) => { const baseTheme = customTheme?.mode === 'light' ? light : dark; const theme = Object.assign(baseTheme, customTheme) as ExtendedTheme; - return createTheme(theme as ThemeOptions, { + return createTheme({ components: { MuiPaper: { styleOverrides: {