What problem does it solve?
Reduces duplication and inconsistency by guiding engineers to add or update reusable UI components in the shared design system so components are discoverable, properly styled, and consumable across Ionic + Angular apps in the monorepo.
Core Features & Use Cases
- Search-first workflow: Instructs developers to search packages/ui-theme for existing components and styles before creating new ones to maximize reuse.
- Shared component creation: Defines where to add TypeScript, template, and SCSS files inside packages/ui-theme/src/lib/components and how to export them so apps can import from @sheldrapps/ui-theme.
- Style and validation rules: Explains adding shared style partials to styles/index.scss, avoiding app-level global SCSS, and validating changes via pnpm test, lint, and build. Use case: implement a SaveCoverModalComponent in ui-theme and consume it from the cover-creator app without adding new app-level SCSS.
Quick Start
Search packages/ui-theme for similar components, add your component under packages/ui-theme/src/lib/components, export it from the component and package indexes, import it from @sheldrapps/ui-theme in the app, and run pnpm test, lint, and build.