0001-import-Montserrat-font-face-27054.patch
README | ||
---|---|---|
111 | 111 |
# |
112 | 112 |
# https://www.fontsquirrel.com/license/Titillium |
113 | 113 | |
114 |
* Montserrat font |
|
115 |
# Copyright 2011 The Montserrat Project Authors |
|
116 |
# (https://github.com/JulietaUla/Montserrat) |
|
117 |
# |
|
118 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
119 |
# |
|
120 |
# https://www.fontsquirrel.com/license/montserrat |
|
121 | ||
114 | 122 |
~~~~ |
115 | 123 | |
116 | 124 |
Some theme variant files have their own specific licenses; refer to |
static/includes/_font-montserrat.scss | ||
---|---|---|
1 |
@mixin montserrat-font($type, $weight, $style) { |
|
2 |
@font-face { |
|
3 |
font-family: 'Montserrat'; |
|
4 |
src: url('../fonts/Montserrat/montserrat-#{$type}-webfont.woff2') format('woff2'), |
|
5 |
url('../fonts/Montserrat/montserrat-#{$type}-webfont.woff') format('woff'); |
|
6 |
font-weight: $weight; |
|
7 |
font-style: $style; |
|
8 |
} |
|
9 |
} |
|
10 | ||
11 |
@mixin montserrat-font-pair($type, $weight) { |
|
12 |
@include montserrat-font($type, $weight, normal); |
|
13 |
@include montserrat-font('#{$type}italic', $weight, italic); |
|
14 |
} |
|
15 | ||
16 |
@include montserrat-font-pair('thin', 100); |
|
17 |
@include montserrat-font-pair('light', 300); |
|
18 |
@include montserrat-font-pair('regular', 400); |
|
19 |
@include montserrat-font-pair('semibold', 600); |
|
20 |
@include montserrat-font-pair('bold', 700); |
|
0 |
- |