Przeglądaj źródła

Varia: migrate sass/blocks/pullquote

Andrés 5 lat temu
rodzic
commit
4b36fe3167

+ 1 - 0
varia/sass/blocks/pullquote/_editor.scss

@@ -16,6 +16,7 @@
 
 	p {
 		font-family: #{map-deep-get($config-pullquote, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-pullquote, "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-heading, "font", "line-height", "h4")};

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

@@ -12,6 +12,7 @@
 
 	p {
 		font-family: #{map-deep-get($config-pullquote, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-pullquote, "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")};

+ 1 - 0
varia/style-editor.css

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

+ 1 - 0
varia/style-rtl.css

@@ -1685,6 +1685,7 @@ p.has-background {
 	color: white;
 	background-color: blue;
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 	font-weight: bold;
 	font-size: 0.83333rem;
 	line-height: 1;

+ 1 - 0
varia/style.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;