Browse Source

Alves: Clean up links on dark backgrounds.

Kjell Reigstad 5 years ago
parent
commit
3c2962d6c0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      alves/inc/wpcom-editor-colors.php

+ 2 - 1
alves/inc/wpcom-editor-colors.php

@@ -169,7 +169,8 @@ add_editor_color_rule( 'txt', '#394d55', array(
 	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
 	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
 			#editor .editor-styles-wrapper .has-background-dark-background-color[class],
 			#editor .editor-styles-wrapper .has-background-dark-background-color[class],
 			#editor .editor-styles-wrapper .has-background-light-background-color[class],
 			#editor .editor-styles-wrapper .has-background-light-background-color[class],
-			#editor .editor-styles-wrapper .has-foreground-color[class]', 'color' ),
+			#editor .editor-styles-wrapper .has-foreground-color[class],
+			#editor .editor-styles-wrapper .has-background-background-color[class] a', 'color' ),
 
 
 	// Background-color
 	// Background-color
 	array( '#editor .editor-styles-wrapper .has-foreground-background-color[class]', 'background-color' ),
 	array( '#editor .editor-styles-wrapper .has-foreground-background-color[class]', 'background-color' ),