fonts: add baloo 2 (#51029)

This commit is contained in:
Thomas Jund 2021-02-11 12:56:05 +01:00
parent fc82aaa51a
commit 14cdda56ec
12 changed files with 22 additions and 0 deletions

5
README
View File

@ -309,6 +309,11 @@ copyright notices:
#
# https://github.com/impallari/DancingScript
* Baloo 2
# Baloo 2 is Copyright (c) 2019 Ek Type (www.ektype.in)
# Licensed under the SIL Open Font License 1.1 (http://scripts.sil.org/OFL).
#
# https://github.com/EkType/Baloo2
~~~~
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.

View File

@ -0,0 +1,17 @@
/* baloo 2 latin */
@mixin baloo-font($type, $weight) {
@font-face {
font-family: 'Baloo 2';
font-style: normal;
font-weight: $weight;
src: url('/static/fonts/baloo2/baloo-2-#{$type}.woff2') format('woff2'),
url('/static/fonts/baloo2/baloo-2-#{$type}.woff') format('woff');
}
}
@include baloo-font('regular', 400);
@include baloo-font('medium', 500);
@include baloo-font('semibold', 600);
@include baloo-font('bold', 700);
@include baloo-font('extrabold', 800);