<?php
// don't load directly
defined( 'ABSPATH' ) || exit;

CSF::createSection( $prefix, array(
	'parent' => 'design', // The slug id of the parent section
	'title'  => __( 'Custom CSS', 'cartnotify' ),
	'fields' => array(
		array(
			'id'       => 'wi-custom-css',
			'type'     => 'code_editor',
			'title'    => __( 'Custom CSS', 'cartnotify' ),
			'subtitle' => __( 'Add extra CSS for cart notification styling.', 'cartnotify' ),
			'settings' => array(
				'theme' => 'monokai',
				'mode'  => 'css',
			),
			'sanitize' => array( '\Cart\notify\Settings\Repository', 'sanitize_custom_css' ),
		),
	),
) );
