• Mahmoud Aglan's avatar
    feat: admin branding auto-saves on every edit + theme applies ALL values · 536fb81b
    Mahmoud Aglan authored
    Admin auto-save:
    - Every input change triggers save after 500ms debounce
    - No more 'Save' button needed — edits are instant
    - Color picker  text input sync (change one, other updates)
    - '✓ Saved' indicator flashes on successful save
    - Uses fetch POST to same page (no reload)
    
    Theme loader expanded:
    - Ludo colors mapped to CSS vars (--ludo-red, --ludo-blue, etc.)
    - Chess board colors mapped (--board-light, --board-dark, etc.)
    - All theme values exposed as window.__EL3AB_THEME for JS access
    - Games can read: window.__EL3AB_THEME?.ludo_red || '#E53935'
    
    All edits in admin are now effective:
    - Platform colors → CSS variables → used by all components
    - Game colors → CSS variables → used by board renderers
    - Animation speeds → CSS variables → used by transitions
    - Button shapes → CSS variables → used by .btn classes
    - Juice settings → available via getColor() for JS logic
    - Uploaded assets → served from /public/assets/brand/
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    536fb81b
Name
Last commit
Last update
.claude Loading commit data...
Connections and docs Loading commit data...
admin Loading commit data...
api Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
public Loading commit data...
screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...