Upgrade Astro and Tailwind - #33
Conversation
Use the new @tailwindcss/vite plugin instead of the deprecated @astrojs/tailwind plugin
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Tailwind v4 moves from tailwind.config.mjs to using the @theme directive in css: https://tailwindcss.com/docs/upgrade-guide#using-a-javascript-config-file There is currently no way to cleanly reference the default font stack without copy-pasting in Tailwind v4: tailwindlabs/tailwindcss#15253
|
Many thanks for sharing this dependency upgrade path, @thomas-kuntz! When I tried this PR branch, I noticed the link text colour was no longer inheriting the regular text colour, but stuck on the link-hover colour instead. To clarify, I've attached a couple of screenshots in dark and light mode which demonstrate how the "Astro Sphere" and "Astro Nano on GitHub" links have the link-hover colour by default instead of the inheriting of the colour of the text around it. Dark mode
Light mode
|
|
@thomas-kuntz i want to update my deps and would love to merge this PR into my project. would you mind commenting on @rdhar 's bug above? |
|
Just remove the |


Thank you for creating this template!