Преглед изворни кода

Rivington: Fix txt/bg text color.

Allan Cole пре 5 година
родитељ
комит
d4c4a585b5
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      rivington/inc/wpcom-colors.php

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

@@ -108,10 +108,7 @@ add_color_rule( 'bg', '#060f29', 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
@@ -262,7 +259,10 @@ add_color_rule( 'txt', '#f2f2f2', 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