-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update for Tailwind 4 #372
Comments
This is what I used in src/app/globals.css
WARNING It is possible this can work using @import may work instead of @plugin but I have not tried yet. See tw docs |
@gene-git thank you for that. It also works with
Using |
It may also be helpful to include some details on customizing since the docs talk all about using the JS config file instead of theme. For example, what's the best way to set the colors to Slate or Zinc? |
There's zero information I can find for plugin developers about how to support v4. It feels like they were in such a hurry to release it, that pretty simple questions never got answered. |
Also wondering why there is no mention of typography and other plugsins here or in the upgrade guide. |
I always renamed it to |
Hopefully they'll offer a CSS stylesheet with the correct utility class definitions. You can also generate a style sheet via postcss manually - but it won't have the utility class settings via A bit like @victorelgersma has done here... https://github.com/victorelgersma/tailwind-typography-stylesheet (although |
I can also see some mention of typography but I'm not sure if this is how we configure the styles in tailwind typography: |
What version of @tailwindcss/typography are you using?
4.0.0
What version of Node.js are you using?
22.11.0
What browser are you using?
Chrome
What operating system are you using?
Linux
Reproduction repository
https://github.com/tailwindlabs/tailwindcss-typography
Describe your issue
The readme here says
Then add the plugin to your tailwind.config.js file
, but runningpnpx @tailwindcss/upgrade@next
as instructed in https://tailwindcss.com/docs/upgrade-guide#using-the-upgrade-tool removed mytailwind.config.js
file. The upgrade guide doesn't make any mention of plugins. The readme here doesn't specify if this plugin works with Tailwind 3 and/or 4The docs for the other plugins such as forms and container queries need to be updated as well
The text was updated successfully, but these errors were encountered: