mardi 5 avril 2022

Make MUI Checkbox border color as gradient

I am writing styleOverrides to MuiCheckBox and want to make its borders as linear gradient. Any ideas how to make it possible?

MuiCheckbox: {
    styleOverrides: {
      root: {
        color: 'linear-gradient(89.38deg, #957947 -13.88%, #E1BC6C 27.59%, #EFDB7C 66.54%, #E9BA6A 105.86%)',
        backgroundColor: 'transparent',
   }
}



Aucun commentaire:

Enregistrer un commentaire