As a result of #440, component styles are no longer part of the JS bundle. They reside in the extracted react-ui[.development].css file. The order of styles in this stylesheet is incorrect and may cause styling issues.
The reason of the incorrect order is in the call order in src/index.js: first, there are imports (theme, foundation, ⚠️ helpers ⚠️), then exports (components).
Cascade layers will help keep the styles in correct order, no matter how they are called.
This is a follow-up issue of #517.
As a result of #440, component styles are no longer part of the JS bundle. They reside in the extracted
react-ui[.development].css
file. The order of styles in this stylesheet is incorrect and may cause styling issues.The reason of the incorrect order is in the call order in
src/index.js
: first, there are imports (theme, foundation, ⚠️ helpers ⚠️), then exports (components).Cascade layers will help keep the styles in correct order, no matter how they are called.