Explorar o código

Varia: migrate sass/blocks/table

Andrés %!s(int64=5) %!d(string=hai) anos
pai
achega
178a6f0e40

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

@@ -3,6 +3,7 @@ table,
 
 	th {
 		font-family: #{map-deep-get($config-heading, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
 	}
 
 	td,

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

@@ -6,6 +6,7 @@ table,
 
 	th {
 		font-family: #{map-deep-get($config-heading, "font", "family")};
+		font-family: var( --font-headings, #{map-deep-get($config-heading, "font", "family")} );
 	}
 
 	td,

+ 1 - 0
varia/style-editor.css

@@ -677,6 +677,7 @@ hr {
 table th,
 .wp-block-table th {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 }
 
 table td,

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

+ 1 - 0
varia/style.css

@@ -1972,6 +1972,7 @@ table,
 table th,
 .wp-block-table th {
 	font-family: sans-serif;
+	font-family: var(--font-headings, sans-serif);
 }
 
 table td,