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