Forráskód Böngészése

Brompton: Fix txt/bg text color.

Allan Cole 5 éve
szülő
commit
6102568460
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      brompton/inc/wpcom-colors.php

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

@@ -81,10 +81,7 @@ add_color_rule( 'bg', '#E8E4DD', 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
@@ -359,7 +356,10 @@ add_color_rule( 'txt', '#252E36', 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