Skip to content

Commit

Permalink
EWPP-4386: Apply background color for body.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyad authored and upchuk committed Jun 7, 2024
1 parent a8120e8 commit eb1b146
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sass/components/_global.scss
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
1 change: 1 addition & 0 deletions sass/style-ec.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit eb1b146

Please sign in to comment.