Jelajahi Sumber

Stow: set proper configuration for main-nav font

Andrés 5 tahun lalu
induk
melakukan
0a3af1e760
3 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 1 0
      stow/sass/_config-child-theme-deep.scss
  2. 1 1
      stow/style-rtl.css
  3. 1 1
      stow/style.css

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

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

+ 1 - 1
stow/style-rtl.css

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

+ 1 - 1
stow/style.css

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