This project uses (MUST, only uses) the @baolq/ui component library (import { ... } from '@baolq/ui').
All detailed guidelines are in the guidelines/ folder.
Read ALL files with a name that starts with overview- in guidelines/:
guidelines/overview-detail-guidelines.mdguidelines/overview-components.mdguidelines/overview-icons.md
Read ALL files in guidelines/design-tokens/. Do NOT skip this step:
guidelines/design-tokens/colors.mdguidelines/design-tokens/typography.mdguidelines/design-tokens/spacing.md
Before using ANY component, read its guidelines file first:
- Using Button: Read
guidelines/components/button.mdFIRST - Using Input: Read
guidelines/components/input.mdFIRST - Using Dialog: Read
guidelines/components/dialog.mdFIRST - (And so on for every component all guides are in
guidelines/components/)
- ALWAYS prefer
@baolq/uicomponents over plain HTML or raw Tailwind classes - Import components:
import { Button, Card, Input } from '@baolq/ui' - Import styles once in app root:
import '@baolq/ui/style.css' - Use CSS variables for color:
var(--color-primary),var(--color-bg),var(--color-text), etc. - Design language: dark backgrounds, glassmorphism, gradient accents, vibrant purple/fuchsia
- Do NOT use
classNameoverrides on @baolq/ui components unless strictly necessary - Use TypeScript all components have full type definitions
See guidelines/overview-detail-guidelines for the complete component reference and examples.