typewind
typewind copied to clipboard
The safety of Typescript with the magic of Tailwind.
I'm running into the following erro when trying to run `typewind generate` I'm guessing it is not able to parse the CSS variable based on the output ```shell SyntaxError: CssSyntaxError:...
Hi there! It looks like the `@tailwindcss/container-queries` https://github.com/tailwindlabs/tailwindcss-container-queries plugin may not be supported due to a compilation error with the types. I tried using the Vite example https://typewind.vercel.app/docs/examples/vite ``` SyntaxError:...
First of all, kudos on what looks to be a great library 🎉 Noticed the Vite docs that show how to add the Babel plugin for React, any chance this...
Hi, thank you for this fantastic tool :heart: In the version `3.3` of Tailwind CSS, they added a support for [ESM and TypeScript config](https://tailwindcss.com/blog/tailwindcss-v3-3#esm-and-typescript-support). I've changed my config to ESM,...
Create a codemod that converts tailwind classes to typewind. I still need to figure out the patterns we want to observe and how to make sure it's a class from...
Would be nice to have. See: https://tailwindcss.com/blog/automatic-class-sorting-with-prettier
```tw.group()``` is a function which requires styles, while in the [twailwind doc](https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state) we can use it as a simple class.
Tailwind v3 supports [data attributes](https://tailwindcss.com/docs/hover-focus-and-other-states#data-attributes), e.g. ```html ``` These are useful for libraries like [Radix UI](https://www.radix-ui.com/docs/primitives/overview/introduction) that uses [data attributes](https://www.radix-ui.com/docs/primitives/overview/styling#data-attributes) for state-based styling. Perhaps a syntax like `tw.data("size=large", tw.p_8)` would...
When `noUncheckedIndexedAccess` is enabled, arbitrary values like `tw.after(tw.content_["'Hi'"])` throw the following error: `Argument of type 'Property | undefined' is not assignable to parameter of type 'Property'.`. This is expected, and...
### Discussed in https://github.com/Mokshit06/typewind/discussions/27 Originally posted by **SamueleBarbiera** February 7, 2023 Can it be used lime nativewind or even implementend in the t3-turbo stack?