Skip to content

Commit

Permalink
setting base colours for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklee committed Jul 19, 2023
1 parent d806c01 commit 4a6b7f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions wagtailio/static/sass/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ html {

body {
overflow-x: hidden;
background-color: var(--color--background);
color: var(--color--text);

&.no-scroll {
overflow-y: hidden;
Expand Down
3 changes: 1 addition & 2 deletions wagtailio/static/sass/components/_footer-menu.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.footer-menu {
$root: &;

background-color: $color--teal-300;
background-color: var(--color--footer-bg);
padding: 40px 0;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
Expand Down
2 changes: 1 addition & 1 deletion wagtailio/static/sass/layout/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$root: &;

&__base {
background-color: $color--indigo;
background-color: var(--color--highlight);
padding: 60px 0;
color: $color--white;
}
Expand Down

0 comments on commit 4a6b7f0

Please sign in to comment.