light theme by default

This commit is contained in:
Yuri Kuznetsov
2024-03-24 12:46:14 +02:00
parent 8232ef3dd2
commit 81cce0ddb7
3 changed files with 5 additions and 5 deletions
@@ -185,7 +185,7 @@ return [
'followCreatedEntities' => false,
'b2cMode' => false,
'restrictedMode' => false,
'theme' => 'Violet',
'theme' => 'Light',
'themeParams' => (object) ['navbar' => 'side'],
'massEmailMaxPerHourCount' => 100,
'massEmailMaxPerBatchCount' => null,
+3 -3
View File
@@ -269,11 +269,11 @@ class Installer
public function getThemeList(): array
{
return [
'Light',
'Violet',
'Espo',
'Dark',
'Glass',
'Light',
'Espo',
'Sakura',
'Hazyblue',
];
@@ -392,7 +392,7 @@ class Installer
'passwordSalt' => $this->getPasswordHash()->generateSalt(),
'cryptKey' => Util::generateSecretKey(),
'hashSecretKey' => Util::generateSecretKey(),
'theme' => $saveData['theme'] ?? 'Violet',
'theme' => $saveData['theme'] ?? 'Light',
];
if (empty($saveData['defaultPermissions']['user'])) {
+1 -1
View File
@@ -195,7 +195,7 @@ $smarty->assign('action', ucfirst($action));
$smarty->assign('config', $config);
$smarty->assign('installerConfig', $installer->getInstallerConfigData());
$theme = $_SESSION['install']['theme'] ?? 'Violet';
$theme = $_SESSION['install']['theme'] ?? 'Light';
$stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']);
$smarty->assign('stylesheet', $stylesheet);