I am batman
This commit is contained in:
15
.github/instructions/ui.md
vendored
Normal file
15
.github/instructions/ui.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user