@if($dashsetting->sidebar_enable== 1 || $dashsetting->seller_enable == 1) @else @endif @php if(Schema::hasTable('admincustomisations')){ $color = App\Admincustomisation::first(); } @endphp @if(isset($color)) @else @endif @if(selected_lang()->rtl_available == 0) @else @endif {{-- Admin custom color overrides (admincustomisation page) --}} @php try { $__adminColor = \App\Admincustomisation::first(); $__defaults = \App\Admincustomisation::DEFAULTS; $__pick = function($key) use ($__adminColor, $__defaults) { $v = $__adminColor ? trim((string) $__adminColor->{$key}) : ''; if (!preg_match('/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/', $v)) $v = $__defaults[$key]; return $v; }; $__sidebarBg = $__pick('sidebar_bg'); $__primary = $__pick('primary_color'); $__primaryD = $__pick('primary_dark'); $__accent = $__pick('accent_color'); $__contentBg = $__pick('content_bg'); $__cardBg = $__pick('card_bg'); $__textDark = $__pick('text_dark'); $__textMuted = $__pick('text_muted'); } catch (\Throwable $e) { $__sidebarBg = '#0a1430'; $__primary = '#3b6df0'; $__primaryD = '#2952d3'; $__accent = '#ff8a00'; $__contentBg = '#f0f5fb'; $__cardBg = '#ffffff'; $__textDark = '#1a2332'; $__textMuted = '#6b7a8d'; } @endphp {{-- @notify_css --}} {!! midia_css() !!} @yield('stylesheet')