aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-12-11 16:10:02 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-19 12:01:29 +0200
commit4f4074452d7047c1d540d1c89f9fa9b9af0db6a7 (patch)
tree6f3e402e4fdada664299e7a54c49032e67caf665 /apps/theming/src
parenta024ee1cfe89504932e795d721e9784227a88ada (diff)
downloadnextcloud-server-4f4074452d7047c1d540d1c89f9fa9b9af0db6a7.tar.gz
nextcloud-server-4f4074452d7047c1d540d1c89f9fa9b9af0db6a7.zip
Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/src')
-rw-r--r--apps/theming/src/AdminTheming.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/src/AdminTheming.vue b/apps/theming/src/AdminTheming.vue
index 70ef6a7d54a..1ced195985e 100644
--- a/apps/theming/src/AdminTheming.vue
+++ b/apps/theming/src/AdminTheming.vue
@@ -297,12 +297,12 @@ export default {
/* This is basically https://github.com/nextcloud/server/blob/master/core/css/guest.css
But without the user variables. That way the admin can preview the render as guest*/
/* As guest, there is no user color color-background-plain */
- background-color: var(--color-primary-element-default, #0082c9);
+ background-color: var(--color-primary-element-default);
/* As guest, there is no user background (--image-background)
1. Empty background if defined
2. Else default background
3. Finally default gradient (should not happened, the background is always defined anyway) */
- background-image: var(--image-background-plain, var(--image-background-default, linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
+ background-image: var(--image-background-plain, var(--image-background-default));
&-logo {
width: 20%;