stylesheets/stitch/patterns/text/_font-stacks.scss in stitch-0.1.0 vs stylesheets/stitch/patterns/text/_font-stacks.scss in stitch-0.1.1
- old
+ new
@@ -1,15 +1,18 @@
/*
These provide basic font stacks with fallbacks. You can add your own fonts to the stack
*/
@mixin sans-serif($prepend:false) {
- font-family: join($prepend,"Helvetica Neue", Helvetica, Arial, sans-serif);
+ $list: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-family: join($prepend,$list,comma);
}
@mixin serif($prepend:false) {
- font-family: join($prepend,"Georgia", Times New Roman, Times, sans-serif);
+ $list: "Georgia", Times New Roman, Times, sans-serif;
+ font-family: join($prepend,$list,comma);
}
@mixin monospace($prepend:false) {
- font-family: join($prepend,"Monaco", Courier New, monospace);
+ $list: "Monaco", Courier New, monospace;
+ font-family: join($prepend,$list,comma);
}
\ No newline at end of file