light theme by default
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user