Skip to content

Commit 07cff85

Browse files
Userclaude
authored andcommitted
fix(css): Tailwind must scan pro/ — gitignored dir was excluded, dropping pro-only utilities
Tailwind v4 auto-detects content but skips .gitignored paths; pro/ is gitignored, so any utility used only in pro screens (e.g. gap-x-16) was never generated — silently breaking pro layout/spacing (the 'kissing' cards). Add @source for pro/renderer. No-op in the open build (pro/ absent). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4e05bd6 commit 07cff85

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/renderer/src/assets/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
@import './base.css';
22
@import "tailwindcss";
33

4+
/* Tailwind v4 auto-detects content but SKIPS .gitignored paths — and the pro/
5+
submodule is gitignored. Without this, any utility class used only in pro
6+
screens (e.g. gap-x-16) is never generated → broken spacing in the pro build.
7+
Force the scan to include it. (No-op in the open build where pro/ is absent.) */
8+
@source "../../../../pro/renderer";
9+
410
@theme {
511
--animate-spotlight: spotlight 2s ease .75s 1 forwards;
612
--animate-orbit: orbit calc(var(--duration)*1s) linear infinite;

0 commit comments

Comments
 (0)