Skip to content

Commit

Permalink
fix busted theme
Browse files Browse the repository at this point in the history
  • Loading branch information
artursapek committed Mar 11, 2024
1 parent 3db33da commit b442b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wormhole-connect/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit b442b3a

Please sign in to comment.