Extract reusable UI components for repeated style patterns #21

Open
opened 2026-03-23 01:57:35 +01:00 by myrmidex · 0 comments
Owner

There's significant style duplication across the scenario page, particularly:

  • Buttons: Multiple raw <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)
  • Form inputs: Income input, modal inputs all share the same base styling
  • Selects: Modal selects duplicate styling
  • Modal containers: Create and Edit modals share identical overlay + panel structure

Extract these into reusable components (or extend existing shadcn/ui components with 80s theme variants):

  • Button — primary, secondary, danger variants
  • Input — themed input with consistent styling
  • Select — themed select dropdown
  • Modal / Dialog — shared overlay + panel wrapper

This is a UI-only refactor — no behavior changes.

There's significant style duplication across the scenario page, particularly: - **Buttons**: Multiple raw `<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`) - **Form inputs**: Income input, modal inputs all share the same base styling - **Selects**: Modal selects duplicate styling - **Modal containers**: Create and Edit modals share identical overlay + panel structure Extract these into reusable components (or extend existing shadcn/ui components with 80s theme variants): - `Button` — primary, secondary, danger variants - `Input` — themed input with consistent styling - `Select` — themed select dropdown - `Modal` / `Dialog` — shared overlay + panel wrapper This is a UI-only refactor — no behavior changes.
myrmidex added this to the v0.2.0 milestone 2026-03-23 01:57:35 +01:00
myrmidex added the
enhancement
label 2026-03-23 01:57:35 +01:00
myrmidex modified the milestone from v0.2.0 to v0.3.0 2026-03-29 23:40:57 +02:00
myrmidex self-assigned this 2026-03-30 01:35:12 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lvl0/buckets#21
No description provided.