diff --git a/app/Admin/Theme.php b/app/Admin/Theme.php index 8d06739..44fe26e 100644 --- a/app/Admin/Theme.php +++ b/app/Admin/Theme.php @@ -9,7 +9,6 @@ class Theme public function __construct() { add_action( 'after_setup_theme', [$this, 'DynamicPalette'] ); - // add_action( 'init' , [$this, 'BackgroundTints']); } public function DynamicPalette() @@ -33,16 +32,4 @@ class Theme add_theme_support('editor-color-palette', $palette); } } - - public function BackgroundTints() - { - register_block_style( - 'badegg/article', - [ - 'name' => 'badegg-colour-tint', - 'label' => __('Tint', 'badegg'), - // 'inline_style' =>'.wp-block-image.is-style-badegg-colour-tint { }', - ] - ); - } }