Replies: 1 comment
-
Bumping @amcdnl |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using material-ui v4 with reaflow and using the makeStyles API.
Unfortunately changing nodeColor does not work when setting classname property, unless we add
!important
to rules.Reaflow rules are always appended at the end of
<head>
and override our styles, which are injected a little bit before.Do you think it would be viable to pass
insertAt: top
during build of reaflow through rollup plugin https://github.com/egoist/rollup-plugin-postcss/blob/a03c7bfc18b1d3275fd760d5c15030880891a9b9/README.md#inject so those styles would end up at the beginning of<head>
making them overridable?Do you have other suggestion how to handle the problem, other than using
style
property.Beta Was this translation helpful? Give feedback.
All reactions