add button to set default colors

This commit is contained in:
Simon Vieille
2022-05-31 16:28:43 +02:00
parent 95230e9e4a
commit 32322a0ab2
3 changed files with 41 additions and 7 deletions
+6
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,