lukejacksonn / oceanwind

Compiles tailwind shorthand into css at runtime. Succeeded by Twind.
https://twind.dev
264 stars 12 forks source link

tailwind v2 #28

Open swyxio opened 3 years ago

swyxio commented 3 years ago

just a heads up that tailwind is about to release v2 with a bunch of breaking changes https://github.com/tailwindlabs/tailwindcss/releases/tag/v2.0.0-alpha.1

lukejacksonn commented 3 years ago

Oh perfect 😅 thanks for the heads up. I'll take a look through the change log and see what needs to change here!

swyxio commented 3 years ago

it's hopefully not too bad. just a bunch of tiny changes in default values and behaviors iirc

lukejacksonn commented 3 years ago

Yeh, looking at the change log it shouldn't be too bad!

bebraw commented 3 years ago

v2 is out now. Here's the full change log: https://github.com/tailwindlabs/tailwindcss/releases/tag/v2.0.0 .

I see some removals and renames. To make the work a bit easier, I tried to compile a list of changes for you to check:

Note that there are a bunch of additions as well:

I think that should be most of it. It's quite a few changes but I imagine most are fast to do.

lukejacksonn commented 3 years ago

Man, this is incredibly useful, thank you so much! I have been waiting for an official release so that I didn't end up changing stuff that wasn't going to make the cut.

Like you say, most of these should be pretty easy to implement. I will try get around to it over the weekend.

bebraw commented 3 years ago

Sure, the official release notes contain more info about the specifics. Feel free to ping me if you need any help. 😄