Prechádzať zdrojové kódy

Redhill: Fix txt/bg text color.

Allan Cole 5 rokov pred
rodič
commit
da5dc2b9c7
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  1. 5 5
      redhill/inc/wpcom-colors.php

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

@@ -73,10 +73,7 @@ add_color_rule( 'bg', 'white', 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
@@ -350,7 +347,10 @@ add_color_rule( 'txt', '#222222', 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