No config file is a big change! Tailwindcss setup always felt like it was too much for what it was. Really glad this process is so much simpler now! Great video Ankita!
Hi! Thanks for the video. In our app, we were able to use the colors from the config in the JavaScript code. It was sometimes used to give some colors to libraries that we cannot style with classes. It seems like we are loosing this possibility with tailwind 4 and that we would need to duplicate the colors in the css and in JavaScript. Am I wrong on this?
Great video Ankita. Is it possible to create a new theme color from another CSS variable? For example let's say I have this in my page: :root { --my-custom-color: rgba(205,45,159,1); } Can I do something like this? @theme { --color-custom-1: var(--my-custom-color); } And would that generate corresponding Tailwind classes for bg colors, text colors and allow using the opacity classes with them too?
What do you think of the new Tailwind Alpha Release? What did you like and dislike about it? Letâs discuss! ð
Hi , How do you install?
You need install the regular tailwind with vite and react and the install the plugin?
No config file is a big change! Tailwindcss setup always felt like it was too much for what it was. Really glad this process is so much simpler now! Great video Ankita!
Thanks Danny! Glad you liked it and yes excited for the Tailwind Config File gone :)
Hi after listening about the alpha release i am in love with tailwind again ð
Haha yes ð many love it as you donât have to shift back and forth between CSS and JS!
Can you please also make a video on how you record the screen & your video editing workflow
Hi! Thanks for the video.
In our app, we were able to use the colors from the config in the JavaScript code. It was sometimes used to give some colors to libraries that we cannot style with classes. It seems like we are loosing this possibility with tailwind 4 and that we would need to duplicate the colors in the css and in JavaScript. Am I wrong on this?
Since they are exposed as native variables, you can access them using var(), I show an example at 7:06. Would you be able to pass using var?
var would work in css right? I can't have a string with the color value in it in the JavaScript code, right?
How do we add plugins? like tailwind's typography?
Great video Ankita. Is it possible to create a new theme color from another CSS variable? For example let's say I have this in my page:
:root {
--my-custom-color: rgba(205,45,159,1);
}
Can I do something like this?
@theme {
--color-custom-1: var(--my-custom-color);
}
And would that generate corresponding Tailwind classes for bg colors, text colors and allow using the opacity classes with them too?
Hii ankita, nice tutorial. Can you make your voice little bit softer?
Thanks Tejas, Iâll see what I can do next time!