Extract reusable UI components for repeated style patterns #21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There's significant style duplication across the scenario page, particularly:
<button>elements with repeated 80s-theme classes (border-2 border-red-500 bg-black px-6 py-2 text-xs font-mono font-bold uppercase tracking-wider text-red-500 hover:bg-red-500 hover:text-black transition-colors)Extract these into reusable components (or extend existing shadcn/ui components with 80s theme variants):
Button— primary, secondary, danger variantsInput— themed input with consistent stylingSelect— themed select dropdownModal/Dialog— shared overlay + panel wrapperThis is a UI-only refactor — no behavior changes.
Closing as obsolete. The project is being rebuilt from scratch on Symfony + API Platform with a standalone React/Vite frontend (see the account-tracking rebuild direction). The component-extraction work — and the stashed commit 6 — is mooted: the new React frontend is built with clean shared components from day one. No carry-over needed.