fonts: add Exo 2 (#35389)

This commit is contained in:
Nicolas Roche 2019-08-15 17:59:16 +02:00
parent b5923fa43b
commit 6ccd5f9bf4
38 changed files with 33 additions and 0 deletions

7
README
View File

@ -186,6 +186,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/work-sans
* Exo 2
# Copyright (c) 2013, Natanael Gama (www.ndiscovered.com . info(at)ndiscovered.com), with Reserved Font Name Exo.
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/exo-2
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,26 @@
@mixin exo2-font($type, $weight) {
@font-face {
font-family: 'Exo 2';
src: url('/static/fonts/Exo2/exo2-#{$type}-webfont.woff2') format('woff2'),
url('/static/fonts/Exo2/exo2-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
@font-face {
font-family: 'Exo 2';
src: url('/static/fonts/Exo2/exo2-#{$type}italic-webfont.woff2') format('woff2'),
url('/static/fonts/Exo2/exo2-#{$type}italic-webfont.woff') format('woff');
font-weight: $weight;
font-style: italic;
}
}
@include exo2-font('thin', 100);
@include exo2-font('extralight', 200);
@include exo2-font('light', 300);
@include exo2-font('regular', 400);
@include exo2-font('medium', 500);
@include exo2-font('semibold', 600);
@include exo2-font('bold', 700);
@include exo2-font('extrabold', 800);
@include exo2-font('black', 900);