diff options
Diffstat (limited to 'apps/dashboard/src/DashboardApp.vue')
-rw-r--r-- | apps/dashboard/src/DashboardApp.vue | 14 |
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 |