Skip to content

Commit 0f78e35

Browse files
committed
docs: add mobile responsiveness guidelines to contributing
1 parent 5bce372 commit 0f78e35

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@ This is an Angular 21 project using standalone components and signals.
8989
- **Color palette** — use `kitty-*` colors from `tailwind.config.js`
9090
- **Branding** — pink (`pink-*`) colors reserved for Confitty accents
9191

92+
### Mobile Responsiveness
93+
94+
- **Mobile-first** — base styles for mobile, use `lg:` and `sm:` for larger screens
95+
- **Touch targets** — buttons should be at least `w-9 h-9` (36px) for easy tapping
96+
- **Responsive text** — use `text-xs lg:text-sm` for readable scaling
97+
- **Spacing** — use `p-4 lg:p-8` and similar responsive spacing
98+
- **Hide on mobile** — use `hidden lg:block`, `hidden sm:inline` as needed
99+
- **Sidebar** — collapsible on mobile with overlay backdrop
100+
- **Preview panel** — full-screen overlay on mobile, side panel on desktop
101+
92102
### Naming
93103

94104
| Type | Convention | Example |

0 commit comments

Comments
 (0)