• Mahmoud Aglan's avatar
    feat: branding admin fully connected to live system · 00ea47bc
    Mahmoud Aglan authored
    Theme loader (theme.js):
    - Reads theme.json on boot, applies CSS custom properties
    - All colors, animations, button shapes, and radii are live-editable
    - assetImg() helper renders uploaded assets at exact expected size
      with object-fit:contain (prevents pixelation/oversizing)
    
    Admin panel updates:
    - Button shapes section: radius, height, font weight, shadow, borders
    - 25 asset upload slots (up from 19) including tab bar icons
    - Each slot shows expected dimensions + usage hint in Arabic
    - Upload accepts SVG, PNG, JPG, WebP, GIF
    - Preview renders at exact expected size (not pixelated, not huge)
    - Old files for same slot are cleaned up on re-upload
    
    CSS connected to theme variables:
    - --btn-press-scale, --btn-min-height, --btn-weight, --btn-shadow
    - --r-full (button radius), --r-btn-secondary, --r-input
    - --card-border-width
    - All existing color variables mapped from theme.json
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    00ea47bc
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.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...