PlayPickUp / pickup-ui

A collection of React Components that make up the PickUp world. 🌎⚡
https://ui.playpickup.com
3 stars 1 forks source link

fix(themeProvider): Switch aggressive suffix to prefix #205

Closed dLars99 closed 3 years ago

dLars99 commented 3 years ago

By switching the :not(\20) chain from a suffix to a prefix, it allows pseudo elements like ::before and ::after to work.

Some have been added to makeMeUgly.css for testing. You won't be able to override them by adding them to the createUseStyles in the Playground App.tsx, though, because it's outside the theme. Instead, you'll have to temporarily add something like the following to the Typography root or title class itself: "&::after": { content: '""', },