tailwind-lint 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ tailwind-lint --verbose
|
|
|
50
50
|
**Tailwind CSS v4:**
|
|
51
51
|
|
|
52
52
|
- Finds CSS config files in common locations: `app.css`, `index.css`, `tailwind.css`, `global.css`, etc.
|
|
53
|
-
- Searches in project root and subdirectories: `./`, `./src/`, `./src/styles/`, `./app/`,
|
|
53
|
+
- Searches in project root and subdirectories: `./`, `./src/`, `./src/styles/`, `./app/`, etc.
|
|
54
54
|
- Detects `vite.config.*` files that use `@tailwindcss/vite`
|
|
55
55
|
- Prefers real CSS configs when present, so custom `@theme` tokens and `@source` directives are available to diagnostics
|
|
56
56
|
- Uses file patterns from `@source` directives if present
|
|
@@ -145,7 +145,7 @@ export default defineConfig({
|
|
|
145
145
|
});
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
If a real CSS config is also present,
|
|
148
|
+
If a real CSS config is also present, the CLI uses that file so custom `@theme` tokens and `@source` directives are available to diagnostics.
|
|
149
149
|
|
|
150
150
|
### Tailwind CSS v3 (Legacy)
|
|
151
151
|
|
package/package.json
CHANGED