HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.cytocare.cn/wp-content/themes/blocksy/inc/options/general/typography.php
<?php
/**
 * Typography options
 *
 * @copyright 2019-present Creative Themes
 * @license   http://www.gnu.org/copyleft/gpl.html GNU General Public License
 * @package   Blocksy
 */

$options = [
	'typography_section_options' => [
		'type' => 'ct-options',
		'setting' => [ 'transport' => 'postMessage' ],
		'inner-options' => [
			'rootTypography' => [
				'type' => 'ct-typography',
				'label' => __( 'Base Font', 'blocksy' ),
				'isDefault' => true,
				'value' => blocksy_typography_default_values([
					'family' => 'System Default',
					'variation' => 'n4',
					'size' => '16px',
					'line-height' => '1.65',
					'letter-spacing' => '0em',
					'text-transform' => 'none',
					'text-decoration' => 'none',
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h1Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 1 (H1)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '40px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h2Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 2 (H2)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '35px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h3Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 3 (H3)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '30px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h4Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 4 (H4)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '25px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h5Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 5 (H5)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '20px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'h6Typography' => [
				'type' => 'ct-typography',
				'label' => __( 'Heading 6 (H6)', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '16px',
					'variation' => 'n7',
					'line-height' => '1.5'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			blocksy_rand_md5() => [
				'type' => 'ct-divider',
				'attr' => [ 'data-type' => 'small' ],
			],

			'buttons' => [
				'type' => 'ct-typography',
				'label' => __( 'Buttons', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '15px',
					'variation' => 'n5',
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'quote' => [
				'type' => 'ct-typography',
				'label' => __( 'Quote', 'blocksy' ),
				'value' => blocksy_typography_default_values([]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'pullquote' => [
				'type' => 'ct-typography',
				'label' => __( 'Pullquote', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'family' => 'Georgia',
					'size' => '25px',
					'variation' => 'n6',
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'pre' => [
				'type' => 'ct-typography',
				'label' => __( 'Preformatted', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'family' => 'monospace',
					'size' => '16px',
					'variation' => 'n4'
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			'figcaption' => [
				'type' => 'ct-typography',
				'label' => __( 'Figcaption', 'blocksy' ),
				'value' => blocksy_typography_default_values([
					'size' => '14px',
				]),
				'setting' => [ 'transport' => 'postMessage' ],
			],

			blocksy_rand_md5() => [
				'type' => 'ct-divider',
			],

			'font_family_fallback' => [
				'type' => 'text',
				'value' => 'Sans-Serif',
				'label' => __('Fallback Font Family', 'blocksy'),
				'desc' => __('The font used if the chosen font isn\'t available.', 'blocksy'),
			]
		],
	],
];