Re:The Open Source Ruby on Rails SaaS Framework
by cutler on Monday April 24, 2023 @08:27PM
(#35695079)
How on earth can styling every **damn hyperlink inline over and over again be a time saver?
[ Parent
| on HN ]
Re:The Open Source Ruby on Rails SaaS Framework
by dewey on Monday April 24, 2023 @09:24PM
(#35695464)
You don’t have to if you define it globally.
Re:The Open Source Ruby on Rails SaaS Framework
by cutler on Tuesday April 25, 2023 @08:53AM
(#35699786)
Then you're just reimplementing CSS classes in Tailwind.
Re:The Open Source Ruby on Rails SaaS Framework
by andrei_says_ on Tuesday April 25, 2023 @09:29AM
(#35700176)
and so most people using tailwind don’t do that and redefine everything every time. Ignoring or ignorant of the elegance and power of css.
Re:The Open Source Ruby on Rails SaaS Framework
by jonwinstanley on Tuesday April 25, 2023 @11:20AM
(#35701708)
I don’t think anyone is typing out every link at this point.
Html is split into components or views or partials. Links are inside loops etc.
You save time every time you don’t have to think about coming up with a new class name or how it might affect the hierarchy.
I totally understand it feels weird to begin with but on a major project you never worry that your css tweaks might affect some other obscure part of the site.