BMAD-METHOD/.claude/rules/tailwind-css-nextjs-guide-c.../tailwindcss-and-daisyui-rul...

11 lines
459 B
Plaintext

---
description: Rules for utilizing TailwindCSS and DaisyUI within React components.
globs: **/*.tsx
---
- Use TailwindCSS utility classes for styling
- Avoid custom CSS unless absolutely necessary
- Maintain consistent order of utility classes
- Use Tailwind's responsive variants for adaptive designs
- Leverage DaisyUI components for rapid development
- Customize DaisyUI components only when necessary
- Define and use design tokens in tailwind.config.js