Skip to content

Commit

Permalink
Remove styles for Button block.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Feb 14, 2023
1 parent 1c62400 commit abe815b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
4 changes: 0 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ function frost_enqueue_style_sheet() {
function frost_register_block_styles() {

$block_styles = array(
'core/button' => array(
'fill-base' => __( 'Fill Base', 'frost' ),
'outline-base' => __( 'Outline Base', 'frost' ),
),
'core/columns' => array(
'columns-reverse' => __( 'Reverse', 'frost' ),
),
Expand Down
19 changes: 0 additions & 19 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ mark {
/* Blocks
---------------------------------------------------------------------------- */

/* Button - Fill Base
--------------------------------------------- */

.wp-block-button.is-style-fill-base .wp-element-button {
background-color: var(--wp--preset--color--base);
border: 1px solid var(--wp--preset--color--base);
color: var(--wp--preset--color--contrast);
}

/* Button - Outline
--------------------------------------------- */

Expand All @@ -101,16 +92,6 @@ mark {
padding: 14px 29px;
}

/* Button - Outline Base
--------------------------------------------- */

.wp-block-button.is-style-outline-base .wp-element-button {
background-color: transparent;
border: 1px solid;
border-color: var(--wp--preset--color--base);
color: var(--wp--preset--color--base);
}

/* Calendar
--------------------------------------------- */

Expand Down

0 comments on commit abe815b

Please sign in to comment.