diff --git a/app/Providers/HorizonServiceProvider.php b/app/Providers/HorizonServiceProvider.php new file mode 100644 index 00000000..3383835e --- /dev/null +++ b/app/Providers/HorizonServiceProvider.php @@ -0,0 +1,50 @@ +is_admin == true; + }); + } + + /** + * Register any application services. + * + * @return void + */ + public function register() + { + if(config('horizon.darkmode') == true) { + Horizon::night(); + } + } +}