Skip to content

Commit 264bb55

Browse files
committed
Add Outline block style to Social Icons.
1 parent e8995f4 commit 264bb55

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

functions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ function frost_register_block_styles() {
7070
'core/navigation-link' => array(
7171
'outline' => __( 'Outline', 'frost' ),
7272
),
73+
'core/social-links' => array(
74+
'outline' => __( 'Outline', 'powder' ),
75+
),
7376
);
7477

7578
foreach ( $block_styles as $block => $styles ) {

style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,14 @@ p.has-background {
311311
height: 1px;
312312
}
313313

314+
/* Social Icons
315+
--------------------------------------------- */
316+
317+
.wp-block-social-links.is-style-outline .wp-block-social-link {
318+
background-color: transparent;
319+
border: 1px solid currentColor;
320+
}
321+
314322
/* Spacer
315323
--------------------------------------------- */
316324

0 commit comments

Comments
 (0)