aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/apps.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-20 16:03:19 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 11:23:05 +0100
commit064fa10ecfe4725398895a21ab8bafd171e2eadd (patch)
tree5f2d8124eb131a65eac207edee560c49ea7835f3 /core/css/apps.scss
parentcedae7c6d74e11c8aaa59b09a38db04dbebc818d (diff)
downloadnextcloud-server-064fa10ecfe4725398895a21ab8bafd171e2eadd.tar.gz
nextcloud-server-064fa10ecfe4725398895a21ab8bafd171e2eadd.zip
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/apps.scss')
-rw-r--r--core/css/apps.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index bdc1fe95a06..b98f2e15881 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -39,15 +39,15 @@ html {
width: 100%;
height: 100%;
position: absolute;
+ // color-background-plain should always be defined. It is the primary user colour
background-color: var(--color-background-plain, var(--color-main-background));
- background-image: var(--image-background);
- background-size: cover;
- background-position: center;
}
body {
+ // color-background-plain should always be defined. It is the primary user colour
background-color: var(--color-background-plain, var(--color-main-background));
- background-image: var(--image-background-plain, var(--image-background, var(--image-background-default)));
+ // color-background-plain should always be defined. It is the primary user colour
+ background-image: var(--image-background, var(--image-background-default));
background-size: cover;
background-position: center;
position: fixed;