<?php

namespace TotalThemeCore\WPBakery\Params;

defined( 'ABSPATH' ) || exit;

/**
 * WPBakery Param > Font Size.
 * 
 * This is a wrapper class for the Text param type since v6.6.
 */
final class Font_Size {

	/**
	 * Param output.
	 */
	public static function output( $settings, $value ) {
		if ( ! isset( $settings['responsive'] ) ) {
			$settings['responsive'] = true; // responsive by default
		}
		$settings['choices'] = 'font_size';
		return Text::output( $settings, $value );
	}

}
