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, 'followCreatedEntities' => false,
'b2cMode' => false, 'b2cMode' => false,
'restrictedMode' => false, 'restrictedMode' => false,
'theme' => 'Violet', 'theme' => 'Light',
'themeParams' => (object) ['navbar' => 'side'], 'themeParams' => (object) ['navbar' => 'side'],
'massEmailMaxPerHourCount' => 100, 'massEmailMaxPerHourCount' => 100,
'massEmailMaxPerBatchCount' => null, 'massEmailMaxPerBatchCount' => null,
+3 -3
View File
@@ -269,11 +269,11 @@ class Installer
public function getThemeList(): array public function getThemeList(): array
{ {
return [ return [
'Light',
'Violet', 'Violet',
'Espo',
'Dark', 'Dark',
'Glass', 'Glass',
'Light', 'Espo',
'Sakura', 'Sakura',
'Hazyblue', 'Hazyblue',
]; ];
@@ -392,7 +392,7 @@ class Installer
'passwordSalt' => $this->getPasswordHash()->generateSalt(), 'passwordSalt' => $this->getPasswordHash()->generateSalt(),
'cryptKey' => Util::generateSecretKey(), 'cryptKey' => Util::generateSecretKey(),
'hashSecretKey' => Util::generateSecretKey(), 'hashSecretKey' => Util::generateSecretKey(),
'theme' => $saveData['theme'] ?? 'Violet', 'theme' => $saveData['theme'] ?? 'Light',
]; ];
if (empty($saveData['defaultPermissions']['user'])) { if (empty($saveData['defaultPermissions']['user'])) {
+1 -1
View File
@@ -195,7 +195,7 @@ $smarty->assign('action', ucfirst($action));
$smarty->assign('config', $config); $smarty->assign('config', $config);
$smarty->assign('installerConfig', $installer->getInstallerConfigData()); $smarty->assign('installerConfig', $installer->getInstallerConfigData());
$theme = $_SESSION['install']['theme'] ?? 'Violet'; $theme = $_SESSION['install']['theme'] ?? 'Light';
$stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']); $stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']);
$smarty->assign('stylesheet', $stylesheet); $smarty->assign('stylesheet', $stylesheet);