Docs
Troubleshooting

Customization

Learn about customization troubles and their solutions.

Tailwind configuration aren't reflected in my new package

Add the package to the include array in tooling/tailwind-config/index.js:

const config = {
  darkMode: ['class'],
  content: [
    '../../apps/dashboard/**/*.{ts,tsx}',
    '../../apps/marketing/**/*.{ts,tsx}',
    '../../packages/my-package/**/*.{ts,tsx}',
    '../../packages/ui/**/*.{ts,tsx}',
    '!**/.next',
    '!**/.cache',
    '!**/.content-collections',
    '!**/.turbo',
    '!**/node_modules',
    '!**/build',
    '!**/dist'
  ],
  // ...
}