@mystejs/theme
v0.1.5
Published
Reusable theme and design-token foundation for MysTe applications.
Readme
Theme Platform Architecture
The Theme Platform owns reusable design-token structures and theme composition.
Responsibilities
- Reusable semantic color tokens
- Reusable spacing tokens
- Reusable radius tokens
- Reusable shadow tokens
- Default theme definition
- Theme creation
- Theme token merging
Boundaries
- Tokens belong here.
- Theme composition belongs here.
- UI rendering does not belong here.
- Application-specific visual decisions remain in consuming applications.
- Business logic does not belong here.
Consumption
Consuming applications may map these tokens to their own rendering system, such as CSS variables or a component library.
The package does not depend on React, Next.js, CSS, or any application.
