Permalink
Browse files

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

… 'normal'.
  • Loading branch information...
Carwin Young
Carwin Young committed Oct 25, 2012
1 parent e0281ff commit 817ee01251d8c1e6513e83419419bf2e76d2872e
Showing with 4 additions and 2 deletions.
  1. +4 −2 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.