Skip to content

Commit

Permalink
Scope: CSS Extend fix (#31)
Browse files Browse the repository at this point in the history
* cssWithScope: Fix CSS extension

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.

* Add stories to demo and test Scoped class extension

* 2.1.0-2
  • Loading branch information
Jon Quach committed Oct 13, 2018
1 parent 280d89a commit 4a96b8d
Show file tree
Hide file tree
Showing 5 changed files with 208 additions and 127 deletions.
Loading

0 comments on commit 4a96b8d

Please sign in to comment.