Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Document Tailwind CSS support for CSS files (#63110)

Jake Bailey35aab214c2df
diff --git a/docs/src/languages/css.md b/docs/src/languages/css.md
index 76303edcc8d..5d1716fe8e1 100644
--- a/docs/src/languages/css.md
+++ b/docs/src/languages/css.md
@@ -14,9 +14,11 @@ Zed has built-in support for CSS.
## Tailwind CSS
-Zed also supports [Tailwind CSS](./tailwindcss.md) out-of-the-box for languages and frameworks like JavaScript, Astro, Svelte, and more.
+Zed also supports [Tailwind CSS](./tailwindcss.md) out-of-the-box. To use Tailwind CSS IntelliSense in CSS files, configure the Tailwind CSS language server for the `CSS` language and disable the default CSS language server. See the [docs page](./tailwindcss.md#L45) for Tailwind CSS for more detail.
-<!-- TBD: Document CS -->
+This enables autocomplete, diagnostics, and hover previews for Tailwind-specific CSS such as `@apply`, `@layer`, and `@theme`. The `tailwindcss-intellisense-css` language server is provided by Zed's built-in Tailwind CSS capabilities, and is an alternative to the default CSS language server; do not enable both at the same time.
+
+For Tailwind CSS classes in other languages and frameworks, see the [language-specific configuration examples](./tailwindcss.md).
## Recommended Reading