diff --git a/changelog.d/fix-demo-source.fixed.md b/changelog.d/fix-demo-source.fixed.md new file mode 100644 index 0000000..74917fe --- /dev/null +++ b/changelog.d/fix-demo-source.fixed.md @@ -0,0 +1 @@ +Fix demo site styling on Vercel by scanning source components for Tailwind classes diff --git a/demo/demo.css b/demo/demo.css index 153f872..f2db4a2 100644 --- a/demo/demo.css +++ b/demo/demo.css @@ -1,2 +1,5 @@ @import "tailwindcss"; @import "../src/theme/tokens.css"; + +/* Scan source components so Tailwind generates utility classes for them */ +@source "../src/**/*.{ts,tsx}";