/* eslint-disable @next/next/no-img-element -- External card image URLs; next/image migration is out of scope. */ import { ManaCost } from './ManaSymbols'; import { Button } from './ui'; /* 2026-06-04 design-sweep pass: same broken Tailwind tokens (bg-bg-*, text-text-*, bg-accent-ember, hover:bg-accent-ember-dark) that the other deck builder files had — none of those classes are defined in tailwind.config.js, so this list rendered with no visible card surfaces or hover affordances. Sweep replaces with inline CSS variables + Button primitive. Rarity badges reuse the neutral palette from DeckBuilderCardBrowser. */ const rarityBadgeStyle = (rarity) => { switch (rarity) { case 'mythic': return { backgroundColor: 'var(--accent-ember)', color: '#ffffff' }; case 'rare': return { backgroundColor: 'var(--accent-flame)', color: '#ffffff' }; case 'uncommon': return { backgroundColor: 'var(--bg-tertiary)', color: 'var(--text-primary)' }; default: return { backgroundColor: 'var(--bg-tertiary)', color: 'var(--text-secondary)' }; } }; export default function DeckBuilderDeckList({ deckCards, sidebarOpen, onOpenSidebar, manaSymbolSettings, onAddCard, onRemoveCard, }) { return (
Start building your deck by searching for cards
{!sidebarOpen && ( )}{card.set_name}