3 ms·
Consider Tailwind not as bootstrap, but as something to make your own bootstrap (like flask -> django). In short, is only bulding blocks with some option to pr
by mamcx 6y ago
Consider Tailwind not as bootstrap, but as something to make your own bootstrap (like flask -> django).
In short, is only bulding blocks with some option to pre-configure the base defaults (https://tailwindcss.com/docs/configuration https://tailwindcss.com/docs/configuration) and pre-seed the theming (https://tailwindcss.com/docs/theme https://tailwindcss.com/docs/theme), if wanna get low level.
Is like functional programming: You get for "free" the higher-order functionality but left to you to decide what to do with the building blocks. You can totally make your own components ala bootstrap (https://tailwindcss.com/docs/extracting-components https://tailwindcss.com/docs/extracting-components).
What this make interesting, is that you can do it at HALF.
For example, you can decide that "components" only are the shapes, but you must supply colors and dimensions. Or are colors and dimensions, but your must supply the shape (etc: As building block, you can mix-match).
----
P.D: I'm building a niche ecommerce platform and TailwindCSS is far easier to theme than bootstrap, by a long shoot. Specially because in my case, my customers only care for "colors" than overall shapes, so I can hand-code the site visual structure and left colors and cosmetics open.