oktopus/frontend/src/theme/index.js
Leandro Antônio Farias Machado d297fecc62 chore: create proj structure
2023-03-07 13:33:32 +00:00

32 lines
739 B
JavaScript

import { createTheme as createMuiTheme } from '@mui/material';
import { createPalette } from './create-palette';
import { createComponents } from './create-components';
import { createShadows } from './create-shadows';
import { createTypography } from './create-typography';
export function createTheme() {
const palette = createPalette();
const components = createComponents({ palette });
const shadows = createShadows();
const typography = createTypography();
return createMuiTheme({
breakpoints: {
values: {
xs: 0,
sm: 600,
md: 900,
lg: 1200,
xl: 1440
}
},
components,
palette,
shadows,
shape: {
borderRadius: 8
},
typography
});
}