]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Added footer-color option (#2480)
authorVishwa Jay <VishwaJay@users.noreply.github.com>
Sat, 18 May 2019 16:21:28 +0000 (10:21 -0600)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 18 May 2019 16:21:28 +0000 (17:21 +0100)
* 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

sass/layout/footer.sass

index 1988153d5bb14507a71d6760ca70737f59f235f3..4287f7949cb9b8f1a82b6c2a2263c6a6707eec32 100644 (file)
@@ -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