Projet

Général

Profil

0001-fonts-add-Now-Alt-34260.patch

Frédéric Péters, 24 juin 2019 13:04

Télécharger (325 ko)

Voir les différences:

Subject: [PATCH] fonts: add Now Alt (#34260)

 README                                          |   7 +++++++
 static/fonts/NowAlt/nowalt-black-webfont.woff   | Bin 0 -> 24616 bytes
 static/fonts/NowAlt/nowalt-black-webfont.woff2  | Bin 0 -> 18424 bytes
 static/fonts/NowAlt/nowalt-bold-webfont.woff    | Bin 0 -> 24840 bytes
 static/fonts/NowAlt/nowalt-bold-webfont.woff2   | Bin 0 -> 18480 bytes
 static/fonts/NowAlt/nowalt-light-webfont.woff   | Bin 0 -> 24016 bytes
 static/fonts/NowAlt/nowalt-light-webfont.woff2  | Bin 0 -> 18008 bytes
 static/fonts/NowAlt/nowalt-medium-webfont.woff  | Bin 0 -> 24696 bytes
 static/fonts/NowAlt/nowalt-medium-webfont.woff2 | Bin 0 -> 18472 bytes
 static/fonts/NowAlt/nowalt-regular-webfont.woff | Bin 0 -> 23812 bytes
 .../fonts/NowAlt/nowalt-regular-webfont.woff2   | Bin 0 -> 18200 bytes
 static/fonts/NowAlt/nowalt-thin-webfont.woff    | Bin 0 -> 22612 bytes
 static/fonts/NowAlt/nowalt-thin-webfont.woff2   | Bin 0 -> 17376 bytes
 static/includes/_font-nowalt.scss               |  16 ++++++++++++++++
 14 files changed, 23 insertions(+)
 create mode 100644 static/fonts/NowAlt/nowalt-black-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-black-webfont.woff2
 create mode 100644 static/fonts/NowAlt/nowalt-bold-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-bold-webfont.woff2
 create mode 100644 static/fonts/NowAlt/nowalt-light-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-light-webfont.woff2
 create mode 100644 static/fonts/NowAlt/nowalt-medium-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-medium-webfont.woff2
 create mode 100644 static/fonts/NowAlt/nowalt-regular-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-regular-webfont.woff2
 create mode 100644 static/fonts/NowAlt/nowalt-thin-webfont.woff
 create mode 100644 static/fonts/NowAlt/nowalt-thin-webfont.woff2
 create mode 100644 static/includes/_font-nowalt.scss
README
164 164
  #
165 165
  # https://www.fontsquirrel.com/license/poppins
166 166

  
167
* Now Alt
168
  # Copyright (c) 2015, Alfredo Marco Pradil
169
  # (<http://behance.net/pradil | ammpradil@gmail.com>),
170
  # with Reserved Font Name Now Alt.
171
  #
172
  # This Font Software is licensed under the SIL Open Font License, Version 1.1
173

  
167 174
~~~~
168 175

  
169 176
Some theme variant files have their own specific licenses; refer to
static/includes/_font-nowalt.scss
1
@mixin nowalt-font($type, $weight) {
2
	@font-face {
3
		font-family: 'Now Alt';
4
		src: url('/static/fonts/NowAlt/nowalt-#{$type}-webfont.woff2') format('woff2'),
5
		     url('/static/fonts/NowAlt/nowalt-#{$type}-webfont.woff') format('woff');
6
		font-weight: $weight;
7
		font-style: normal;
8
	}
9
}
10

  
11
@include nowalt-font('thin', 100);
12
@include nowalt-font('light', 300);
13
@include nowalt-font('regular', 400);
14
@include nowalt-font('medium', 500);
15
@include nowalt-font('bold', 700);
16
@include nowalt-font('black', 900);
0
-