| Name | Last commit date | |
|---|---|---|
| .. | ||
| buttons.tsx | 6 months ago | |
| configs.test.ts | 8 months ago | |
| configs.ts | 8 months ago | |
| index.ts | 6 months ago | |
| page-state.test.tsx | 6 months ago | |
| page-state.tsx | 6 months ago | |
| primitives.test.ts | 6 months ago | |
| primitives.tsx | 7 months ago | |
| README.md | 8 months ago | |
| refresh-button.test.tsx | 6 months ago | |
| refresh-button.tsx | 6 months ago | |
| types.ts | 8 months ago | |
UI Kit
This folder is the standardized visual foundation for frontend surfaces.
Scope
- Building blocks: reusable UI primitives for panel surfaces, status badges, timeline markers, pulse labels, modal shells, and shared content surfaces.
- Styles: shared tone config and class conventions.
- Themes: all primitives must consume theme variables (
--bg,--surface,--fg,--dim,--border,--hl1,--hl2,--hl3,--err).
Files
types.ts:UiTonecontract.configs.ts: tone mapping + required theme variables.primitives.tsx: reusable components:UiPanelSurfaceUiStatusBadgeUiTimelineMarkerUiPulseLabelUiStatusPillUiMetricTileUiInsetSurfaceUiModalUiModalHeader
Usage Rules
- New UI work should prefer
@/components/ui-kitprimitives before adding ad-hoc styles. - Do not hardcode colors in new components; use tone config or CSS theme variables.
- Keep feature components focused on behavior and data mapping; visual structure belongs in UI kit primitives.
Migration Plan
- Activity tab (completed in this rollout)
- Chat message chrome and toolbelt status controls
- Shared dashboard/config cards and badges
- Remaining page-level controls and modal patterns (in progress)