personal-finances/frontend/src/components/ThemeRegistry/theme.js

30 lines
647 B
JavaScript

// import Roboto from '@fontsource/roboto';
import { createTheme } from '@mui/material/styles';
// const roboto = Roboto({
// weight: ['300', '400', '500', '700'],
// subsets: ['latin'],
// display: 'swap',
// });
const theme = createTheme({
palette: {
mode: 'dark',
},
// typography: {
// fontFamily: roboto.style.fontFamily,
// },
// components: {
// MuiAlert: {
// styleOverrides: {
// root: ({ ownerState }) => ({
// ...(ownerState.severity === 'info' && {
// backgroundColor: '#60a5fa',
// }),
// }),
// },
// },
// },
});
export default theme;