aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-20 10:40:09 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-21 19:00:28 +0200
commit1dee36c761b87ab79bb54cfc561d576d8c72434c (patch)
treef16175b4983c69b0796fafb71d6ccc343cf8bbd7 /apps/theming
parent7b686abe7fb53c8475d8295a59167bdab95fccc9 (diff)
downloadnextcloud-server-1dee36c761b87ab79bb54cfc561d576d8c72434c.tar.gz
nextcloud-server-1dee36c761b87ab79bb54cfc561d576d8c72434c.zip
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/lib/Themes/DarkTheme.php2
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php2
-rw-r--r--apps/theming/src/settings.js4
3 files changed, 4 insertions, 4 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
diff --git a/apps/theming/src/settings.js b/apps/theming/src/settings.js
index 94ae6fd6314..45a75e53ea5 100644
--- a/apps/theming/src/settings.js
+++ b/apps/theming/src/settings.js
@@ -28,5 +28,5 @@ Vue.prototype.OC = OC
Vue.prototype.t = t
const View = Vue.extend(App)
-const accessibility = new View()
-accessibility.$mount('#theming')
+const theming = new View()
+theming.$mount('#theming')