소스 검색

Leven: Fix txt/bg text color.

Allan Cole 5 년 전
부모
커밋
26e5b42df0
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      leven/inc/wpcom-colors.php

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

@@ -35,10 +35,7 @@ add_color_rule( 'bg', '#f7f7f6', 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
@@ -194,7 +191,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