@php $branding = app(\App\Support\Branding::class); $theme = auth()->user()?->theme ?? 'system'; @endphp $theme === 'dark']) data-theme="{{ $theme }}"> {{ $branding->portalName() }} @if ($theme === 'system') {{-- Dunkles Systemdesign vor dem ersten Zeichnen übernehmen – kein helles Aufblitzen. --}} @endif @vite('resources/js/app.js') @inertiaHead @inertia