All files / src/theme index.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32                                        484x                      
import { createTheme } from "@mui/material/styles";
import { palette } from "./colors";
import { components } from "./components";
import { typography } from "./typography";
import { breakpoints } from "./breakpoints";
import { customShadows } from "@theme/shadows";
 
declare module "@mui/material/styles" {
  interface Theme {
    custom: {
      shadows: { [key: string]: string };
    };
  }
  interface ThemeOptions {
    custom: {
      shadows: { [key: string]: string };
    };
  }
}
 
const theme = createTheme({
  palette: palette,
  components: components,
  typography: typography,
  breakpoints,
  custom: {
    shadows: customShadows,
  },
});
 
export default theme;