diff --git a/app/Classes/Theme.php b/app/Classes/Theme.php index baaeb645f..5e02e1486 100644 --- a/app/Classes/Theme.php +++ b/app/Classes/Theme.php @@ -7,7 +7,7 @@ class Theme public static function getSettings() { try { - $theme = require base_path('themes/' . config('settings.theme', 'default') . '/theme.php'); + $theme = require base_path('themes/' . config('settings.theme', 'lucentui') . '/theme.php'); } catch (\Throwable $th) { // If not ran from the command line, throw an exception if (php_sapi_name() !== 'cli') { @@ -20,7 +20,7 @@ class Theme // Add theme settings prefix to name _ $settings = []; foreach ($theme['settings'] as $setting) { - $setting['name'] = 'theme_' . config('settings.theme', 'default') . '_' . $setting['name']; + $setting['name'] = 'theme_' . config('settings.theme', 'lucentui') . '_' . $setting['name']; $settings[] = $setting; } diff --git a/app/Classes/helpers.php b/app/Classes/helpers.php index 655646d31..b0654f6aa 100644 --- a/app/Classes/helpers.php +++ b/app/Classes/helpers.php @@ -12,7 +12,7 @@ if (!function_exists('theme')) { */ function theme($key, $default = null) { - $current_theme = config('settings.theme', 'default'); + $current_theme = config('settings.theme', 'lucentui'); return config("settings.theme_$current_theme" . "_$key", $default) ?? $default; } diff --git a/app/Providers/SettingsProvider.php b/app/Providers/SettingsProvider.php index 8e437b119..cef8acacf 100644 --- a/app/Providers/SettingsProvider.php +++ b/app/Providers/SettingsProvider.php @@ -55,7 +55,7 @@ class SettingsProvider extends ServiceProvider date_default_timezone_set(config('settings.timezone', 'UTC')); - Theme::set(config('settings.theme', 'default'), 'default'); + Theme::set(config('settings.theme', 'lucentui')); if (Str::startsWith(config('app.url') ?? '', 'https://')) { URL::forceScheme('https');