blob: 0f163e7e204c9aa4dbc6700bd38653a4a8aed7af (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { useMemo } from 'react';
import { createTheme } from '@mui/material/styles';
import palette from './palette';
import dimensions from './dimensions';
import components from './components';
export default (server) => useMemo(() => createTheme({
palette: palette(server),
dimensions,
components,
}), [server]);
|