Browse Source

Leven: Fix bg-background-color link color.

Allan Cole 5 years ago
parent
commit
7283a54745
1 changed files with 11 additions and 0 deletions
  1. 11 0
      leven/inc/wpcom-colors.php

+ 11 - 0
leven/inc/wpcom-colors.php

@@ -311,6 +311,17 @@ add_color_rule( 'fg1', '#1285ce', array(
 
 ), __( 'Secondary Color' ) );
 
+/**
+ * Custom CSS
+ */
+function leven_custom_colors_extra_css() { ?>
+	.has-text-color a,
+	.has-background a {
+		color: currentColor;
+	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'leven_custom_colors_extra_css' );
+
 /**
  * Featured Varia Palettes
  */