Skip to content

Commit

Permalink
Reduce specifity of social link icon specific colors (WordPress#63049)
Browse files Browse the repository at this point in the history
Co-authored-by: talldan <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: bgardner <[email protected]>
  • Loading branch information
4 people authored Jul 2, 2024
1 parent e299c1f commit c56aa97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/social-links/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

// Provide colors for a range of icons.
.wp-block-social-links:not(.is-style-logos-only) {
:where(.wp-block-social-links:not(.is-style-logos-only)) {
// Generic items such as mail, feed, etc.
@import "../social-link/socials-with-bg.scss";
}
Expand All @@ -116,7 +116,7 @@
// The specificity for this selector has not been reduced to 0-1-0 as per
// global styles variation selectors as the lack of background should be
// enforced for this block style.
.wp-block-social-links.is-style-logos-only {
:where(.wp-block-social-links.is-style-logos-only) {
.wp-social-link {
background: none;

Expand Down

0 comments on commit c56aa97

Please sign in to comment.