Skip to content

Commit

Permalink
New: Add @body-background-color and apply to body element (fixes adap…
Browse files Browse the repository at this point in the history
…tlearning#349)

Adds @body-background-color
  • Loading branch information
swashbuck authored Nov 15, 2022
1 parent d95accb commit 68b4e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions less/_defaults/_colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

// Body, link, and heading colour
// --------------------------------------------------
@body-background-color: @white;

@font-color: @greyDark;
@font-color-inverted: @white;

Expand Down
4 changes: 4 additions & 0 deletions less/core/global.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
body {
background-color: @body-background-color;
}

.inline-icon {
display: inline-block;
vertical-align: middle;
Expand Down

0 comments on commit 68b4e1d

Please sign in to comment.