light theme by default
This commit is contained in:
@@ -185,7 +185,7 @@ return [
|
||||
'followCreatedEntities' => false,
|
||||
'b2cMode' => false,
|
||||
'restrictedMode' => false,
|
||||
'theme' => 'Violet',
|
||||
'theme' => 'Light',
|
||||
'themeParams' => (object) ['navbar' => 'side'],
|
||||
'massEmailMaxPerHourCount' => 100,
|
||||
'massEmailMaxPerBatchCount' => null,
|
||||
|
||||
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user