summaryrefslogtreecommitdiffstats
path: root/apps/theming/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-14 11:19:00 +0200
committerVincent Petry <vincent@nextcloud.com>2022-10-14 16:18:37 +0200
commite4ff84d468acf3c0e2d497412b7192651bbd4e23 (patch)
tree66c789af19efbd536d3ff7a6035f087cca9639ed /apps/theming/src
parent95d45c20580683a7ed332b2e313ee42b8b728bc7 (diff)
downloadnextcloud-server-e4ff84d468acf3c0e2d497412b7192651bbd4e23.tar.gz
nextcloud-server-e4ff84d468acf3c0e2d497412b7192651bbd4e23.zip
Scope the appdata theming storage for global and users
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/src')
-rw-r--r--apps/theming/src/UserThemes.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/src/UserThemes.vue b/apps/theming/src/UserThemes.vue
index 1eeeb3c5b21..1f14d3bb8f4 100644
--- a/apps/theming/src/UserThemes.vue
+++ b/apps/theming/src/UserThemes.vue
@@ -173,6 +173,7 @@ export default {
this.updateGlobalStyles()
this.$emit('update:background')
},
+
updateGlobalStyles() {
// Override primary-invert-if-bright and color-primary-text if background is set
const isBackgroundBright = shippedBackgroundList[this.background]?.theming === 'dark'