From 07538c28c6f52b9cf2e342ef37dade969b99d930 Mon Sep 17 00:00:00 2001 From: Brian Gardner Date: Thu, 7 Nov 2024 16:04:41 -0700 Subject: [PATCH] Remove Template patterns and block style. --- functions.php | 4 -- patterns/template-page-box-shadow.php | 43 ---------------- patterns/template-page-gradient-cover.php | 24 --------- patterns/template-single-box-shadow.php | 54 --------------------- patterns/template-single-gradient-cover.php | 35 ------------- style.css | 8 --- 6 files changed, 168 deletions(-) delete mode 100644 patterns/template-page-box-shadow.php delete mode 100644 patterns/template-page-gradient-cover.php delete mode 100644 patterns/template-single-box-shadow.php delete mode 100644 patterns/template-single-gradient-cover.php diff --git a/functions.php b/functions.php index a4eb179..6593844 100644 --- a/functions.php +++ b/functions.php @@ -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' ), ), @@ -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 ) { diff --git a/patterns/template-page-box-shadow.php b/patterns/template-page-box-shadow.php deleted file mode 100644 index f6b72cf..0000000 --- a/patterns/template-page-box-shadow.php +++ /dev/null @@ -1,43 +0,0 @@ - - - -
- -
- -
- - -
- - -
- -
- -
- - -
- -
- -
- -
- -
- - -
- -
- - diff --git a/patterns/template-page-gradient-cover.php b/patterns/template-page-gradient-cover.php deleted file mode 100644 index c936bfe..0000000 --- a/patterns/template-page-gradient-cover.php +++ /dev/null @@ -1,24 +0,0 @@ - - - -
- -
- -
- -
- - -
- -
- - diff --git a/patterns/template-single-box-shadow.php b/patterns/template-single-box-shadow.php deleted file mode 100644 index e6e6bd4..0000000 --- a/patterns/template-single-box-shadow.php +++ /dev/null @@ -1,54 +0,0 @@ - - - -
- -
- - -
- - -

·

- - -
- -
- - -
- - -
- -
- -
- - -
- - - -
- -
- -
- -
- - -
- -
- - diff --git a/patterns/template-single-gradient-cover.php b/patterns/template-single-gradient-cover.php deleted file mode 100644 index 5ad4e7d..0000000 --- a/patterns/template-single-gradient-cover.php +++ /dev/null @@ -1,35 +0,0 @@ - - - -
- -
- -
- - -
- - - -
- - diff --git a/style.css b/style.css index 739b1da..fe80173 100644 --- a/style.css +++ b/style.css @@ -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 {