Browse Source

Add rules to fight color annotations rule.

Jeff Ong 4 years ago
parent
commit
ad54f17046
3 changed files with 12 additions and 0 deletions
  1. 4 0
      mayland/sass/_extra-child-theme.scss
  2. 4 0
      mayland/style-rtl.css
  3. 4 0
      mayland/style.css

+ 4 - 0
mayland/sass/_extra-child-theme.scss

@@ -214,6 +214,10 @@ a {
 	}
 }
 
+.wp-block-social-link > a:not(.has-text-color) {
+	color: currentColor;
+}
+
 /**
  * Widgets
  */

+ 4 - 0
mayland/style-rtl.css

@@ -4209,6 +4209,10 @@ strong {
 	text-decoration: underline;
 }
 
+.wp-block-social-link > a:not(.has-text-color) {
+	color: currentColor;
+}
+
 /**
  * Widgets
  */

+ 4 - 0
mayland/style.css

@@ -4238,6 +4238,10 @@ strong {
 	text-decoration: underline;
 }
 
+.wp-block-social-link > a:not(.has-text-color) {
+	color: currentColor;
+}
+
 /**
  * Widgets
  */