Skip to content

Commit 020c542

Browse files
delucisanaxitesarah11918AdammatthiesenHiDeoo
authoredMar 20, 2025··
Add deprecation notice to Tailwind integration README (#13471)
* Add deprecation notice to Tailwind integration README * Add changeset * Use `[docs]` link style again * update link to more direct content --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: anaxite <89195061+anaxite@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Adammatthiesen <30383579+Adammatthiesen@users.noreply.github.com> Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
1 parent baa6265 commit 020c542

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed
 

‎.changeset/witty-socks-relax.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/tailwind': patch
3+
---
4+
5+
Updates the README to indicate that the Tailwind integration is deprecated

‎packages/integrations/tailwind/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# @astrojs/tailwind 💨
22

3-
This **[Astro integration][astro-integration]** brings [Tailwind's](https://tailwindcss.com/) utility CSS classes to every `.astro` file and [framework component](https://docs.astro.build/en/core-concepts/framework-components/) in your project, along with support for the Tailwind configuration file.
4-
5-
## Documentation
6-
7-
Read the [`@astrojs/tailwind` docs][docs]
3+
> ⚠️ **This integration is deprecated**
4+
>
5+
> [Tailwind CSS now offers a Vite plugin](https://tailwindcss.com/docs/installation/framework-guides/astro) which is the preferred way to use Tailwind 4 in Astro.
6+
>
7+
> [Learn how to use Tailwind in your Astro project in the Styling guide.][docs]
88
99
## Support
1010

@@ -29,7 +29,7 @@ MIT
2929
Copyright (c) 2023–present [Astro][astro]
3030

3131
[astro]: https://astro.build/
32-
[docs]: https://docs.astro.build/en/guides/integrations-guide/tailwind/
32+
[docs]: https://docs.astro.build/en/guides/styling/#tailwind
3333
[contributing]: https://github.com/withastro/astro/blob/main/CONTRIBUTING.md
3434
[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md
3535
[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md

0 commit comments

Comments
 (0)
Please sign in to comment.