Skip to content

Prevent Style Pollution

Compare
Choose a tag to compare
@mattrothenberg mattrothenberg released this 13 Jul 15:50
· 62 commits to main since this release

This release significantly changes our approach to styling by using https://github.com/ben-rogerson/twin.macro/ to encapsulate all of our Tailwind classes.

Previously, consumers of @githubocto/flat-ui were experiencing issues where global Tailwind presets (and consequently our own global styles) were bleeding into their own applications/websites. This new strategy should help mitigate some of that pollution.