소스 검색

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