fonts: add Manrope font (#69851)

This commit is contained in:
Agate 2022-10-04 11:09:13 +02:00
parent fab640c536
commit ba28e5b7a4
7 changed files with 23 additions and 0 deletions

7
README
View File

@ -394,6 +394,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/rubik
* Manrope
# Copyright 2018 The Manrope Project Authors. All rights reserved
#
# TThis Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://github.com/sharanda/manrope
~~~~
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.

View File

@ -0,0 +1,16 @@
$manroppe-font-path: '/static/fonts/Manrope' !default;
@mixin manrope-font($type, $weight, $style: normal) {
@font-face {
font-family: 'Manrope';
src: url('#{$manroppe-font-path}/manrope-#{$type}.woff2') format('woff2');
font-weight: $weight;
font-style: $style;
}
}
@include manrope-font('Light', 300);
@include manrope-font('Regular', 400);
@include manrope-font('Medium', 500);
@include manrope-font('SemiBold', 600);
@include manrope-font('Bold', 700);