add khand font (#29192)

This commit is contained in:
Frédéric Péters 2019-02-14 20:09:30 +01:00 committed by Thomas NOEL
parent 562905bac6
commit 85c04e5667
14 changed files with 22 additions and 0 deletions

7
README
View File

@ -119,6 +119,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/montserrat
* Khand font
# Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/khand
~~~~
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.

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,15 @@
@mixin khand-font($type, $weight) {
@font-face {
font-family: 'Khand';
src: url('../fonts/Khand/khand-#{$type}-webfont.woff2') format('woff2'),
url('../fonts/Khand/khand-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include khand-font('light', 300);
@include khand-font('regular', 400);
@include khand-font('medium', 500);
@include khand-font('semibold', 600);
@include khand-font('bold', 700);