16 lines
742 B
Markdown
16 lines
742 B
Markdown
# UI Instructions
|
|
|
|
## Scope
|
|
- Applies to page/component work under `src/app`, `src/components`, and `src/features`.
|
|
|
|
## Rules
|
|
- Preserve existing design language and component primitives from `src/components/ui`.
|
|
- Keep layouts responsive with explicit overflow control for dense views (e.g., kanban horizontal overflow).
|
|
- Prefer composition over one-off custom widgets; reuse dialog, card, table, and form primitives.
|
|
- Keep interaction states clear (loading, empty, error) for data-driven pages.
|
|
- Avoid visual regressions in header/sidebar containment when introducing horizontal scroll regions.
|
|
|
|
## Accessibility
|
|
- Maintain keyboard access for dialogs, menus, and drag handles.
|
|
- Keep meaningful `sr-only` labels for icon-only controls.
|