Repository navigation
Fancy - v2.1.0
Scope: CSS Extend fix
This update fixes the styled(Component) extending functionality with Emotion.
The issue was that the cssWithScope function was comparing the SCOPED namespace
rather than the CSS selector. This wasn't compatible with Emotion's
cache consolidator, which resulted in scoped classes NOT being able to be
extended.
Some very crude tests.
Before:
After:
Notice how in the After pic, both lines only have 2 classes, whereas the Before pic, it was 2 and 3.
Resolves: #27

