Skip to content

Commit

Permalink
Remove Template patterns and block style.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Nov 7, 2024
1 parent 7b793c6 commit 07538c2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 168 deletions.
4 changes: 0 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ function powder_register_block_styles() {
'core/columns' => array(
'column-reverse' => __( 'Reverse', 'powder' ),
),
'core/cover' => array(
'gradient' => __( 'Gradient', 'powder' ),
),
'core/list' => array(
'no-style' => __( 'No Style', 'powder' ),
),
Expand Down Expand Up @@ -92,7 +89,6 @@ function powder_register_pattern_categories() {
'content' => array( __( 'Content', 'powder' ), __( 'A collection of content patterns for Powder.', 'powder' ) ),
'hero' => array( __( 'Hero', 'powder' ), __( 'A collection of hero patterns for Powder.', 'powder' ) ),
'pricing' => array( __( 'Pricing', 'powder' ), __( 'A collection of pricing patterns for Powder.', 'powder' ) ),
'template' => array( __( 'Template', 'powder' ), __( 'A collection of template patterns for Powder.', 'powder' ) ),
);

foreach ( $categories as $slug => $details ) {
Expand Down
43 changes: 0 additions & 43 deletions patterns/template-page-box-shadow.php

This file was deleted.

24 changes: 0 additions & 24 deletions patterns/template-page-gradient-cover.php

This file was deleted.

54 changes: 0 additions & 54 deletions patterns/template-single-box-shadow.php

This file was deleted.

35 changes: 0 additions & 35 deletions patterns/template-single-gradient-cover.php

This file was deleted.

8 changes: 0 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,6 @@ textarea {
/* Blocks
---------------------------------------- */

/* -- Cover -- */

.wp-block-cover.is-style-gradient .has-background-dim:not([class*=-background-color]) {
background-color: transparent;
background-image: linear-gradient(to top, rgba(10,10,10,0.8), rgba(10,10,10,1));
opacity: 1;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
Expand Down

0 comments on commit 07538c2

Please sign in to comment.