|
2 | 2 | "version": 1.1,
|
3 | 3 | "atDirectives": [
|
4 | 4 | {
|
5 |
| - "name": "@tailwind", |
6 |
| - "description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.", |
| 5 | + "name": "@import", |
| 6 | + "description": "Use the `@import` directive to inline CSS files, including Tailwind itself, into your stylesheet.", |
7 | 7 | "references": [
|
8 | 8 | {
|
9 | 9 | "name": "Tailwind Documentation",
|
10 |
| - "url": "https://tailwindcss.com/docs/functions-and-directives#tailwind" |
| 10 | + "url": "https://tailwindcss.com/docs/functions-and-directives#import" |
| 11 | + } |
| 12 | + ] |
| 13 | + }, |
| 14 | + { |
| 15 | + "name": "@theme", |
| 16 | + "description": "Use the `@theme` directive to define custom design tokens like fonts, colors, and breakpoints.", |
| 17 | + "references": [ |
| 18 | + { |
| 19 | + "name": "Tailwind Documentation", |
| 20 | + "url": "https://tailwindcss.com/docs/functions-and-directives#theme" |
| 21 | + } |
| 22 | + ] |
| 23 | + }, |
| 24 | + { |
| 25 | + "name": "@layer", |
| 26 | + "description": "Use the `@layer` directive inside `@theme` to organize custom styles into different layers like `base`, `components`, and `utilities`.", |
| 27 | + "references": [ |
| 28 | + { |
| 29 | + "name": "Tailwind Documentation", |
| 30 | + "url": "https://tailwindcss.com/docs/functions-and-directives#layer" |
11 | 31 | }
|
12 | 32 | ]
|
13 | 33 | },
|
|
22 | 42 | ]
|
23 | 43 | },
|
24 | 44 | {
|
25 |
| - "name": "@responsive", |
26 |
| - "description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n", |
| 45 | + "name": "@config", |
| 46 | + "description": "Use the `@config` directive to load a legacy JavaScript-based Tailwind configuration file.", |
27 | 47 | "references": [
|
28 | 48 | {
|
29 | 49 | "name": "Tailwind Documentation",
|
30 |
| - "url": "https://tailwindcss.com/docs/functions-and-directives#responsive" |
| 50 | + "url": "https://tailwindcss.com/docs/functions-and-directives#config" |
31 | 51 | }
|
32 | 52 | ]
|
33 | 53 | },
|
34 | 54 | {
|
35 |
| - "name": "@screen", |
36 |
| - "description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n", |
| 55 | + "name": "@reference", |
| 56 | + "description": "Use the `@reference` directive to import theme variables, custom utilities, and custom variants from other files without duplicating CSS.", |
37 | 57 | "references": [
|
38 | 58 | {
|
39 | 59 | "name": "Tailwind Documentation",
|
40 |
| - "url": "https://tailwindcss.com/docs/functions-and-directives#screen" |
| 60 | + "url": "https://tailwindcss.com/docs/functions-and-directives#reference" |
41 | 61 | }
|
42 | 62 | ]
|
43 | 63 | },
|
44 | 64 | {
|
45 |
| - "name": "@variants", |
46 |
| - "description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n", |
| 65 | + "name": "@plugin", |
| 66 | + "description": "Use the `@plugin` directive to load a legacy JavaScript-based Tailwind plugin.", |
47 | 67 | "references": [
|
48 | 68 | {
|
49 | 69 | "name": "Tailwind Documentation",
|
50 |
| - "url": "https://tailwindcss.com/docs/functions-and-directives#variants" |
| 70 | + "url": "https://tailwindcss.com/docs/functions-and-directives#plugin" |
51 | 71 | }
|
52 | 72 | ]
|
53 | 73 | }
|
|
0 commit comments