Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-20 11:40:09 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-21 20:00:28 +0300
commit1dee36c761b87ab79bb54cfc561d576d8c72434c (patch)
treef16175b4983c69b0796fafb71d6ccc343cf8bbd7 /apps/theming/lib
parent7b686abe7fb53c8475d8295a59167bdab95fccc9 (diff)
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Themes/DarkTheme.php2
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php
index c00f8a7ea4d..f0cacfc1696 100644
--- a/apps/theming/lib/Themes/DarkTheme.php
+++ b/apps/theming/lib/Themes/DarkTheme.php
@@ -81,7 +81,7 @@ class DarkTheme extends DefaultTheme implements ITheme {
'--color-border' => $this->util->lighten($colorMainBackground, 7),
'--color-border-dark' => $this->util->lighten($colorMainBackground, 14),
- '--background-invert-if-bright' => 'invert(100%)',
+ '--background-invert-if-dark' => 'invert(100%)',
]);
}
}
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php
index 7561bb16ecd..7b0b123f19b 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -175,7 +175,7 @@ class DefaultTheme implements ITheme {
// svg with proper css variable instead or material
// design icons.
'--primary-invert-if-bright' => $this->util->invertTextColor($this->primaryColor) ? 'invert(100%)' : 'unset',
- '--background-invert-if-bright' => 'unset',
+ '--background-invert-if-dark' => 'unset',
];
// Register image variables only if custom-defined