fonts: add Kumbh Sans (#87142)
This commit is contained in:
parent
361f4321e2
commit
e4d29d87da
7
README
7
README
|
@ -458,6 +458,13 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/arimo
|
||||
|
||||
* Kumbh Sans
|
||||
# Copyright 2020 The KumbhSans Project Authors (https://github.com/xconsau/KumbhSans)
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://github.com/xconsau/KumbhSans/blob/master/OFL.txt
|
||||
|
||||
~~~~
|
||||
|
||||
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.
|
@ -0,0 +1,18 @@
|
|||
@mixin kumbhsans-font($type, $weight) {
|
||||
@font-face {
|
||||
font-family: 'Kumbh Sans';
|
||||
src: url('/static/fonts/KumbhSans/KumbhSans-#{$type}.woff2') format('woff2');
|
||||
font-weight: $weight;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@include kumbhsans-font('Thin', 100);
|
||||
@include kumbhsans-font('ExtraLight', 200);
|
||||
@include kumbhsans-font('Light', 300);
|
||||
@include kumbhsans-font('Regular', 400);
|
||||
@include kumbhsans-font('Medium', 500);
|
||||
@include kumbhsans-font('SemiBold', 600);
|
||||
@include kumbhsans-font('Bold', 700);
|
||||
@include kumbhsans-font('ExtraBold', 800);
|
||||
@include kumbhsans-font('Black', 900);
|
Loading…
Reference in New Issue