From 7d07b38d50a5b997a761ba33a87f9f802d9747d3 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 20 Jun 2026 18:38:59 +0200 Subject: [PATCH] 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. --- src/app.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.css b/src/app.css index 10532ca..f2409cc 100644 --- a/src/app.css +++ b/src/app.css @@ -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;