import type { IconButtonProps, LinkProps } from '@mui/material' import { IconButton as MuiIconButton, styled } from '@mui/material' import type React from 'react' export const CardIconButton: React.FC< React.ComponentProps & IconButtonProps & Pick > = styled(MuiIconButton)< IconButtonProps & Pick >(({ theme }) => { return { padding: theme.spacing(0.5), backgroundColor: `color-mix(in srgb, ${theme.vars.palette.common.onBackground} 4%, transparent)`, '&:hover': { backgroundColor: `color-mix(in srgb, ${theme.vars.palette.common.onBackground} 8%, transparent)`, }, fontSize: '1rem', } })