Skip to content

Commit

Permalink
Try darker social links state for dark themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Feb 8, 2021
1 parent a1d5860 commit 90c6b86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/social-links/editor.scss
Expand Up @@ -26,6 +26,11 @@
opacity: 0.1;
}

// Show more opaque in dark themes.
.is-dark-theme .is-selected & {
opacity: 0.4;
}

// Use the first link to set the height.
> .wp-social-link {
// Use !important to keep the selector simple.
Expand Down

0 comments on commit 90c6b86

Please sign in to comment.