diff options
author | szaimen <szaimen@e.mail.de> | 2022-09-05 17:32:05 +0200 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2022-09-06 18:03:35 +0000 |
commit | d9b463c20ade82467edc46471f512f0a54514b32 (patch) | |
tree | 6b910aef3d3fc5c6f74f6528d3f2ed9a9c4101ce /apps/theming | |
parent | 2a59d48d0c7d920a7ce2bc5b8c56a0fffd17141f (diff) | |
download | nextcloud-server-d9b463c20ade82467edc46471f512f0a54514b32.tar.gz nextcloud-server-d9b463c20ade82467edc46471f512f0a54514b32.zip |
fix dark-contrast-theme
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/lib/Themes/DarkHighContrastTheme.php | 1 | ||||
-rw-r--r-- | apps/theming/lib/Themes/HighContrastTheme.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DarkHighContrastTheme.php b/apps/theming/lib/Themes/DarkHighContrastTheme.php index e7f52bb0475..fdb9e27fe5d 100644 --- a/apps/theming/lib/Themes/DarkHighContrastTheme.php +++ b/apps/theming/lib/Themes/DarkHighContrastTheme.php @@ -57,6 +57,7 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme { $colorMainBackground = '#000000'; $variables['--color-main-background'] = $colorMainBackground; + $variables['--color-main-background-translucent'] = 'rgba(var(--color-main-background-rgb), .1)'; $variables['--color-main-text'] = $colorMainText; $variables['--color-background-dark'] = $this->util->lighten($colorMainBackground, 30); diff --git a/apps/theming/lib/Themes/HighContrastTheme.php b/apps/theming/lib/Themes/HighContrastTheme.php index 561f7dc9479..a9ba6da42a9 100644 --- a/apps/theming/lib/Themes/HighContrastTheme.php +++ b/apps/theming/lib/Themes/HighContrastTheme.php @@ -54,6 +54,7 @@ class HighContrastTheme extends DefaultTheme implements ITheme { $colorMainBackground = '#ffffff'; $variables['--color-main-background'] = $colorMainBackground; + $variables['--color-main-background-translucent'] = 'rgba(var(--color-main-background-rgb), .1)'; $variables['--color-main-text'] = $colorMainText; $variables['--color-background-dark'] = $this->util->darken($colorMainBackground, 30); |