barvian/fluid-tailwind

[question] amount of classes - css size

Closed this issue · 0 comments

Hi,

I really like this approach.
I usually use something like https://utopia.fyi to generate fluid font sizes.
Each font size is a css variable and is fluid by itself.
With this setup I still have to write classe like fluid-text-base sm:fluid-text-md lg:fluid-text-2xl. But I only have 8 css classes.

Do I understand it correctly, that your plugin creates a css class for every used combination? So if used extensively, could that lead to a big amount of css classes and a big css file? Compared to using 'fluid utility classes'? Especially when also used with padding and margin?

SCR-20240405-opxe