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): Add aggressive option to increase specificity #188

Closed dLars99 closed 3 years ago

dLars99 commented 3 years ago

Adds a boolean prop to the Theme Provider, aggressive, that, when true, makes every class highly specific in an attempt to override things like very specific WordPress classes. Also added a prefix to all classes to make them more easily identifiable in the browser.

Most of the updates are snapshots. The relevant changes are in the ThemeProvider, types, and the new aggressiveSpecificity.ts