<?php

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

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

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

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

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

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

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

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

        register_block_style(
            'core/list',
            array(
                'name'  => 'list-style-no-bullet',
                'label' => __('List Style: Hide bullet', 'spa-centric')
            )
        );
        register_block_style(
            'core/list',
            array(
                'name'  => 'hide-bullet-list-link-hover-style-primary',
                'label' => __('Hover style with primary color and hide bullet', 'spa-centric')
            )
        );
        register_block_style(
            'core/list',
            array(
                'name'  => 'hide-bullet-list-link-hover-style-secondary',
                'label' => __('Hover style with secondary color and hide bullet', 'spa-centric')
            )
        );

        register_block_style(
            'core/gallery',
            array(
                'name'  => 'enable-grayscale-mode-on-image',
                'label' => __('Enable Grayscale Mode on Image', 'spa-centric')
            )
        );
        register_block_style(
            'core/social-links',
            array(
                'name'  => 'social-icon-border',
                'label' => __('Border Style', 'spa-centric')
            )
        );
        register_block_style(
            'core/page-list',
            array(
                'name'  => 'spa-centric-page-list-bullet-hide-style',
                'label' => __('Hide Bullet Style', 'spa-centric')
            )
        );
        register_block_style(
            'core/categories',
            array(
                'name'  => 'spa-centric-categories-bullet-hide-style',
                'label' => __('Hide Bullet Style', 'spa-centric')
            )
        );
        register_block_style(
            'core/cover',
            array(
                'name'  => 'spa-centric-cover-round-style',
                'label' => __('Round Corner Style', 'spa-centric')
            )
        );
    }
    add_action('init', 'SPA_CENTRIC_register_block_styles');
}
