dist/_scut.scss in scut-1.0.2 vs dist/_scut.scss in scut-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
/*
* Scut, a collection of Sass utilities
* to ease and improve our implementations of common style-code patterns.
-* v1.0.2
+* v1.1.0
* Docs at http://davidtheclark.github.io/scut
*/
@mixin scut-clearfix {
@@ -1281,10 +1281,14 @@
$result: ();
@if index($formats, eot) {
$eot-val: url('#{$file-path}.eot?#iefix') format('embedded-opentype');
$result: append($result, $eot-val, comma);
}
+ @if index($formats, woff2) {
+ $woff2-val: url('#{$file-path}.woff2') format('woff2');
+ $result: append($result, $woff2-val, comma);
+ }
@if index($formats, woff) {
$woff-val: url('#{$file-path}.woff') format('woff');
$result: append($result, $woff-val, comma);
}
@if index($formats, ttf) {
@@ -1301,11 +1305,11 @@
@mixin scut-font-face (
$font-family,
$file-path,
$weight: normal,
$style: normal,
- $formats: eot woff ttf svg
+ $formats: eot woff2 woff ttf svg
) {
@if index('italic' 'oblique', $weight) {
$style: $weight;
$weight: normal;
@@ -1321,9 +1325,10 @@
}
src: main-src($formats, $file-path, $font-family);
}
}
+
@mixin scut-hanging-indent (
$indent: 1em
) {
// padding-left creates the indent,
\ No newline at end of file