summaryrefslogtreecommitdiffstats
path: root/apps/dashboard
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-31 12:05:13 +0200
committerJulius Härtl <jus@bitgrid.net>2022-09-01 14:15:42 +0200
commitb6a68028576e4c497e2e23e2b45121412522b030 (patch)
tree34bef373c1a414aa008f481e5e4b2a5bc7d27fae /apps/dashboard
parentd6bd98d3c5ff09abd48d9aff4960638c34f9d58b (diff)
downloadnextcloud-server-b6a68028576e4c497e2e23e2b45121412522b030.tar.gz
nextcloud-server-b6a68028576e4c497e2e23e2b45121412522b030.zip
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard')
-rw-r--r--apps/dashboard/src/DashboardApp.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue
index 4477ce29016..883da90c992 100644
--- a/apps/dashboard/src/DashboardApp.vue
+++ b/apps/dashboard/src/DashboardApp.vue
@@ -365,18 +365,18 @@ export default {
if (isBackgroundBright) {
document.querySelector('#header').style.setProperty('--primary-invert-if-bright', 'invert(100%)')
document.querySelector('#header').style.setProperty('--color-primary-text', '#000000')
- //document.body.removeAttribute('data-theme-dark')
- //document.body.setAttribute('data-theme-light', 'true')
+ // document.body.removeAttribute('data-theme-dark')
+ // document.body.setAttribute('data-theme-light', 'true')
} else {
document.querySelector('#header').style.setProperty('--primary-invert-if-bright', 'no')
document.querySelector('#header').style.setProperty('--color-primary-text', '#ffffff')
- //document.body.removeAttribute('data-theme-light')
- //document.body.setAttribute('data-theme-dark', 'true')
+ // document.body.removeAttribute('data-theme-light')
+ // document.body.setAttribute('data-theme-dark', 'true')
}
- document.documentElement.style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage);
- document.querySelector('#header').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage);
- document.querySelector('body').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage);
+ document.documentElement.style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage)
+ document.querySelector('#header').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage)
+ document.querySelector('body').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage)
},
updateSkipLink() {
// Make sure "Skip to main content" link points to the app content