]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove extend and add typescale by default!
authorharry <harmanmanchanda182@gmail.com>
Wed, 5 Jul 2017 21:09:03 +0000 (02:39 +0530)
committerharry <harmanmanchanda182@gmail.com>
Wed, 5 Jul 2017 21:09:03 +0000 (02:39 +0530)
scss/typography/_base.scss

index 6700a2eff269b4ce7245d6dec2e010c393789d9c..cb47594c89b957265cd3d3e388c6760ae564f2b2 100644 (file)
@@ -95,10 +95,6 @@ $header-styles: (
 /// @type String
 $header-text-rendering: optimizeLegibility !default;
 
-/// Enable/disable the typescale utility
-/// @type Boolean
-$header-typescale: false;
-
 /// Font size of `<small>` elements.
 /// @type Number
 $small-font-size: 80% !default;
@@ -310,12 +306,12 @@ $abbr-underline: 1px dotted $black !default;
   }
 
   // Headings
-  h1,
-  h2,
-  h3,
-  h4,
-  h5,
-  h6 {
+  h1, .h1,
+  h2, .h2,
+  h3, .h3,
+  h4, .h4,
+  h5, .h5,
+  h6, .h6 {
     font-family: $header-font-family;
     font-style: $header-font-style;
     font-weight: $header-font-weight;
@@ -333,7 +329,7 @@ $abbr-underline: 1px dotted $black !default;
     @include breakpoint($size) {
       @each $header, $header-defs in $headers {
         $font-size-temp: 1rem;
-        #{$header} {
+        #{$header}, .#{$header} {
 
           @if map-has-key($header-defs, font-size) {
             $font-size-temp: rem-calc(map-get($header-defs, font-size));
@@ -367,12 +363,6 @@ $abbr-underline: 1px dotted $black !default;
             margin-bottom: rem-calc($header-margin-bottom);
           }
         }
-        
-        @if ($header-typescale) {
-          .#{$header} {
-            @extend #{$header};
-          }
-        }
       }
     }
   }