فهرست منبع

Merge pull request #2462 from Automattic/fix/coutoire-bold-headings

#2415 Coutoire: Added missing bold font on headings
Maggie 4 سال پیش
والد
کامیت
4a487e26fa

+ 1 - 1
coutoire/functions.php

@@ -143,7 +143,7 @@ function coutoire_fonts_url() {
 		}
 
 		if ( 'off' !== $eb_garamond ) {
-			$font_families[] = 'EB Garamond:400,400i';
+			$font_families[] = 'EB Garamond:400,400i,600';
 		}
 
 		$query_args = array(

+ 1 - 1
coutoire/sass/_config-child-theme-deep.scss

@@ -255,7 +255,7 @@ $config-heading: (
 			"h1": map-deep-get($config-global, "font", "letter-spacing", "xxxl"),
 		),
 		// Font Weight
-		"weight": 200,
+		"weight": 400,
 	),
 );
 

+ 1 - 1
coutoire/sass/style-child-theme.scss

@@ -5,7 +5,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: A design system for WordPress sites built with Gutenberg.
 Requires at least: WordPress 4.9.6
-Version: 1.3.3
+Version: 1.3.4
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia

+ 4 - 4
coutoire/style-editor.css

@@ -665,7 +665,7 @@ object {
 .wp-block-heading h6, h6, .h6 {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
-	font-weight: 200;
+	font-weight: 400;
 	clear: both;
 }
 
@@ -745,7 +745,7 @@ object {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: 1.728rem;
-	font-weight: 200;
+	font-weight: 400;
 	line-height: 1;
 }
 
@@ -1032,7 +1032,7 @@ table.is-style-stripes tbody tr:nth-child(odd),
 	color: #444444;
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
-	font-weight: 200;
+	font-weight: 400;
 	font-size: 2.48832em;
 	letter-spacing: normal;
 	line-height: 1;
@@ -1166,7 +1166,7 @@ table.is-style-stripes tbody tr:nth-child(odd),
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: calc(2 * 2.98598em);
-	font-weight: 200;
+	font-weight: 400;
 }
 
 /**

+ 4 - 4
coutoire/style-rtl.css

@@ -6,7 +6,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: A design system for WordPress sites built with Gutenberg.
 Requires at least: WordPress 4.9.6
-Version: 1.3.3
+Version: 1.3.4
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
@@ -1709,7 +1709,7 @@ h5, .h5,
 h6, .h6 {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
-	font-weight: 200;
+	font-weight: 400;
 	clear: both;
 }
 
@@ -1837,7 +1837,7 @@ img {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: 1.728rem;
-	font-weight: 200;
+	font-weight: 400;
 	line-height: 1;
 }
 
@@ -2551,7 +2551,7 @@ table.is-style-stripes tbody tr:nth-child(odd),
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: calc(2 * 2.98598rem);
-	font-weight: 200;
+	font-weight: 400;
 	line-height: 0.66;
 	text-transform: uppercase;
 	font-style: normal;

+ 4 - 4
coutoire/style.css

@@ -6,7 +6,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: A design system for WordPress sites built with Gutenberg.
 Requires at least: WordPress 4.9.6
-Version: 1.3.3
+Version: 1.3.4
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
@@ -1709,7 +1709,7 @@ h5, .h5,
 h6, .h6 {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
-	font-weight: 200;
+	font-weight: 400;
 	clear: both;
 }
 
@@ -1837,7 +1837,7 @@ img {
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: 1.728rem;
-	font-weight: 200;
+	font-weight: 400;
 	line-height: 1;
 }
 
@@ -2558,7 +2558,7 @@ table.is-style-stripes tbody tr:nth-child(odd),
 	font-family: "EB Garamond", serif;
 	font-family: var(--font-headings, "EB Garamond", serif);
 	font-size: calc(2 * 2.98598rem);
-	font-weight: 200;
+	font-weight: 400;
 	line-height: 0.66;
 	text-transform: uppercase;
 	font-style: normal;