瀏覽代碼

Stratford: set proper configuration for main-nav font

Andrés 5 年之前
父節點
當前提交
7f2f9e4c7f
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 0
      stratford/sass/_config-child-theme-deep.scss
  2. 1 1
      stratford/style-rtl.css
  3. 1 1
      stratford/style.css

+ 1 - 0
stratford/sass/_config-child-theme-deep.scss

@@ -324,6 +324,7 @@ $config-header: (
 		// Fonts
 		"font": (
 			"family": map-deep-get($config-global, "font", "family", "secondary"),
+			"family-css-variable": '--font-base',
 			"size": map-deep-get($config-global, "font", "size", "sm"),
 			"weight": 700,
 			"line-height": 1.5,

+ 1 - 1
stratford/style-rtl.css

@@ -2541,7 +2541,7 @@ body:not(.fse-enabled) .site-description {
 	color: #2c313f;
 	display: block;
 	font-family: "Lato", sans-serif;
-	font-family: var(--font-headings, "Lato", sans-serif);
+	font-family: var(--font-base, "Lato", sans-serif);
 	font-weight: 700;
 	padding: 8px 0;
 }

+ 1 - 1
stratford/style.css

@@ -2558,7 +2558,7 @@ body:not(.fse-enabled) .site-description {
 	color: #2c313f;
 	display: block;
 	font-family: "Lato", sans-serif;
-	font-family: var(--font-headings, "Lato", sans-serif);
+	font-family: var(--font-base, "Lato", sans-serif);
 	font-weight: 700;
 	padding: 8px 0;
 }