UNPKG

materio-mui-react-nextjs-admin-template-free

Version:

Most Powerful & Comprehensive Free MUI React NextJS Admin Dashboard Template built for developers! 🚀

39 lines (36 loc) • 1.15 kB
// ** Util Import import { hexToRGBA } from 'src/@core/utils/hex-to-rgba' const Pagination = theme => { return { MuiPaginationItem: { styleOverrides: { root: { '&.Mui-selected:not(.Mui-disabled):not(.MuiPaginationItem-textPrimary):not(.MuiPaginationItem-textSecondary):hover': { backgroundColor: `rgba(${theme.palette.customColors.main}, 0.12)` } }, outlined: { borderColor: `rgba(${theme.palette.customColors.main}, 0.22)` }, outlinedPrimary: { '&.Mui-selected': { backgroundColor: hexToRGBA(theme.palette.primary.main, 0.12), '&:hover': { backgroundColor: `${hexToRGBA(theme.palette.primary.main, 0.2)} !important` } } }, outlinedSecondary: { '&.Mui-selected': { backgroundColor: hexToRGBA(theme.palette.secondary.main, 0.12), '&:hover': { backgroundColor: `${hexToRGBA(theme.palette.secondary.main, 0.2)} !important` } } } } } } } export default Pagination