Przeglądaj źródła

Barnsbury: Fix txt/bg text color.

Allan Cole 5 lat temu
rodzic
commit
e250a643c9
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      barnsbury/inc/wpcom-colors.php

+ 5 - 5
barnsbury/inc/wpcom-colors.php

@@ -72,10 +72,7 @@ add_color_rule( 'bg', '#FFFDF6', array(
 			.has-foreground-light-background-color[class],
 			.has-background-color[class],
 			.has-background-dark-color[class],
-			.has-background-light-color[class],
-			.has-background-background-color[class],
-			.has-background-dark-background-color[class],
-			.has-background-light-background-color[class]', 'color' ),
+			.has-background-light-color[class]', 'color' ),
 	// Background-color
 	array( '.has-background-background-color[class]', 'background-color' ),
 	// Background-color darkened
@@ -261,7 +258,10 @@ add_color_rule( 'txt', '#3C2323', array(
 	 * Utility Classes
 	 */
 	// Foreground
-	array( '.has-foreground-color[class]', 'color' ),
+	array( '.has-foreground-color[class],
+		.has-background-background-color[class],
+		.has-background-dark-background-color[class],
+		.has-background-light-background-color[class]', 'color' ),
 	array( '.has-foreground-background-color[class]', 'background-color' ),
 
 	// Text-color darkened