0001-fonts-add-Muli-37367.patch
README | ||
---|---|---|
234 | 234 |
# |
235 | 235 |
# https://www.fontsquirrel.com/license/quattrocento-sans |
236 | 236 | |
237 |
* Muli |
|
238 |
# Copyright (c) 2011 by vernon adams (vern@newtypography.co.uk), |
|
239 |
# with Reserved Font Name “Muli”. |
|
240 |
# |
|
241 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
242 |
# |
|
243 |
# https://www.fontsquirrel.com/license/muli |
|
244 | ||
237 | 245 |
~~~~ |
238 | 246 | |
239 | 247 |
Some theme variant files have their own specific licenses; refer to |
static/includes/_font-muli.scss | ||
---|---|---|
1 |
$muli-font-path: '/static/fonts/Muli' !default; |
|
2 | ||
3 |
@mixin muli-font($type, $weight, $style: normal) { |
|
4 |
@font-face { |
|
5 |
font-family: 'Muli'; |
|
6 |
src: url('#{$muli-font-path}/muli-#{$type}-webfont.woff2') format('woff2'), |
|
7 |
url('#{$muli-font-path}/muli-#{$type}-webfont.woff') format('woff'); |
|
8 |
font-weight: $weight; |
|
9 |
font-style: $style; |
|
10 |
} |
|
11 |
} |
|
12 | ||
13 |
@mixin muli-font-pair($type, $weight) { |
|
14 |
@include muli-font($type, $weight); |
|
15 |
@include muli-font(#{$type}italic, $weight, italic); |
|
16 |
} |
|
17 | ||
18 |
@include muli-font-pair('extraLight', 200); |
|
19 |
@include muli-font-pair('light', 300); |
|
20 |
@include muli-font-pair('regular', 400); |
|
21 |
@include muli-font-pair('semibold', 600); |
|
22 |
@include muli-font-pair('bold', 700); |
|
0 |
- |