0001-fonts-add-Manrope-font-68627.patch
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 |
- |