Using Isolate in react-jss
Open
complexity:high
docs
feature request
- Dominant language
- JavaScript
- Stars
- 7.1k
- Forks
- 386
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use isolate with react-jss, but there's no docs. I'm currently trying like this:
```
const useStyles = createUseStyles({
mark: props => ({
isolate: true,
color: [ [ props.headingColor ], '!important' ],
fontFamily: [ [ props.fontFamily ], '!important' ],
'& mark': {
color: props.highlightColor,
background: props.highlightBackground
}
})
});
```
Any ideas?
Contributor guide
Assessment
This issue has not been assessed yet.