score:7

Accepted answer

replace the webkitbackgroundclip with webkitbackgroundclip. jss takes the capital letters for webkit.

const customcolor = withstyles({
  root: {
    fontsize: 20,
    background: "-webkit-linear-gradient(45deg, #fe6b8b 30%, #ff8e53 90%)",
    webkitbackgroundclip: "text",
    webkittextfillcolor: "transparent"
  }
})(typography);

here is the working demo:
edit sad-star-v8u37


Related Query

More Query from same tag