<?php

/**
 * Block Styles
 *
 * @link https://developer.wordpress.org/reference/functions/register_block_style/
 *
 * @package magazinestyle
 * @since 1.0.0
 */

if (function_exists('register_block_style')) {
    /**
     * Register block styles.
     *
     * @since 0.1
     *
     * @return void
     */
    function magazinestyle_register_block_styles()
    {
        register_block_style(
            'core/columns',
            array(
                'name'  => 'magazinestyle-boxshadow',
                'label' => __('Box Shadow', 'magazine-style')
            )
        );

        register_block_style(
            'core/column',
            array(
                'name'  => 'magazinestyle-boxshadow',
                'label' => __('Box Shadow', 'magazine-style')
            )
        );
        register_block_style(
            'core/column',
            array(
                'name'  => 'magazinestyle-boxshadow-medium',
                'label' => __('Box Shadow Medium', 'magazine-style')
            )
        );
        register_block_style(
            'core/column',
            array(
                'name'  => 'magazinestyle-boxshadow-large',
                'label' => __('Box Shadow Large', 'magazine-style')
            )
        );

        register_block_style(
            'core/group',
            array(
                'name'  => 'magazinestyle-boxshadow',
                'label' => __('Box Shadow', 'magazine-style')
            )
        );
        register_block_style(
            'core/group',
            array(
                'name'  => 'magazinestyle-boxshadow-medium',
                'label' => __('Box Shadow Medium', 'magazine-style')
            )
        );
        register_block_style(
            'core/group',
            array(
                'name'  => 'magazinestyle-boxshadow-large',
                'label' => __('Box Shadow Larger', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-boxshadow',
                'label' => __('Box Shadow', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-boxshadow-medium',
                'label' => __('Box Shadow Medium', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-boxshadow-larger',
                'label' => __('Box Shadow Large', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-image-pulse',
                'label' => __('Iamge Pulse Effect', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-boxshadow-hover',
                'label' => __('Box Shadow on Hover', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-image-hover-pulse',
                'label' => __('Hover Pulse Effect', 'magazine-style')
            )
        );
        register_block_style(
            'core/image',
            array(
                'name'  => 'magazinestyle-image-hover-rotate',
                'label' => __('Hover Rotate Effect', 'magazine-style')
            )
        );
        register_block_style(
            'core/columns',
            array(
                'name'  => 'magazinestyle-boxshadow-hover',
                'label' => __('Box Shadow on Hover', 'magazine-style')
            )
        );

        register_block_style(
            'core/column',
            array(
                'name'  => 'magazinestyle-boxshadow-hover',
                'label' => __('Box Shadow on Hover', 'magazine-style')
            )
        );

        register_block_style(
            'core/group',
            array(
                'name'  => 'magazinestyle-boxshadow-hover',
                'label' => __('Box Shadow on Hover', 'magazine-style')
            )
        );

        register_block_style(
            'core/post-terms',
            array(
                'name'  => 'categories-background-with-round',
                'label' => __('Background Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/button',
            array(
                'name'  => 'button-hover-primary-color',
                'label' => __('Hover: Primary Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/button',
            array(
                'name'  => 'button-hover-secondary-color',
                'label' => __('Hover: Secondary Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/button',
            array(
                'name'  => 'button-hover-primary-bgcolor',
                'label' => __('Hover: Primary color fill', 'magazine-style')
            )
        );
        register_block_style(
            'core/button',
            array(
                'name'  => 'button-hover-secondary-bgcolor',
                'label' => __('Hover: Secondary color fill', 'magazine-style')
            )
        );
        register_block_style(
            'core/button',
            array(
                'name'  => 'button-hover-white-bgcolor',
                'label' => __('Hover: White color fill', 'magazine-style')
            )
        );

        register_block_style(
            'core/read-more',
            array(
                'name'  => 'readmore-hover-primary-color',
                'label' => __('Hover: Primary Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/read-more',
            array(
                'name'  => 'readmore-hover-secondary-color',
                'label' => __('Hover: Secondary Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/read-more',
            array(
                'name'  => 'readmore-hover-primary-fill',
                'label' => __('Hover: Primary Fill', 'magazine-style')
            )
        );
        register_block_style(
            'core/read-more',
            array(
                'name'  => 'readmore-hover-secondary-fill',
                'label' => __('Hover: secondary Fill', 'magazine-style')
            )
        );

        register_block_style(
            'core/list',
            array(
                'name'  => 'list-style-no-bullet',
                'label' => __('Hide bullet', 'magazine-style')
            )
        );
        register_block_style(
            'core/gallery',
            array(
                'name'  => 'enable-grayscale-mode-on-image',
                'label' => __('Enable Grayscale Mode on Image', 'magazine-style')
            )
        );
        register_block_style(
            'core/social-links',
            array(
                'name'  => 'social-icon-size-small',
                'label' => __('Small Size', 'magazine-style')
            )
        );
        register_block_style(
            'core/social-links',
            array(
                'name'  => 'social-icon-size-large',
                'label' => __('Large Size', 'magazine-style')
            )
        );
        register_block_style(
            'core/page-list',
            array(
                'name'  => 'magazinestyle-page-list-bullet-hide-style',
                'label' => __('Hide Bullet Style', 'magazine-style')
            )
        );
        register_block_style(
            'core/page-list',
            array(
                'name'  => 'magazinestyle-page-list-bullet-hide-style-white-color',
                'label' => __('Hide Bullet Style with White Text Color', 'magazine-style')
            )
        );
        register_block_style(
            'core/categories',
            array(
                'name'  => 'magazinestyle-categories-bullet-hide-style',
                'label' => __('Hide Bullet Style', 'magazine-style')
            )
        );
        register_block_style(
            'core/categories',
            array(
                'name'  => 'magazinestyle-categories-bullet-hide-style-white-color',
                'label' => __('Hide Bullet Style with Text color White', 'magazine-style')
            )
        );
    }
    add_action('init', 'magazinestyle_register_block_styles');
}
