sigit.io/src/theme/index.ts

89 lines
1.8 KiB
TypeScript
Raw Normal View History

2024-06-07 11:13:32 +00:00
import { experimental_extendTheme as extendTheme } from '@mui/material/styles'
// For the reference of theme customization guide visit
// https://mui.com/material-ui/experimental-api/css-theme-variables/customization/
export const theme = extendTheme({
colorSchemes: {
light: {
palette: {
primary: {
main: '#4c82a3',
light: '#5e8eab',
dark: '447592'
2024-06-07 11:13:32 +00:00
},
info: {
main: '#3abff8'
}
}
},
dark: {
// palette for dark mode
// palette: {...}
}
},
components: {
MuiModal: {
styleOverrides: {
root: {
insetBlock: '25px',
insetInline: '20px'
}
}
},
2024-06-07 11:13:32 +00:00
MuiButton: {
styleOverrides: {
root: {
fontSize: '14px',
2024-07-29 12:03:16 +00:00
fontWeight: 500,
padding: '8px 15px',
2024-07-29 12:03:16 +00:00
transition: 'ease 0.2s',
boxShadow: 'unset',
lineHeight: 'inherit',
borderRadius: '4px',
':hover': {
2024-07-29 12:03:16 +00:00
background: 'var(--primary-light)',
boxShadow: 'unset'
}
},
text: {
2024-07-29 12:03:16 +00:00
color: 'inherit',
background: 'transparent',
':hover': {
color: 'white'
}
2024-06-07 11:13:32 +00:00
},
contained: {
2024-07-29 12:03:16 +00:00
background: 'var(--primary-main)',
color: 'white'
2024-06-07 11:13:32 +00:00
},
outlined: {
':hover': {
color: '#291334',
borderColor: '#291334',
background: '#29133433'
}
},
startIcon: {
marginRight: '12px',
marginLeft: 0
2024-06-07 11:13:32 +00:00
}
}
},
MuiTypography: {
defaultProps: {
fontFamily: ['Roboto', 'system-ui', 'sans-serif'].join(',')
}
2024-06-07 11:13:32 +00:00
}
},
breakpoints: {
values: {
xs: 0,
sm: 600,
md: 900,
lg: 1200,
xl: 1420
}
2024-06-07 11:13:32 +00:00
}
})