Exclude generated bindings.ts from Tailwind content scan
Tailwind v4 auto-scans all source files; the 3000-line generated bindings.ts has no CSS classes and a large generated TS file can confuse class detection. Add an @source not exclusion.
This commit is contained in:
parent
dc1f516da7
commit
7d07b38d50
@ -1,5 +1,10 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|
||||||
|
/* Exclude the generated tauri-specta bindings from Tailwind's content scan.
|
||||||
|
It contains no CSS classes (only TS types/command wrappers), and scanning a
|
||||||
|
large generated file can confuse Tailwind v4's automatic class detection. */
|
||||||
|
@source not "./lib/api/bindings.ts";
|
||||||
|
|
||||||
/* Custom theme variables for JellyTau */
|
/* Custom theme variables for JellyTau */
|
||||||
@theme {
|
@theme {
|
||||||
--color-jellyfin: #00a4dc;
|
--color-jellyfin: #00a4dc;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user