mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Internal Themes
This commit is contained in:
@@ -154,6 +154,7 @@ return [
|
||||
*/
|
||||
Barryvdh\Debugbar\ServiceProvider::class,
|
||||
PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
|
||||
igaster\laravelTheme\themeServiceProvider::class,
|
||||
Prologue\Alerts\AlertsServiceProvider::class,
|
||||
Krucas\Settings\Providers\SettingsServiceProvider::class
|
||||
|
||||
@@ -208,6 +209,7 @@ return [
|
||||
'Settings' => Krucas\Settings\Facades\Settings::class,
|
||||
'Session' => Illuminate\Support\Facades\Session::class,
|
||||
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||
'Theme' => igaster\laravelTheme\Facades\Theme::class,
|
||||
'URL' => Illuminate\Support\Facades\URL::class,
|
||||
'Uuid' => Webpatser\Uuid\Uuid::class,
|
||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
|
||||
16
config/themes.php
Normal file
16
config/themes.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'enabled' => true,
|
||||
'themes_path' => realpath(base_path('resources/themes')),
|
||||
'asset_not_found' => 'LOG_ERROR',
|
||||
'active' => 'default',
|
||||
|
||||
'themes' => [
|
||||
'default' => [
|
||||
'extends' => null,
|
||||
'views-path' => 'default',
|
||||
'asset-path' => 'themes/default',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user