mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Disable translucency on high contrast themes
Fix #34514 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
39938297ee
commit
c2510a481e
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
|
|||
$this->generatePrimaryVariables($colorMainBackground, $colorMainText),
|
||||
[
|
||||
'--color-main-background' => $colorMainBackground,
|
||||
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), .1)',
|
||||
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), 1)',
|
||||
'--color-main-text' => $colorMainText,
|
||||
|
||||
'--color-background-dark' => $this->util->lighten($colorMainBackground, 30),
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ class HighContrastTheme extends DefaultTheme implements ITheme {
|
|||
$this->generatePrimaryVariables($colorMainBackground, $colorMainText),
|
||||
[
|
||||
'--color-main-background' => $colorMainBackground,
|
||||
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), .1)',
|
||||
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), 1)',
|
||||
'--color-main-text' => $colorMainText,
|
||||
|
||||
'--color-background-dark' => $this->util->darken($colorMainBackground, 30),
|
||||
|
|
|
|||
Loading…
Reference in a new issue