Przeglądaj źródła

Stratford: set proper configuration for main-nav font

Andrés 5 lat temu
rodzic
commit
7f2f9e4c7f

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