codophile
v0.1.0
Published
CLI to copy Codophile UI themes into your project as local components
Downloads
128
Maintainers
Readme
codophile
CLI for Codophile: copy a UI theme from @codophile/ui into your project as local files under components/ui/<theme>/.
Full documentation: github.com/YOUR_GITHUB_ORG/codophile
Install
You must install both the CLI and the UI package (the CLI reads theme files from @codophile/ui):
npm install --save-dev @codophile/ui codophileCommands
npx codophile add <theme>Themes: glass, vintage
Examples
npx codophile add glass
npx codophile add vintageCreates components/ui/<theme>/ with button.tsx, card.tsx, input.tsx, cn.ts, and index.ts.
After adding a theme
- Point Tailwind at
components/ui(see main Codophile README). - Import from your alias, e.g.
@/components/ui/glass.
Requirements
- Node.js 18+
@codophile/uiinstalled in the same project where you run the CLI
License
MIT
