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:
Duncan Tourolle 2026-06-20 18:38:59 +02:00
parent dc1f516da7
commit 7d07b38d50

View File

@ -1,5 +1,10 @@
@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 */
@theme {
--color-jellyfin: #00a4dc;