The New TailwindCSS Looks Promising

preview_player
Показать описание
A few days ago, tailwindcss released their 4.0 preview. It's already available to play around with, so let's see what changed and how it tries to be better than previous versions.

-- sources

-- my links
Рекомендации по теме
Комментарии
Автор

Impressive, very nice. Let's see Paul Allen's css framework.

BeyondLegendary
Автор

Fantastic and nice summary. Comes at the right time while I started implementing a theming concept in a bigger corporate project.

faraonch
Автор

Definitely a step in the right direction! Thanks for sharing your thoughts Josh!

rayusaki
Автор

Hmm...some great changes coming here. Thanks Josh

ernst
Автор

To be fair, those 53MB that the engine weights, are mostly from the oxide/creates/core/benches folder, which is a bunch of HTML files that weight around 52MB when added up. That means that the engine itself weights around 1MB (worth of source files).

regexPattern
Автор

If Tailwind CSS had a feature that allowed you to combine multiple utility classes into a single, compact syntax inside the class attribute, like this: lg:[bg-red-100 text-black] instead of lg:bg-red-100 lg:text-black, it would be awesome.

rainstorm
Автор

Globals.css appealed to me the most, as well as the quick configuration, but we will see in what direction it will ultimately go, thanks josh for another concrete episode without too much prolongation

adrian
Автор

Slow? -> Rust -> 💥 Fast!!! -> Oh build time 💀

mohitcodeswell
Автор

In development Lightning CSS typically runs on every change, not just once, so being fast there is great.

jeresalem
Автор

Thank you for all your videos. They help us a lot in understanding what's going in the IT space.

A request, can you please make few videos on how to make Micro Frontends using React & Next.js in 2024 ( I mean CSR MFs & SSR MFs)

HarshalHirve
Автор

Looks pretty impressive! Great round up.

bcb
Автор

When you said v4 I thought about v-for in Vue :D

ivangechev
Автор

Looks neat...but hate having to migrate in just a few months.

Jackson_Zheng
Автор

Glad I haven't switched to StyleX when they hyped it up.

ShoterOTP
Автор

how is this going to effect NextUI. I really like that library. It's like MUI meets Tailwind

rjwhite
Автор

Noticed you didn't get autocompletion for your custom color, will that be the new way of doing things?

internetexplorer
Автор

Build speed is important for iteration time, especially as development time increases (AI code). It is weird how the rust world is overshadowing the ts/js world. Why are the node/typescript people not making their compilers super fast so we don't need to use another tool?

mikelCold
Автор

Skipping tailwind.config will be huge. That was my main issue with shadcn so far (obviously I still used it cuz it's just so darn good, but making a full custom theme was a no go for me)
I don't really care about build time, but I mean, not gonna complain either. Good stuff.
Now the only thing I want is making a <Button colorScheme="red"/>, declaring the colors with concrete types or some other way like that.
And then do border-${colorScheme}-500`}
CVA made it a lot easier to do full color schemes like this, but you still need to manually type out the classes so tailwind knows they're used and should be included in the bundle. Or manually include them in the config file.
If that ever gets done I'll never even look at another styling framework again.

helleye
Автор

hmmm so there is no more tailwind config file ?

RhythmRift
Автор

I'm migrating to v4 only when shadcn will

mattd
welcome to shbcf.ru