@extends('layouts.base') @section('content') @section('breadcrumb') @endsection
Modifier le thème
@csrf @method('PUT')
Nom du thème *
@error('name')
{{ $message }}
@enderror Donnez un nom descriptif à votre thème
Couleur primaire *
@error('primary_color')
{{ $message }}
@enderror Choisissez la couleur primaire de votre thème
Mode sombre
dark_mode) ? 'checked' : '' }}>
@error('dark_mode')
{{ $message }}
@enderror Activez le mode sombre pour ce thème
Logo
@if($theme->getFirstMedia('logo'))
Logo actuel Logo actuel
@endif Format recommandé : PNG, JPG ou SVG. Le logo sera automatiquement converti en WebP. Taille max : 2MB @error('logo')
{{ $message }}
@enderror
Favicon
@if($theme->getFirstMedia('favicon'))
Favicon actuel Favicon actuel
@endif Format recommandé : ICO, PNG ou SVG. Taille recommandée : 32x32px ou 16x16px. Taille max : 2MB @error('favicon')
{{ $message }}
@enderror
Police des titres (h1, h2)
Police utilisée pour les titres de pages, carrousels, programmes, argumentaires, blocs, menu...
@php $defaultFont = $fonts ? array_key_first($fonts) : 'Arial'; $selectedFont = old('secondary_font_family', $theme->secondary_font_family ?? $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('secondary_font_family')
{{ $message }}
@enderror
Police de texte
Police utilisée pour tous les corps de texte, argumentaires, labels, infos programmes...
@php $selectedFont = old('primary_font_family', $theme->primary_font_family ?? $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('primary_font_family')
{{ $message }}
@enderror
Annuler
Aperçu en temps réel
@endsection @push('styles') @endpush @push('scripts') @endpush