Closed iamyardem closed 7 years ago
Sorry there is no control over the priority. In an ideal scenario every node inside react-toolbox would be the least possible priority but this approach came later and most components has more or less priority depending on the case.
The is an upcoming refactor with a similar approach I plan to publish soon in a roadmap that will dramatically push down priority but until then you must write selectors with the same or higher priority in order to override. Sorry :(
Hello. I've tried to apply theme via react-css-themr. But I found that default theme's classes apply first, therefore default classes have more priority. To fix it I need either use !important or write more specific selectors. For example, I wrote following styles for input highlight bar.
But it works only if I wrap it in div to make it more specific.
Is there any way to control priority of classes for themr approach? Can post-css autoprefixer cause such behavior?