Refine UI: real icons, reusable primitives, fluid transitions
Replaces every emoji (nav icons, swipe buttons, room reactions, logo) with lucide-react icons - consistent stroke weight/sizing instead of whatever each OS/browser renders emoji as. Adds src/components/ui/: Button (3 variants, consistent 44px targets, active:scale press feedback), Input/Textarea (consistent 16px text sizing), Skeleton/SkeletonRow (replaces plain "Loading…" text so the layout doesn't jump once real content arrives), EmptyState (consistent icon+message empty states) - eliminates the repeated ad-hoc Tailwind strings that had drifted slightly inconsistent across the 6 pages built one at a time. Fluid touches: transition-colors/transition-all with real durations on nav/buttons/cards instead of instant state changes, a custom @keyframes message-enter for new chat messages (tailwindcss-animate isn't installed and may not support Tailwind v4 cleanly, so this is a small hand-written animation instead of an unverified dependency), a pulsing live-room indicator dot, smooth chat auto-scroll. Typechecks clean, production build succeeds, dev server HMR'd every change without errors. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
| ... | ... | @@ -10,6 +10,7 @@ |
| "preview": "vite preview" | ||
| }, | ||
| "dependencies": { | ||
| "lucide-react": "^1.31.0", | ||
| "react": "^19.2.8", | ||
| "react-dom": "^19.2.8", | ||
| "react-router-dom": "^7.18.2" | ||
| ... | ... |
src/components/ui/Button.tsx
0 → 100644
src/components/ui/Input.tsx
0 → 100644
Please
register
or
sign in
to comment