]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: print readable text on background #11546
authorMartin <martin@edv-beratung-meier.de>
Fri, 19 Oct 2018 10:17:22 +0000 (12:17 +0200)
committerMartin <martin@edv-beratung-meier.de>
Fri, 19 Oct 2018 10:17:22 +0000 (12:17 +0200)
When background is printed, text should keep it's original color to stay readable.
Only set color to black if background is printed tranparent.

scss/typography/_print.scss

index 25255b8543885c8d2fdd90a3fa882c54cebf02b4..66b681faf206d77dfe006b864dd8d6116721ab1b 100644 (file)
@@ -17,11 +17,11 @@ $print-hrefs: true !default;
     * {
       @if $print-transparent-backgrounds {
         background: transparent !important;
+        color: black !important; // Black prints faster: h5bp.com/s
       }
 
       box-shadow: none !important;
 
-      color: black !important; // Black prints faster: h5bp.com/s
       text-shadow: none !important;
     }