// Rotate Mixin
@import 'rotate';
-// Typescale
-@import 'typescale';
-
// Text utilities
@import 'text-utilities';
@import 'spacing';
@mixin foundation-prototype-classes {
- @include foundation-prototype-typescale;
@include foundation-prototype-text-utilities;
@include foundation-prototype-text-transformation;
@include foundation-prototype-text-decoration;
+++ /dev/null
-// Foundation for Sites by ZURB
-// foundation.zurb.com
-// Licensed under MIT Open Source
-
-////
-/// @group prototype-typescale
-////
-
-@mixin foundation-prototype-typescale {
- @each $size, $headers in $header-styles {
- @include breakpoint($size) {
- @each $header, $header-defs in $headers {
- $font-size-temp: 1rem;
- .#{$header} {
- @extend #{$header};
- }
- }
- }
- }
-}
/// @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;
margin-bottom: rem-calc($header-margin-bottom);
}
}
+
+ @if ($header-typescale) {
+ .#{$header} {
+ @extend #{$header};
+ }
+ }
}
}
}