ben-rogerson / twin.macro

๐Ÿฆนโ€โ™‚๏ธ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
MIT License
7.89k stars 184 forks source link

The default config stub in tailwind has been renamed in v3.3.0 #791

Closed manojthomas13 closed 1 year ago

manojthomas13 commented 1 year ago

It looks like the defaultConfig.stub imported here https://github.com/ben-rogerson/twin.macro/blob/22530e2043b681af1a4d5c9c0db98f86685b1db8/src/core/lib/util/twImports.ts#L11 has been renamed to config.full.js in v3.3.0, https://github.com/tailwindlabs/tailwindcss/pull/10785/files#diff-80719d2d3e7493b57a3d73a3f9fb4fda9b407d119ff73bef44ee327b50f7576aL1

Thanks a ton for twin.macro

lemihthien commented 1 year ago

the same issue

agrattan0820 commented 1 year ago

Yep, experiencing the same issue

ben-rogerson commented 1 year ago

Got it - update coming soon.

The fix in the meantime is to use the previous tailwindcss version:

npm i tailwindcss@3.2.7
ben-rogerson commented 1 year ago

Fixed in v3.3 ๐ŸŽ‰