Re:Htmx and Web Components: A Perfect Match
by LudwigNagasena on Thursday January 18, 2024 @01:03AM
(#39038475)
You can add your `alert-danger` and whatever you need in `tailwind.config.js` or even directly in your root css file using CSS variables.
[ Parent
| on HN ]
Re:Htmx and Web Components: A Perfect Match
by _heimdall on Thursday January 18, 2024 @09:42AM
(#39042204)
I've tried building design systems into Tailwind config a few times and found it to lose a lot of the potential value of tailwind.
Markup is no longer portable without bringing the config with it and devs still need to learn the custom styles and classes we defined, meaning Tailwind knowledge alone doesn't get you up to speed right away.