'Content 014', ]); $content_014 // Horizontal Tabs ->addTab('Content', ['placement' => 'top']) ->addSelect('content_014_heading_tag', [ 'label' => 'Heading Tag', 'choices' => [ 'h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6', ], 'default_value' => 'h2', ]) ->addText('content_014_heading_text', [ 'label' => 'Heading Text', 'placeholder' => 'Enter heading text here...', 'default_value' => 'Content 014', ]) ->addWysiwyg('content_014_subheading_text', [ 'label' => 'Subheading Text', 'tabs' => 'all', 'toolbar' => 'basic', 'media_upload' => 0, 'default_value' => '

See whose services we help to deliver to you every day

', ]) ->addWysiwyg('content_014_paragraph_text', [ 'label' => 'Paragraph Text', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, 'default_value' => '

Lorem ipsum dolor sit amet consectetur. Tristique purus sed diam ac. Ac nullam egestas maecenas interdum imperdiet tincidunt. Tortor egestas et ac faucibus risus. Placerat amet egestas congue molestie dolor gravida.
Interdum pulvinar fermentum mauris nec lacus et. Nunc malesuada rutrum tincidunt nec euismod ultrices eleifend in sodales. Elit scelerisque.

', ]) ->addLink('content_014_button_link', [ 'label' => 'Button Link', 'return_format' => 'array', 'default_value' => [ 'url' => home_url('/'), 'title' => 'Discover our API', 'target' => '_self', ], ]) ->addTab('Design', ['placement' => 'top']) ->addColorPicker('heading_text_color', [ 'label' => 'Heading Text Color', 'default_value' => '#000000', // Black by default ]) ->addColorPicker('underline_color', [ 'label' => 'Underline Color', 'default_value' => '#1e1f3d', // Secondary by default ]) ->addColorPicker('button_background_color', [ 'label' => 'Button Background Color', 'default_value' => '#1e1f3d', // Secondary by default ]) ->addColorPicker('button_text_color', [ 'label' => 'Button Text Color', 'default_value' => '#ffffff', // White by default ]) ->addColorPicker('button_hover_background_color', [ 'label' => 'Button Hover Background Color', 'default_value' => '#F68D2E', // Primary hover by default ]) ->addColorPicker('button_hover_text_color', [ 'label' => 'Button Hover Text Color', 'default_value' => '#ffffff', // White by default ]) ->addColorPicker('border_color', [ 'label' => 'Border Color', 'default_value' => '#F68D2E', // Default border color ]) ->addColorPicker('border_hover_color', [ 'label' => 'Border Hover Color', 'default_value' => '#F68D2E', // Default hover color ]) ->addColorPicker('background_color', [ 'label' => 'Background Color', 'default_value' => '#ffffff', ]) ->addTrueFalse('show_button_icon', [ 'label' => 'Show Button Icon', 'default_value' => 1, // Default to enabled ]) ->addColorPicker('svg_stroke_color', [ 'label' => 'SVG Stroke Color', 'default_value' => '#ffffff', // White by default ]) ->addColorPicker('svg_stroke_hover_color', [ 'label' => 'SVG Stroke Hover Color', 'default_value' => '#000000', // White by default ]) ->addTab('Layout', ['placement' => 'top']) ->addRepeater('padding_settings', [ 'label' => 'Padding Controls', 'button_label' => 'Add Screen Size Padding', 'layout' => 'block', ]) ->addSelect('screen_size', [ 'label' => 'Screen Size', 'choices' => [ 'xxs' => 'xxs', 'xs' => 'xs', 'mob' => 'mob', 'sm' => 'sm', 'md' => 'md', 'lg' => 'lg', 'xl' => 'xl', 'xxl' => 'xxl', 'ultrawide' => 'ultrawide', ], ]) ->addNumber('padding_top', [ 'label' => 'Padding Top', 'instructions' => 'Set top padding in rem.', 'min' => 0, 'max' => 10, 'step' => 0.1, 'default_value' => null, // Null for fallback 'append' => 'rem', ]) ->addNumber('padding_bottom', [ 'label' => 'Padding Bottom', 'instructions' => 'Set bottom padding in rem.', 'min' => 0, 'max' => 10, 'step' => 0.1, 'default_value' => null, // Null for fallback 'append' => 'rem', ]) ->endRepeater(); return $content_014;