sigit.io/src/theme/index.ts

73 lines
1.6 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: '#291334'
},
info: {
main: '#3abff8'
}
}
},
dark: {
// palette for dark mode
// palette: {...}
}
},
components: {
MuiButton: {
styleOverrides: {
root: {
2024-07-25 14:11:20 +00:00
transition: 'ease 0.4s',
padding: '10px 20px',
fontSize: '14px',
fontWeight: 'bold',
boxShadow: '0 0 8px 0 rgba(0, 0, 0, 0)',
lineHeight: '1.25',
borderRadius: '4px',
':hover': {
transform: 'scale(1.02)',
boxShadow: '0 0 8px 0 rgba(0, 0, 0, 0)'
}
},
text: {
color: '#00000059',
background: 'transparent',
':hover': {
background: '#47cccf',
color: 'white'
}
2024-06-07 11:13:32 +00:00
},
contained: {
background: '#47cccf',
2024-06-07 11:13:32 +00:00
':hover': {
background: '#47cccf'
2024-06-07 11:13:32 +00:00
}
},
outlined: {
':hover': {
color: '#291334',
borderColor: '#291334',
background: '#29133433'
}
}
}
}
},
typography: {
fontFamily: [
'system-ui',
'Avenir',
'Helvetica',
'Arial',
'sans-serif'
].join(', ')
2024-06-07 11:13:32 +00:00
}
})