default() ->id('admin') ->path('admin') ->homeUrl('/') ->brandName('') ->brandLogo(null) ->login() ->colors([ 'primary' => '#b83400', 'gray' => [ 50 => '#f6f5f0', 100 => '#eceadf', 200 => '#d1cfc0', 300 => '#b4b19b', 400 => '#9e9b81', 500 => '#7d775c', 600 => '#6d6850', 700 => '#453821', 800 => '#3a301c', 900 => '#2d2516', 950 => '#1f1a0f', ], 'danger' => Color::Red, 'info' => Color::Blue, 'success' => Color::Emerald, 'warning' => Color::Orange, ]) ->font('Trebuchet MS') ->viteTheme('resources/css/filament/admin/theme.css') ->discoverResources(in: app_path('Filament/Resources'), for: 'App\Filament\Resources') ->discoverPages(in: app_path('Filament/Pages'), for: 'App\Filament\Pages') ->pages([]) ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\Filament\Widgets') ->widgets([ AccountWidget::class, FilamentInfoWidget::class, \App\Filament\Widgets\DeliveryCalendarWidget::class, ]) ->middleware([ EncryptCookies::class, AddQueuedCookiesToResponse::class, StartSession::class, AuthenticateSession::class, ShareErrorsFromSession::class, VerifyCsrfToken::class, SubstituteBindings::class, DisableBladeIconComponents::class, DispatchServingFilamentEvent::class, ]) ->authMiddleware([ Authenticate::class, ]) ->darkMode(false) ->topNavigation() ->plugins([ FilamentFullCalendarPlugin::make()->plugins(['multiMonth']) ->selectable() ->editable(), ]) ->breadcrumbs(false) ->navigation(false) ->renderHook( PanelsRenderHook::TOPBAR_START, fn (): View => view('filament.components.speed-button-nav-bar'), ); } }