@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
@csrf
@foreach ($themes as $item) @php($saved = $settingsService->get($item)) @php($variant = $settingsService->variant($item)) @php($issues = $accessibility->validate($item)) @php($appearance = $settingsService->appearance($item)) @php($accent = $settingsService->accent($item))
@if ($item->preview() && $item->has($item->preview())) {{ $item->name() }} theme preview @else
Add preview.webp to this theme
@endif

{{ $item->name() }}

v{{ $item->version() }}@if($item->author()) ยท {{ $item->author() }}@endif

@if(($item->type() === 'frontend' && $item->key() === $activeFrontendTheme) || ($item->type() === 'backend' && $item->key() === $activeBackendTheme))Active {{ ucfirst($item->type()) }}@endif
@if($item->description())

{{ $item->description() }}

@endif @if($item->parent())

Child of {{ $item->parent() }}

@endif
@if(in_array($item->type(), ['frontend', 'backend'], true))
@csrf
Preview @endif Export ZIP
@csrf
@if(str_starts_with(realpath($item->path()) ?: '', realpath(config('stylist.themes_path')) ?: '/__never__'))
@csrf @method('DELETE')
@endif
Theme settings
@csrf @method('PUT') @if($item->variants()) @endif @if($item->supports('dark_mode') || $item->appearances()) @endif @if($item->accents())
Accent colour
@foreach($item->accents() as $name => $definition)@endforeach
@endif @foreach($item->settingsSchema() as $key => $definition) @php($definition = is_array($definition) ? $definition : ['default' => $definition]) @endforeach
Accessibility: {{ count($issues) ? count($issues).' issue(s)' : 'passed static checks' }}
@endforeach