fonts: add Marianne (#56624)

This commit is contained in:
Frédéric Péters 2021-11-21 12:23:04 +01:00
parent 47f7083363
commit acabb26e41
14 changed files with 30 additions and 0 deletions

10
README
View File

@ -328,6 +328,16 @@ copyright notices:
#
# https://fontlibrary.org/en/font/orkney
* Marianne
# To be licensed under the MIT license - http://opensource.org/licenses/MIT
#
# « L'équipe DSFR m'a fait un retour : la Marianne sera a priori aussi sous
# licence MIT. le sujet sera discuté bientôt. Dans tous les cas, la volonté est
# d'inscrire la police dans une logique de licence libre. »
# (November 18th 2021 - https://dev.entrouvert.org/issues/43470#note-32)
#
# TODO: update once the DSFR team gets back to it.
~~~~
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.

View File

@ -0,0 +1,20 @@
@mixin marianne-font($type, $weight) {
@font-face {
font-family: 'Marianne';
src: url('/static/fonts/Marianne/Marianne-#{$type}.woff2') format('woff2'),
url('/static/fonts/Marianne/Marianne-#{$type}.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
@font-face {
font-family: 'Marianne';
src: url('/static/fonts/Marianne/Marianne-#{$type}_Italic.woff2') format('woff2'),
url('/static/fonts/Marianne/Marianne-#{$type}_Italic.woff') format('woff');
font-weight: $weight;
font-style: italic;
}
}
@include marianne-font('Light', 300);
@include marianne-font('Regular', 400);
@include marianne-font('Bold', 700);