Projet

Général

Profil

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

A. Berriot, 04 octobre 2022 11:23

Télécharger (88,3 ko)

Voir les différences:

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

 README                                      |   7 +++++++
 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 ++++++++++++++++
 7 files changed, 23 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
README
394 394
  #
395 395
  # https://www.fontsquirrel.com/license/rubik
396 396

  
397
* Manrope
398
  # Copyright 2018 The Manrope Project Authors. All rights reserved
399
  #
400
  # TThis Font Software is licensed under the SIL Open Font License, Version 1.1.
401
  #
402
  # https://github.com/sharanda/manrope
403

  
397 404
~~~~
398 405

  
399 406
Some theme variant files have their own specific licenses; refer to
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
-