shakedown.social: About · Status · Profiles directory · Privacy policy
Mastodon: About · Get the app · Keyboard shortcuts · View source code · v4.4.0
Rubyists! I just shipped a new gem, tailwindcss-ruby
https://github.com/flavorjones/tailwindcss-ruby
This is extracted from tailwindcss-rails, and once I ship an update to that gem, the Rails integration will be decoupled from the upstream executable (in expectation of tailwind v4!) and people can choose their version of tailwind (including the v4 alphas).
It occurs to me, while checking into a flight, that another reason why Tailwind-style CSS names are annoying is because there's nothing for password managers to grab onto. I could have had my passport info auto-populated, but noooooo because Jonty the fucking web dev doesn’t want to learn CSS.
#Tailwind にずっと馴染めていない勢なので、とても興味深く読んだ。
https://fuku.day/blog/2024-08-10-tailwind/
『「Tailwind CSSめっちゃ負債になりそう」はそうでもないのでは』というタイトルにもある見解は、自分も読んで「確かに」と思った。
そのうえで、なんで自分は #tailwindcss に馴染めないのか、という理由についても考えてみた。
自分は結局のところ #CSS が書きたいんだと思う。
自分がおもう #Tailwind の意義って「フロントのコードでコンポーネント管理できる時代に #CSS のレイヤーでもコンポーネントを管理するの無駄じゃない?」っていうことだと思っていて、自分自身、馴染めてはいないまでもその発想には結構同意もしてる。
ただ、結局自分は #CSS が好きで #CSS が書きたい。ブラウザーの表現力を直接的に呼び出してそれを応用している感じが好きだし、今もどんどん新しい仕様がブラウザー側にも実装されている機能を、.css という拡張子の、つまるところただのテキストファイルを書くだけで使えるのは、#AI にプロンプトを投げて画像を生成するよりも自分にとっては楽しい。
だから、#Tailwind が便利なことも、いまのコンポーネントベースで UI を構築するフロントエンド事情にマッチしてるのもわかるけど、
やっぱりブラウザーの表現力と #CSS というレイヤーの間に一枚、別のレイヤーを発明するというやり方がどうしても馴染めないんだと思う。
ということを、考えながら楽しく拝読しました。勉強にもなったし、また思い出して読むかもしれないなとおもった
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.
Create accountLogin