Browse Source

Don't change the text color for links when it is set

Ben Dwyer 4 years ago
parent
commit
54c884c7b8

+ 1 - 1
dalston/style-editor.css

@@ -193,7 +193,7 @@ a:hover {
 	color: #005177;
 }
 
-.has-primary-background-color a {
+.has-primary-background-color a:not(.has-text-color) {
 	color: #FFFFFF;
 }
 

+ 1 - 1
dalston/style-rtl.css

@@ -685,7 +685,7 @@ a:hover {
 	color: #005177;
 }
 
-.has-primary-background-color a {
+.has-primary-background-color a:not(.has-text-color) {
 	color: #FFFFFF;
 }
 

+ 1 - 1
dalston/style.css

@@ -685,7 +685,7 @@ a:hover {
 	color: #005177;
 }
 
-.has-primary-background-color a {
+.has-primary-background-color a:not(.has-text-color) {
 	color: #FFFFFF;
 }
 

+ 1 - 1
varia/sass/base/_editor.scss

@@ -27,7 +27,7 @@ a {
 		color: #{map-deep-get($config-global, "color", "primary", "hover")};
 	}
 
-	.has-primary-background-color & {
+	.has-primary-background-color &:not(.has-text-color) {
 		color: #{map-deep-get($config-global, "color", "background", "default")};
 	}
 }

+ 1 - 1
varia/sass/base/_reset.scss

@@ -89,7 +89,7 @@ a {
 		color: #{map-deep-get($config-global, "color", "primary", "hover")};
 	}
 
-	.has-primary-background-color & {
+	.has-primary-background-color &:not(.has-text-color) {
 		color: #{map-deep-get($config-global, "color", "background", "default")};
 	}
 }