From e21b641b6d0989ff23ce57ae30626260fe240d80 Mon Sep 17 00:00:00 2001 From: "factory-droid[bot]" <138933559+factory-droid[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 20:17:15 +0000 Subject: [PATCH] docs: auto-update documentation  Error during droid execution: Exec ended early: insufficient permission to proceed. Re-run with --auto medium or --auto high. For destructive commands, use --skip-permissions-unsafe. Triggered by: pr 45352 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- docs/src/languages/tailwindcss.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/src/languages/tailwindcss.md b/docs/src/languages/tailwindcss.md index 457c71f9768610f5bfdf345e72c27311632f1bef..5ce2625b66b53b2c20aca0d0b28499f75182a271 100644 --- a/docs/src/languages/tailwindcss.md +++ b/docs/src/languages/tailwindcss.md @@ -39,6 +39,33 @@ If by default the language server isn't enough to make Tailwind work for a given Refer to [the Tailwind CSS language server settings docs](https://github.com/tailwindlabs/tailwindcss-intellisense?tab=readme-ov-file#extension-settings) for more information. +### Using Tailwind CSS Mode in CSS Files + +Zed includes support for the Tailwind CSS language mode, which provides full CSS +IntelliSense support even when using Tailwind-specific at-rules like `@apply`, +`@layer`, and `@theme`. + +To use the Tailwind CSS language mode for CSS files, add the following to +`languages` section of your `settings.json`: + +```json [settings] +{ + "languages": { + "CSS": { + "language_servers": [ + "tailwindcss-intellisense-css", + "!vscode-css-language-server", + "..." + ] + } + } +} +``` + +The `tailwindcss-intellisense-css` language server serves as an alternative to +the default CSS language server, maintaining all standard CSS IntelliSense +features while adding support for Tailwind-specific syntax. + ### Prettier Plugin Zed supports Prettier out of the box, which means that if you have the [Tailwind CSS Prettier plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) installed, adding it to your Prettier configuration will make it work automatically: