3 ms·
Any reason to use Pico CSS over Tailwind?
by srid 1y ago
Any reason to use Pico CSS over Tailwind?
- librasteve 1y agoTwo reasons - (i) tailwind is not really a good start if you want a nice set of design patterns already built for you (sure there are good tailwind component libraries, but HARC is an antidote to JavaScript I hope) and (ii) HARC leans into FP (Air::Functional) for HTML code and a semantic HTML library such as Pico helps to avoid clutter in the source code and imo improves maintainability. But, unlike TW you need to submit to some kind of structure for your style … but HARC components help to maintain a good locality of behaviour (LOB). Nevertheless HARC will add some TW themes soon - next on the list after Bulma.
- srid 1y agoI just tried out Pico in a small site. The resultant HTML looks more semantic and readable compared to that of Tailwind. Though, Claude Code ended up injecting a bunch of CSS definitions, which you can't avoid I suppose. https://github.com/srid/Naivete-CoM/pull/1/files https://github.com/srid/Naivete-CoM/pull/1/files