feat: update theme setting to 'lucentui' in SettingsProvider
This commit is contained in:
@@ -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 <theme_name>_<setting_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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user