general: add roboto slab (#31009)

This commit is contained in:
Frédéric Péters 2019-02-28 21:23:03 +01:00
parent 15854a27e4
commit 4fa6a7786e
10 changed files with 21 additions and 0 deletions

7
README
View File

@ -134,6 +134,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/archivo-narrow
* Roboto Slab
# Font data copyright Google 2013
#
# Apache License
#
# https://www.fontsquirrel.com/license/roboto-slab
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
@mixin robotoslab-font($type, $weight) {
@font-face {
font-family: 'Roboto Slab';
src: url('../fonts/RobotoSlab/robotoslab-#{$type}-webfont.woff2') format('woff2'),
url('../fonts/RobotoSlab/robotoslab-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include robotoslab-font('thin', 200);
@include robotoslab-font('light', 300);
@include robotoslab-font('regular', 400);
@include robotoslab-font('bold', 700);