浏览代码

Coutoire: Fix txt/bg text color.

Allan Cole 5 年之前
父节点
当前提交
d0f6783e42
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      coutoire/inc/wpcom-colors.php

+ 5 - 5
coutoire/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
@@ -233,7 +230,10 @@ add_color_rule( 'txt', '#444444', 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