Category "jss"

MUI - How can I style the scrollbar with CSS in JS?

I really hate having to have an external stylesheet for my scrollbar stylings and I want to put it in with the rest of my styles on my root component. I have tr

jss how to change opacity for a color

Currently I am using the following code to add a color to an element using jss. const styleSheet = theme => ({ root: { backgroundColor: theme.c

How to update Rule property value in JSS 10.9.0

I'm trying to dynamically update a rule in JSS. I'd like to set the hover background color. According to the docs, it should be: sheet.getRule('a').prop('propS