2 ms·
> that map gets translated into something like variables, or even Tailwind Variants Sure. You can punch tailwind until it behaves like the formatting templates
by marcosdumay 3y ago
> that map gets translated into something like variables, or even Tailwind Variants
Sure. You can punch tailwind until it behaves like the formatting templates people used on PHP before CSS generalized them. This will indeed fix the problem.
The only thing I got to say is "blegh". You are adding code to get the "90's-dynamic" behavior into a framework that added code to remove the cascading behavior from the framework that came with code to emulate the "90's-dynamic" behavior with a few extra bonuses.
But yeah, it works. I have no idea why one would choose to go that way, but if one is constrained into it, that's a sound direction.
- BoorishBears 3y agoTo be clear these that's variables as in CSS variables, and the map is a design system, neither of those are outdated concepts.