Просмотр исходного кода

Exford: Fix txt/bg text color.

Allan Cole 5 лет назад
Родитель
Сommit
65e4b6f90c
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      exford/inc/wpcom-colors.php

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

@@ -35,10 +35,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
@@ -207,7 +204,10 @@ add_color_rule( 'txt', '#111111', 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