<?php
/**
 * Block Styles
 *
 * @package magazine_blocks
 * @since 1.0
 */

if ( function_exists( 'register_block_style' ) ) {
	function magazine_blocks_register_block_styles() {

		//Wp Block Padding Zero
		register_block_style(
			'core/group',
			array(
				'name'  => 'magazine-blocks-padding-0',
				'label' => esc_html__( 'No Padding', 'magazine-blocks' ),
			)
		);

		//Wp Block Post Author Style
		register_block_style(
			'core/post-author',
			array(
				'name'  => 'magazine-blocks-post-author-card',
				'label' => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);

		//Wp Block Button Style
		register_block_style(
			'core/button',
			array(
				'name'         => 'magazine-blocks-button',
				'label'        => esc_html__( 'Plain', 'magazine-blocks' ),
			)
		);

		//Post Comments Style
		register_block_style(
			'core/post-comments',
			array(
				'name'         => 'magazine-blocks-post-comments',
				'label'        => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);

		//Latest Comments Style
		register_block_style(
			'core/latest-comments',
			array(
				'name'         => 'magazine-blocks-latest-comments',
				'label'        => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);


		//Wp Block Table Style
		register_block_style(
			'core/table',
			array(
				'name'         => 'magazine-blocks-wp-table',
				'label'        => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);


		//Wp Block Pre Style
		register_block_style(
			'core/preformatted',
			array(
				'name'         => 'magazine-blocks-wp-preformatted',
				'label'        => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);

		//Wp Block Verse Style
		register_block_style(
			'core/verse',
			array(
				'name'         => 'magazine-blocks-wp-verse',
				'label'        => esc_html__( 'Theme Style', 'magazine-blocks' ),
			)
		);
	}
	add_action( 'init', 'magazine_blocks_register_block_styles' );
}
