Projet

Général

Profil

0001-fonts-add-Open-Sans-Condensed-3825138251.patch

Frédéric Péters, 06 décembre 2019 10:30

Télécharger (81,1 ko)

Voir les différences:

Subject: [PATCH] fonts: add Open Sans Condensed (#3825138251)

 README                                          |   7 +++++++
 .../OpenSans-CondBold-webfont.woff              | Bin 0 -> 21072 bytes
 .../OpenSans-CondLight-webfont.woff             | Bin 0 -> 20156 bytes
 .../OpenSans-CondLightItalic-webfont.woff       | Bin 0 -> 21068 bytes
 static/includes/_font-opensans-condensed.scss   |  12 ++++++++++++
 5 files changed, 19 insertions(+)
 create mode 100644 static/fonts/OpenSansCondensed/OpenSans-CondBold-webfont.woff
 create mode 100644 static/fonts/OpenSansCondensed/OpenSans-CondLight-webfont.woff
 create mode 100644 static/fonts/OpenSansCondensed/OpenSans-CondLightItalic-webfont.woff
 create mode 100644 static/includes/_font-opensans-condensed.scss
README
242 242
  #
243 243
  # https://www.fontsquirrel.com/license/muli
244 244

  
245
* Open Sans Condensed
246
  # Copyright Ascender Corp.
247
  #
248
  # Apache License
249
  #
250
  # https://www.fontsquirrel.com/license/open-sans-condensed
251

  
245 252
~~~~
246 253

  
247 254
Some theme variant files have their own specific licenses; refer to
static/includes/_font-opensans-condensed.scss
1
@mixin opensans-condensed-font($type, $weight, $style: normal) {
2
    @font-face {
3
        font-family: 'Open Sans Condensed';
4
        src: url('/static/fonts/OpenSansCondensed/OpenSans-Cond#{$type}-webfont.woff') format('woff');
5
        font-weight: $weight;
6
        font-style: $style;
7
    }
8
}
9

  
10
@include opensans-condensed-font('Light', 300);
11
@include opensans-condensed-font('LightItalic', 300, 'italic');
12
@include opensans-condensed-font('Bold', 700);
0
-