migrate admin settings
This commit is contained in:
@@ -95,11 +95,10 @@ class CssController extends Controller
|
||||
$isDarkMode = ($isAccessibilityAppEnabled && $isDarkThemeUserEnabled)
|
||||
|| ($isBreezeDarkAppEnabled && $isBreezeDarkUserEnabled);
|
||||
|
||||
$primaryColor = $this->theming->getColorPrimary();
|
||||
$lightenPrimaryColor = $this->color->adjustBrightness($primaryColor, 0.2);
|
||||
$darkenPrimaryColor = $this->color->adjustBrightness($primaryColor, -0.2);
|
||||
$darkenPrimaryColor2 = $this->color->adjustBrightness($primaryColor, -0.3);
|
||||
$textColor = $this->theming->getTextColorPrimary();
|
||||
$lightenPrimaryColor = $this->color->getLightenPrimaryColor();
|
||||
$darkenPrimaryColor = $this->color->getDarkenPrimaryColor();
|
||||
$darkenPrimaryColor2 = $this->color->getDarkenPrimaryColor2();
|
||||
$textColor = $this->color->getTextColorPrimary();
|
||||
|
||||
if ($isDarkMode) {
|
||||
$backgroundColor = $this->config->getAppValue('dark-mode-background-color', $darkenPrimaryColor);
|
||||
|
||||
Reference in New Issue
Block a user