discordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teams
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
671 B
25 lines
671 B
9 years ago
|
/**
|
||
|
* Includes a google webfont for use in your theme.
|
||
|
* @param {string} $font-name The name of the font. If the font name contains spaces
|
||
|
* use "+" instead of space.
|
||
|
* @param {string} [$font-weights=400] Comma-separated list of font weights to include.
|
||
|
*
|
||
|
* Example usage:
|
||
|
*
|
||
|
* @include google-webfont(
|
||
|
* $font-name: Exo,
|
||
|
* $font-weights: 200 300 400
|
||
|
* );
|
||
|
*
|
||
|
* Outputs:
|
||
|
*
|
||
|
* @import url(http://fonts.googleapis.com/css?family=Exo:200,300,400);
|
||
|
*
|
||
|
* @member Global_CSS
|
||
|
*/
|
||
|
@mixin google-webfont(
|
||
|
$font-name,
|
||
|
$font-weights: 400
|
||
|
) {
|
||
|
@import url('http://fonts.googleapis.com/css?family=#{$font-name}:#{$font-weights}');
|
||
|
}
|