Projet

Général

Profil

0001-fonts-add-Manrope-font-68627.patch

A. Berriot, 04 octobre 2022 11:12

Télécharger (87,8 ko)

Voir les différences:

Subject: [PATCH] fonts: add Manrope font (#68627)

 static/fonts/Manrope/manrope-Bold.woff2     | Bin 0 -> 13540 bytes
 static/fonts/Manrope/manrope-Light.woff2    | Bin 0 -> 13416 bytes
 static/fonts/Manrope/manrope-Medium.woff2   | Bin 0 -> 13408 bytes
 static/fonts/Manrope/manrope-Regular.woff2  | Bin 0 -> 13484 bytes
 static/fonts/Manrope/manrope-SemiBold.woff2 | Bin 0 -> 13456 bytes
 static/includes/fonts/_manrope.scss         |  16 ++++++++++++++++
 6 files changed, 16 insertions(+)
 create mode 100644 static/fonts/Manrope/manrope-Bold.woff2
 create mode 100644 static/fonts/Manrope/manrope-Light.woff2
 create mode 100644 static/fonts/Manrope/manrope-Medium.woff2
 create mode 100644 static/fonts/Manrope/manrope-Regular.woff2
 create mode 100644 static/fonts/Manrope/manrope-SemiBold.woff2
 create mode 100644 static/includes/fonts/_manrope.scss
static/includes/fonts/_manrope.scss
1
$manroppe-font-path: '/static/fonts/Manrope' !default;
2

  
3
@mixin manrope-font($type, $weight, $style: normal) {
4
    @font-face {
5
        font-family: 'Manrope';
6
        src: url('#{$manroppe-font-path}/manrope-#{$type}.woff2') format('woff2');
7
        font-weight: $weight;
8
        font-style: $style;
9
    }
10
}
11

  
12
@include manrope-font('Light', 300);
13
@include manrope-font('Regular', 400);
14
@include manrope-font('Medium', 500);
15
@include manrope-font('SemiBold', 600);
16
@include manrope-font('Bold', 700);
0
-