2 ms·
Attributify mostly solves readability issue: <button bg="blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600" text="sm white" font="mono li
by akvadrako 4y ago
Attributify mostly solves readability issue:
<button
bg="blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600"
text="sm white"
font="mono light"
p="y-2 x-4"
border="2 rounded blue-200"
>
https://windicss.org/features/attributify.html https://windicss.org/features/attributify.html
- redbar0n 4y agoIt solves the repetition and collation into className, yes. But I think the author's main gripe was that component abstraction was made difficult with Tailwind when you want to customize the component from the outside, by dynamically altering the styles through props (as often needed for contextualization in design systems), and not just no-prop components like Tailwind suggests: https://tailwindcss.com/#component-driven https://tailwindcss.com/#component-driven