• Mahmoud Aglan's avatar
    feat(admin): branding edits The Cafe Deck tokens; theme saves need the admin · 034fc175
    Mahmoud Aglan authored
    - The colour section now edits the deck tokens (card back, card stock and
      inks, foil and signals, text) with tokens.css values as defaults; the top
      and tab bar section only lists values theme.js still applies.
    - Retired sections (home tiles, quick actions, game menu sheet, menu buttons,
      chips, bot cards, game gradients, pill radii) are gone; saving them did
      nothing after the redesign, and their old defaults could have overridden it.
    - Emoji replacement slots become icon overrides (icon_<name>); slots that are
      now drawn icons are dropped from the asset list. Board defaults match the
      printed boards.
    - POST /api/branding.php required no login at all: anyone could rewrite the
      theme for every player. It now requires the branding admin session.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    034fc175
branding.php 4.33 KB