add khand font (#29192)
This commit is contained in:
parent
562905bac6
commit
85c04e5667
7
README
7
README
|
@ -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.
|
@ -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);
|
Loading…
Reference in New Issue