Created
October 19, 2016 09:00
-
-
Save ralexandr/4441a43a2d05c7bd7d230030df33bcce to your computer and use it in GitHub Desktop.
SASS: Font Sans mixin
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
@mixin font-source-sans($size: false, $colour: false, $weight: false, $lh: false) { | |
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; | |
@if $size { font-size: $size; } | |
@if $colour { color: $colour; } | |
@if $weight { font-weight: $weight; } | |
@if $lh { line-height: $lh; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment