Closed vikramrojo closed 6 years ago
Seems the simplest ways to solve this are either add write utility classes like body .radius-3 { prop }
or just change the order of fortune.css to have components before utilities.
you mentioned this issue was resolved?
The solution is there which is add body or !important if needed. It isn't necessary for most components but isn't resolved for components that have higher specificity in their CSS, eg. Tabs
https://github.com/atav1k/fortune/blob/b864f0a61f917acd36fa733ddeaa51f318256b18/src/tab.css#L5
Simple hack to raise specificity is .class.class
instead of !important
Adding a utility class (eg radius-3) to a component (button) does not modify the component.