'css' => 'variables',
'__unstableType' => 'presets',
'isGlobalStyles' => true,
),
array
( 'css' => 'presets',
'__unstableType' => 'presets',
'isGlobalStyles' => true,
),
);
foreach ( $presets as $preset_style ) { $actual_css =
wp_get_global_stylesheet( array
( $preset_style['css'
] ) );
if ( '' !==
$actual_css ) { $preset_style['css'
] =
$actual_css;
$global_styles[] =
$preset_style;
} } if ( wp_theme_has_theme_json() ) { $block_classes = array
( 'css' => 'styles',
'__unstableType' => 'theme',
'isGlobalStyles' => true,
);