Skip to content

Commit

Permalink
Add Outline block style to Social Icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Jan 21, 2023
1 parent e8995f4 commit 264bb55
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ function frost_register_block_styles() {
'core/navigation-link' => array(
'outline' => __( 'Outline', 'frost' ),
),
'core/social-links' => array(
'outline' => __( 'Outline', 'powder' ),
),
);

foreach ( $block_styles as $block => $styles ) {
Expand Down
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,14 @@ p.has-background {
height: 1px;
}

/* Social Icons
--------------------------------------------- */

.wp-block-social-links.is-style-outline .wp-block-social-link {
background-color: transparent;
border: 1px solid currentColor;
}

/* Spacer
--------------------------------------------- */

Expand Down

0 comments on commit 264bb55

Please sign in to comment.