fonts: add Kumbh Sans (#87142)

This commit is contained in:
Frédéric Péters 2024-02-19 13:41:34 +01:00
parent 361f4321e2
commit e4d29d87da
11 changed files with 25 additions and 0 deletions

7
README
View File

@ -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.

View File

@ -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);