@extends('layouts.base') @section('content') @section('breadcrumb') @endsection
Créer un thème
@csrf
@error('name')
{{ $message }}
@enderror Donnez un nom descriptif à votre thème
@error('primary_color')
{{ $message }}
@enderror Choisissez la couleur primaire de votre thème
@error('dark_mode')
{{ $message }}
@enderror Activez le mode sombre pour ce thème
@php $defaultFont = $fonts ? array_key_first($fonts) : 'Arial'; $selectedFont = old('primary_font_family', $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('primary_font_family')
{{ $message }}
@enderror
@php $selectedFont = old('secondary_font_family', $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('secondary_font_family')
{{ $message }}
@enderror
@php $selectedFont = old('tertiary_font_family', $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('tertiary_font_family')
{{ $message }}
@enderror
@php $selectedFont = old('fourth_font_family', $defaultFont); @endphp @foreach($fonts as $fontName => $fontData)
@endforeach
@error('fourth_font_family')
{{ $message }}
@enderror
Annuler
Aperçu en temps réel
@endsection @push('styles') @endpush @push('scripts') @endpush