Explorar el Código

Mayland: Fix txt/bg text color.

Allan Cole hace 5 años
padre
commit
84fd77f01c
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      mayland/inc/wpcom-colors.php

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

@@ -29,10 +29,7 @@ add_color_rule( 'bg', '#ffffff', 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
@@ -219,7 +216,10 @@ add_color_rule( 'txt', '#010101', 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