Skip to content

Commit

Permalink
Added footer-color option (#2480)
Browse files Browse the repository at this point in the history
* Added foreground (e.g., text) color to the footer

While setting up my own site, I was surprised to find that this wasn't an option!

* Added @if statement for footer color

* Added the option for footer-color

* Corrected indentation of lines for footer-color
  • Loading branch information
VishwaJay authored and jgthms committed May 18, 2019
1 parent 181d569 commit f74b078
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sass/layout/footer.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
$footer-background-color: $white-bis !default
$footer-color: false !default
$footer-padding: 3rem 1.5rem 6rem !default

.footer
background-color: $footer-background-color
padding: $footer-padding
@if $footer-color
color: $footer-color

0 comments on commit f74b078

Please sign in to comment.