diff options
author | Simon L <szaimen@e.mail.de> | 2022-09-07 00:28:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 00:28:06 +0200 |
commit | 72e96c6ebabefd034d0ec67e0b43c3ca6d187296 (patch) | |
tree | 24b7a66df4215ec390cd69f9df7b7e0e1ad9328b /apps | |
parent | 72aa4f51d7d25cc5ae72cf7d20072f5e8cd74b6d (diff) | |
parent | d9b463c20ade82467edc46471f512f0a54514b32 (diff) | |
download | nextcloud-server-72e96c6ebabefd034d0ec67e0b43c3ca6d187296.tar.gz nextcloud-server-72e96c6ebabefd034d0ec67e0b43c3ca6d187296.zip |
Merge pull request #33903 from nextcloud/enh/33834/fix-dark-contrast-theme
fix dark-contrast-theme
Diffstat (limited to 'apps')
-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); |