app->singleton(ThemeService::class, fn () => new ThemeService); } public function boot(): void { if (config('theme.active')) { app(ThemeService::class)->set( config('theme.active'), config('theme.parent'), ); } } }