Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecrate the $weight and $style arguments in the font-face mixin
Now that the `font-face` mixin accepts additional CSS rules via the `@content` directive (2356719), it no longer makes sense to have weight and style as arguments, which we never need to manipulate.
- Loading branch information
Tyson Gach
committed
Feb 5, 2016
1 parent
bf81bfa
commit 5641ef7
Showing
10 changed files
with
28 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
@import "setup"; | ||
|
||
@include font-face( | ||
"roboto", | ||
"/assets/fonts/Roboto-BoldItalic", | ||
bold, | ||
italic, | ||
$file-formats: "ttf" | ||
); | ||
"calibre", | ||
"fonts/calibre" | ||
) { | ||
font-style: normal; | ||
font-weight: 600; | ||
unicode-range: U+26; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ | |
@include font-face( | ||
"pitch", | ||
"/fonts/pitch", | ||
normal, | ||
normal, | ||
false, | ||
"woff" | ||
true, | ||
"woff2" | ||
); |
This file was deleted.
Oops, something went wrong.