Browse Source

Shawburn: set proper configuration for main-nav font

Andrés 5 years ago
parent
commit
c496cb922d
3 changed files with 3 additions and 2 deletions
  1. 1 0
      shawburn/sass/_config-child-theme-deep.scss
  2. 1 1
      shawburn/style-rtl.css
  3. 1 1
      shawburn/style.css

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

@@ -322,6 +322,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,

+ 1 - 1
shawburn/style-rtl.css

@@ -2540,7 +2540,7 @@ body:not(.fse-enabled) .site-description {
 	color: white;
 	display: block;
 	font-family: "PT Sans", Arial, sans-serif;
-	font-family: var(--font-headings, "PT Sans", Arial, sans-serif);
+	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
 	font-weight: 700;
 	padding: 8px 0;
 }

+ 1 - 1
shawburn/style.css

@@ -2557,7 +2557,7 @@ body:not(.fse-enabled) .site-description {
 	color: white;
 	display: block;
 	font-family: "PT Sans", Arial, sans-serif;
-	font-family: var(--font-headings, "PT Sans", Arial, sans-serif);
+	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
 	font-weight: 700;
 	padding: 8px 0;
 }