import {styled} from '@mui/material/styles'; const Container = styled('div')` .MuiPickersYear-yearButton { text-align: center; font-size: 0.9rem; &.Mui-selected { background-color: ${({theme}) => theme.palette.purple[500]}; } } .MuiPickersMonth-monthButton { text-align: center; font-size: 0.9rem; &.Mui-selected { background-color: ${({theme}) => theme.palette.purple[500]}; } } .MuiPickersDay-root { &.Mui-selected { background-color: ${({theme}) => theme.palette.purple[500]}; } &.Mui-disabled:not(.Mui-selected) { color: ${({theme}) => theme.palette.gray[300]}; } } .MuiDayCalendar-weekDayLabel { font-size: 0.6rem; } .MuiPickersCalendarHeader-labelContainer { margin-right: 0; margin-inline-end: auto; } `; export const DateCalendarStyle = { Container, };