<?php
/**
 * Color Bullets - Template
 * 
 * @package OrokuBlocks
 * @author OrokuBlocks (https://orokublocks.com/)
 * 
 * @since 1.0.0
 * 
 * @param array $args {
 *   @type array  $colors               Bullet colors.
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

$defaults = [
  'colors'  => []
];

$options = array_merge( $defaults, $args );

?>
<div class="orokublocks-color-bullets">
<?php foreach ( $options['colors'] as $color ) : ?>
  <div class="orokublocks-color-bullet" style="background-color: <?php echo esc_attr( $color ); ?>"></div>
<?php endforeach; ?>
</div>