aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Themes/DarkTheme.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/lib/Themes/DarkTheme.php')
-rw-r--r--apps/theming/lib/Themes/DarkTheme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php
index 80c65cd0eb6..1def7f378a7 100644
--- a/apps/theming/lib/Themes/DarkTheme.php
+++ b/apps/theming/lib/Themes/DarkTheme.php
@@ -84,8 +84,8 @@ class DarkTheme extends DefaultTheme implements ITheme {
'--color-text-maxcontrast' => $colorTextMaxcontrast,
'--color-text-maxcontrast-default' => $colorTextMaxcontrast,
'--color-text-maxcontrast-background-blur' => $this->util->lighten($colorTextMaxcontrast, 2),
- '--color-text-light' => $this->util->darken($colorMainText, 10),
- '--color-text-lighter' => $this->util->darken($colorMainText, 20),
+ '--color-text-light' => 'var(--color-main-text)', // deprecated
+ '--color-text-lighter' => 'var(--color-text-maxcontrast)', // deprecated
'--color-error' => $colorError,
'--color-error-rgb' => join(',', $this->util->hexToRGB($colorError)),