From eb1b146d2e8d52cdc55e4c6b31b464cfebef6c29 Mon Sep 17 00:00:00 2001 From: nagyad Date: Mon, 3 Jun 2024 17:40:20 +0200 Subject: [PATCH] EWPP-4386: Apply background color for body. --- sass/components/_global.scss | 2 ++ sass/style-ec.scss | 1 + 2 files changed, 3 insertions(+) diff --git a/sass/components/_global.scss b/sass/components/_global.scss index 0be112586..f66601341 100644 --- a/sass/components/_global.scss +++ b/sass/components/_global.scss @@ -1,11 +1,13 @@ // Apply global css. $font-family: null !default; +$background-color: null !default; body { font-family: $font-family; margin: 0; padding: 0; + background-color: $background-color; } a { diff --git a/sass/style-ec.scss b/sass/style-ec.scss index 1d39e918d..d39de9d39 100644 --- a/sass/style-ec.scss +++ b/sass/style-ec.scss @@ -20,6 +20,7 @@ @use "./components/wysiwyg"; @use "./components/global" with ( $font-family: map.get(theme.$theme, 'font-family', 'default'), + $background-color: var(--ecl-color-background) !important, ); @use "./components/description_list"; @use "./components/media_iframe";