浏览代码

added Garamond bold to functions

Margarita Cabrera Ramirez 4 年之前
父节点
当前提交
4e3f7fc9a9
共有 5 个文件被更改,包括 12 次插入12 次删除
  1. 1 1
      coutoire/functions.php
  2. 1 1
      coutoire/sass/_config-child-theme-deep.scss
  3. 4 4
      coutoire/style-editor.css
  4. 3 3
      coutoire/style-rtl.css
  5. 3 3
      coutoire/style.css

+ 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,
 	),
 );
 

+ 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;
 }
 
 /**

+ 3 - 3
coutoire/style-rtl.css

@@ -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;

+ 3 - 3
coutoire/style.css

@@ -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;