fonts: add Open Sans Condensed (#38251)

This commit is contained in:
Frédéric Péters 2019-12-06 10:29:23 +01:00
parent 49d62cc84a
commit d5ac7d90fa
5 changed files with 19 additions and 0 deletions

7
README
View File

@ -242,6 +242,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/muli
* Open Sans Condensed
# Copyright Ascender Corp.
#
# Apache License
#
# https://www.fontsquirrel.com/license/open-sans-condensed
~~~~
Some theme variant files have their own specific licenses; refer to

View File

@ -0,0 +1,12 @@
@mixin opensans-condensed-font($type, $weight, $style: normal) {
@font-face {
font-family: 'Open Sans Condensed';
src: url('/static/fonts/OpenSansCondensed/OpenSans-Cond#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: $style;
}
}
@include opensans-condensed-font('Light', 300);
@include opensans-condensed-font('LightItalic', 300, 'italic');
@include opensans-condensed-font('Bold', 700);