Use game.color for GameCard fallback instead of static gradients

Replace hardcoded Tailwind gradient classes with dynamic background
color from the game's color field. Falls back to indigo if no color
is set.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-06 11:51:28 +01:00
parent f7f5417b6b
commit 93d0d8a9e2
2 changed files with 5 additions and 11 deletions

View File

@@ -18,5 +18,6 @@ Areas to evaluate:
- Navigation between run dashboard and encounters
- Empty states and onboarding flow
- Visual feedback for actions (success/error toasts, optimistic updates)
- It is unintuitive to not be able to deselect a game on the new run page
Produce a concrete plan with specific UI/UX changes to implement.