proposal-system/web/src/theme.ts

56 lines
1 KiB
TypeScript
Raw Normal View History

import { createTheme } from '@mui/material/styles';
export const theme = createTheme({
palette: {
primary: {
main: '#1565c0',
light: '#5e92f3',
dark: '#003c8f',
},
secondary: {
main: '#f57c00',
light: '#ffad42',
dark: '#bb4d00',
},
background: {
default: '#f5f5f5',
paper: '#ffffff',
},
},
typography: {
fontFamily: '"Nunito Sans", "Helvetica", "Arial", sans-serif',
h4: { fontWeight: 700 },
h5: { fontWeight: 700 },
h6: { fontWeight: 600 },
},
shape: {
borderRadius: 8,
},
components: {
MuiButton: {
styleOverrides: {
root: {
textTransform: 'none',
fontWeight: 600,
},
},
},
MuiAppBar: {
defaultProps: {
elevation: 1,
},
},
MuiCard: {
defaultProps: {
elevation: 0,
},
styleOverrides: {
root: {
border: '1px solid',
borderColor: '#e0e0e0',
},
},
},
},
});