You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Styletron paired with other css libraries that uses short class names as their namespace, there could be a collision in their class names.
An example of this is Fontawesome. They use the .fa class name as one of their base styles, so when Styletron generates a .fa class name, a bug arises and broken designs may appear.
Solution
We could feed Styletron Atomic with an user-configurable class name blacklist so it can take into account potential collisions when generating classnames.
The text was updated successfully, but these errors were encountered:
Problem
When using
Styletron
paired with other css libraries that uses short class names as their namespace, there could be a collision in their class names.An example of this is
Fontawesome
. They use the.fa
class name as one of their base styles, so whenStyletron
generates a.fa
class name, a bug arises and broken designs may appear.Solution
We could feed
Styletron Atomic
with an user-configurable class name blacklist so it can take into account potential collisions when generating classnames.The text was updated successfully, but these errors were encountered: