Projet

Général

Profil

0001-scss-fix-source-sans-pro-font-name-declaration-29831.patch

Frédéric Péters, 16 janvier 2019 19:53

Télécharger (2,56 ko)

Voir les différences:

Subject: [PATCH] scss: fix source sans pro font name declaration (#29831)

 static/grandlyon-sau/_categorie-demande.scss | 3 ++-
 static/grandlyon-sau/_custom.scss            | 3 ++-
 static/grandlyon-sau/_vars.scss              | 2 +-
 static/includes/_font-source-sans-pro.scss   | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)
static/grandlyon-sau/_categorie-demande.scss
83 83
								}
84 84
								// inner-text
85 85
								span {
86
									font-family: SourceSansPro-Regular;
86
									font-family: "Source Sans Pro", sans-serif;
87
									font-weight: normal;
87 88
									font-size: calc(0.8vw + 0.8em);
88 89
									line-height: 4em;
89 90
								}
static/grandlyon-sau/_custom.scss
140 140
				h2:first-child {
141 141
					padding: 0;
142 142
					font-size: 200%;
143
					font-family: SourceSansPro-Regular;
143
					font-family: "Source Sans Pro", sans-serif;
144
					font-weight: normal;
144 145
				}
145 146
			}
146 147
			&.linkcell {
static/grandlyon-sau/_vars.scss
1 1
$width: 1200px;
2 2
$mobile-limit: 800px;
3 3
$font-size: 16px;
4
$font-family: SourceSansPro-Regular, sans-serif;
4
$font-family: "Source Sans Pro", sans-serif;
5 5
$border-radius: 0;
6 6
$body-background: #F2F2F2;
7 7
$primary-color: #E42320;
static/includes/_font-source-sans-pro.scss
2 2

  
3 3
@mixin source-sans-pro-font($type, $weight, $style: normal) {
4 4
	@font-face {
5
		font-family: 'SourceSansPro-#{$type}';
5
		font-family: 'Source Sans Pro';
6 6
		src: url('#{$source-sans-pro-font-path}/SourceSansPro-#{$type}.otf') format('opentype');
7 7
		font-weight: $weight;
8 8
		font-style: $style;
9
-