Selaa lähdekoodia

Blockbase: Fix custom link color. Closes #4776 (#4814)

Co-authored-by: @mikachan
Daniel Dudzic 3 vuotta sitten
vanhempi
commit
86db86ac34
2 muutettua tiedostoa jossa 0 lisäystä ja 9 poistoa
  1. 0 4
      blockbase/assets/ponyfill.css
  2. 0 5
      blockbase/sass/blocks/_paragraph.scss

+ 0 - 4
blockbase/assets/ponyfill.css

@@ -481,10 +481,6 @@ ol {
 	display: revert;
 }
 
-p.has-text-color a {
-	color: var(--wp--style--color--link, var(--wp--custom--color--primary));
-}
-
 p.has-drop-cap:not(:focus):first-letter {
 	font-size: var(--wp--custom--paragraph--dropcap--typography--font-size);
 	font-weight: var(--wp--custom--paragraph--dropcap--typography--font-weight);

+ 0 - 5
blockbase/sass/blocks/_paragraph.scss

@@ -1,9 +1,4 @@
 p {
-	// Override `color: inherit` from Core styles.
-	&.has-text-color a {
-		color: var( --wp--style--color--link, var(--wp--custom--color--primary) );
-	}
-
 	&.has-drop-cap:not(:focus):first-letter {
 		font-size: var(--wp--custom--paragraph--dropcap--typography--font-size);
 		font-weight: var(--wp--custom--paragraph--dropcap--typography--font-weight);