score:4

Accepted answer

psuedo selectors can be added by:

const styles = createstyles({
  button: {
    // main styles,
    "&:focus": {
      color: "red"
    }
  }
});


score:1

this should do the trick

overrides: {
    muibutton: {
      root: {
        '&:focus': {
          color: 'rgba(0, 0, 0, 0.87)',
          backgroundcolor: 'rgba(0, 0, 0, 0.87)',
        },
      },
    },
  },

Related Query

More Query from same tag