'ffffff', 'border' => 'cccccc', 'text' => '333333', 'link' => '333333', 'url' => '333333', ); /* * De-queue Google fonts if custom fonts are being used instead */ function runo_lite_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) ) { if ( CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( ! $customfonts ) return; $site_title = $customfonts['site-title']; $headings = $customfonts['headings']; $body_text = $customfonts['body-text']; if ( $site_title['id'] && $headings['id'] && $body_text['id'] ) { wp_dequeue_style( 'runo-lite-vollkorn' ); } } } } add_action( 'wp_enqueue_scripts', 'runo_lite_dequeue_fonts' );