Kaynağa Gözat

Varia: migrate sass/blocks/quote

Andrés 5 yıl önce
ebeveyn
işleme
7bcba055f9

+ 2 - 0
varia/sass/blocks/quote/_editor.scss

@@ -5,6 +5,7 @@
 
 	p {
 		font-family: #{map-deep-get($config-quote, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
 		font-size: (strip-unit(map-deep-get($config-heading, "font", "size", "h4")) + 0em);
 		letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
 		line-height: #{map-deep-get($config-global, "font", "line-height", "h4")};
@@ -17,6 +18,7 @@
 
 		p {
 			font-family: #{map-deep-get($config-quote, "font", "family")};
+			font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
 			font-size: (strip-unit(map-deep-get($config-heading, "font", "size", "h3")) + 0em);
 			letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h3")};
 			line-height: #{map-deep-get($config-heading, "font", "line-height", "h3")};

+ 1 - 0
varia/sass/blocks/quote/_style.scss

@@ -19,6 +19,7 @@
 
 	p {
 		font-family: #{map-deep-get($config-quote, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-quote, "font", "family")} );
 		font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
 		letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
 		line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};

+ 2 - 0
varia/style-editor.css

@@ -595,6 +595,7 @@ p.has-background:not(.has-background-background-color) a {
 
 .wp-block-quote p {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 1.728em;
 	letter-spacing: normal;
 }
@@ -606,6 +607,7 @@ p.has-background:not(.has-background-background-color) a {
 
 .wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 2.0736em;
 	letter-spacing: normal;
 	line-height: 1.125;

+ 1 - 0
varia/style-rtl.css

@@ -1759,6 +1759,7 @@ p.has-background {
 
 .wp-block-pullquote p {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 1.728rem;
 	letter-spacing: normal;
 	line-height: 1.125;

+ 1 - 0
varia/style.css

@@ -1839,6 +1839,7 @@ p.has-background {
 
 .wp-block-quote p {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-size: 1.728rem;
 	letter-spacing: normal;
 	line-height: 1.125;