fonts: add Yantramanav (#41182)
This commit is contained in:
parent
4195aa8d70
commit
5b938bbe31
8
README
8
README
|
@ -265,6 +265,14 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/abril-fatface
|
||||
|
||||
* Yantramanav
|
||||
# Copyright 2014, Erin McLaughlin (hello@erinmclaughlin.com).
|
||||
# Copyright 2010, Google Inc. All Rights Reserved.
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/yantramanav
|
||||
|
||||
~~~~
|
||||
|
||||
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,19 @@
|
|||
$yantramanav-font-path: '/static/fonts/Yantramanav' !default;
|
||||
|
||||
@mixin yantramanav-font($type, $weight) {
|
||||
@font-face {
|
||||
font-family: 'Yantramanav';
|
||||
src: url('#{$yantramanav-font-path}/yantramanav-#{$type}-webfont.woff2') format('woff2'),
|
||||
url('#{$yantramanav-font-path}/yantramanav-#{$type}-webfont.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@include yantramanav-font('thin', 100);
|
||||
@include yantramanav-font('light', 300);
|
||||
@include yantramanav-font('regular', 400);
|
||||
@include yantramanav-font('medium', 500);
|
||||
@include yantramanav-font('bold', 700);
|
||||
@include yantramanav-font('black', 900);
|
||||
|
Loading…
Reference in New Issue