espo theme default

This commit is contained in:
Yuri Kuznetsov
2024-12-15 21:25:34 +02:00
parent 264761605b
commit 56fed2e9f0
3 changed files with 7 additions and 7 deletions

View File

@@ -270,11 +270,11 @@ class Installer
public function getThemeList(): array
{
return [
'Light',
'Violet',
'Dark',
'Glass',
'Espo',
'Dark',
'Light',
'Glass',
'Violet',
'Sakura',
'Hazyblue',
];
@@ -396,7 +396,7 @@ class Installer
'siteUrl' => $siteUrl,
'cryptKey' => Util::generateSecretKey(),
'hashSecretKey' => Util::generateSecretKey(),
'theme' => $saveData['theme'] ?? 'Light',
'theme' => $saveData['theme'] ?? 'Espo',
];
if (empty($saveData['defaultPermissions']['user'])) {

View File

@@ -195,7 +195,7 @@ $smarty->assign('action', ucfirst($action));
$smarty->assign('config', $config);
$smarty->assign('installerConfig', $installer->getInstallerConfigData());
$theme = $_SESSION['install']['theme'] ?? 'Light';
$theme = $_SESSION['install']['theme'] ?? 'Espo';
$stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']);
$smarty->assign('stylesheet', $stylesheet);