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
This selector: :not(:where([class~="not-prose"],[class~="not-prose"] *))
is only useful when the not-prose class is actually used. Being written 100 times in my generated CSS, it uses about 6kB, not minified.
How about including those only when the not-prose class is actually used?
"Won't do, you ask too much" is a valid answer 😅
Edit: just checked for fun, it's ~1/3 of all typography's code size.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This selector:
:not(:where([class~="not-prose"],[class~="not-prose"] *))
is only useful when the
not-prose
class is actually used. Being written 100 times in my generated CSS, it uses about 6kB, not minified.How about including those only when the
not-prose
class is actually used?"Won't do, you ask too much" is a valid answer 😅
Edit: just checked for fun, it's ~1/3 of all typography's code size.
Beta Was this translation helpful? Give feedback.
All reactions