$logo = shortcode_parse_atts( cwp_icon( [ 'icon' => 'logo', 'group' => 'logo', 'size' => false, 'force' => true ] ) );
if ( ! empty( $logo['viewbox'] ) ) {
$dimensions = explode( ' ', $logo['viewbox'] );
$style = 'body { --cwp-logo-width: ' . $dimensions[2] . 'px; --cwp-logo-height: ' . $dimensions[3] . 'px;}';
wp_add_inline_style( 'theme-style', $style );
}