add button to set default colors

This commit is contained in:
Simon Vieille 2022-05-31 16:28:43 +02:00
commit 32322a0ab2
Signed by untrusted user: deblan
GPG key ID: 579388D585F70417
3 changed files with 41 additions and 7 deletions

View file

@ -113,8 +113,14 @@ class Admin implements ISettings
'defaults' => [
'background-color' => $darkenPrimaryColor,
'background-color-to' => $darkenPrimaryColor,
'current-app-background-color' => $darkenPrimaryColor2,
'text-color' => $textColor,
'loader-color' => $lightenPrimaryColor,
'dark-mode-background-color' => $darkenPrimaryColor,
'dark-mode-background-color-to' => $darkenPrimaryColor,
'dark-mode-current-app-background-color' => $darkenPrimaryColor2,
'dark-mode-text-color' => $textColor,
'dark-mode-loader-color' => $textColor,
],
'background-color' => $backgroundColor,
'background-color-to' => $backgroundColorTo,