976 B
Executable File
976 B
Executable File
Contributing
Adding a component
- Create it in
src/components/(primitive),src/animated/, orsrc/blocks/. - Use
cn()+class-variance-authorityfor variants. Wrap Radix for interactive primitives. - Follow DESIGN.md: tinted neutrals, layered shadows, ease-out motion, focus-visible rings, no nested cards.
- Export it from
src/index.ts. - Add the component and its important states to
showcase/showcase.tsx. - Add an interaction/accessibility test when behavior changes.
npm run checkmust pass.
Releasing
npm version <patch|minor|major> then npm publish (builds automatically).
Tag notes in the commit. Consuming apps bump at their own pace.
Design guardrail
Every visual change should survive impeccable audit/polish and the living
showcase in both themes. If the detector
flags something intentional (e.g. a brand font), add a scoped ignore in
.impeccable/config.json with a reason — don't disable the rule globally.