Skip to content
Browse files

Added an optional font-weight argument to the mixin which defaults to…

… 'normal'.
  • Loading branch information...
1 parent e0281ff commit 817ee01251d8c1e6513e83419419bf2e76d2872e @carwin carwin committed Oct 25, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 stylesheets/font-stacks/_mixin.scss
View
6 stylesheets/font-stacks/_mixin.scss
@@ -1,7 +1,9 @@
-@mixin font-family($family) {
+@mixin font-family($family, $weight: normal) {
font-family: font-family($family);
+ font-weight: $weight;
}
-@mixin ff($family) {
+@mixin ff($family, $weight: normal) {
@include font-family($family);
+ font-weight: $weight;
}

0 comments on commit 817ee01

Please sign in to comment.
Something went wrong with that request. Please try again.