@php // Login is always dark. This has to be repeated here even though login.blade.php already // sets it: the admin.* view composer runs on this partial too and overwrites any value // passed down by @include, so an inherited $admin_theme_style would be back to 'light'. // Keep this in sync with login.blade.php or the stylesheets below stop matching the // {{ $admin_theme_style }}-style class on . $admin_theme_style = 'dark'; @endphp @if ( $admin_theme_style =='dark' ) @elseif($admin_theme_style =='semi-dark') @else @endif