{ "version": 4.0, "atDirectives": [ { "name": "@import", "description": "Use the `@import` directive to inline import CSS files, including Tailwind itself.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#import-directive" } ] }, { "name": "@theme", "description": "Use the `@theme` directive to define your project's custom design tokens, like fonts, colors, and breakpoints.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#theme-directive" } ] }, { "name": "@source", "description": "Use the `@source` directive to explicitly specify source files that aren't picked up by Tailwind's automatic content detection.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#source-directive" } ] }, { "name": "@utility", "description": "Use the `@utility` directive to add custom utilities to your project that work with variants like `hover`, `focus` and `lg`.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#utility-directive" } ] }, { "name": "@variant", "description": "Use the `@variant` directive to apply a Tailwind variant to styles in your CSS. If you need to apply multiple variants at the same time, use nesting.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#variant-directive" } ] }, { "name": "@custom-variant", "description": "Use the `@custom-variant` directive to add a custom variant in your project. This lets you write utilities like `pointer-coarse:size-48` and `theme-midnight:bg-slate-900`.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#custom-variant-directive" } ] }, { "name": "@apply", "description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you need to write custom CSS (like to override the styles in a third-party library) but still want to work with your design tokens and use the same syntax you’re used to using in your HTML.", "references": [ { "name": "Tailwind Documentation", "url": "https://tailwindcss.com/docs/functions-and-directives#apply-directive" } ] }, { "name": "@reference", "description": "If you want to use `@apply` or `@variant` in the `