@zenobius/pi-ds
v0.0.1
Published
A design system for pi-mono extensions.
Readme
pi-ds
A TUI design system for pi-mono

Features
- 🏗️ TypeScript-based TUI component architecture
- 🔧 Mise task runner integration
- 📦 Bun/npm build tooling
- ✨ ESLint + Prettier formatting
- 🧪 Vitest testing setup
- 🚀 GitHub Actions CI/CD
- 📝 Release automation with release-please
Usage
In your pi-mono extensions, ensure you have a package.json file set up. Then, install
and import the design system:
bun add @zenobius/pi-dsimport { Grid, Flex, Sized, sized } from '@zenobius/pi-ds';Development
Clone this repository:
git clone https://github.com/zenobi-us/pi-ds.git cd pi-dsInstall dependencies:
mise setupImplement your TUI components in
src/{name}.ts:Test your components:
mise run test #runs pi with a kitchen sink extension that uses the ds
Dev Commands
mise run build- Build the design systemmise run test- Run testsmise run lint- Lint codemise run lint:fix- Fix linting issuesmise run format- Format code with Prettier
Contributing
Contributions are welcome! Please file issues or submit pull requests on the GitHub repository.
License
MIT License. See the LICENSE file for details.
