'ffffff', 'border' => 'd9d9d9', 'text' => '000000', 'link' => '10b0b8', 'url' => '10b0b8', ); } add_action( 'after_setup_theme', 'cubic_wpcom_setup', 11 ); /** * Enqueue wp.com-specific styles */ function cubic_wpcom_styles() { wp_enqueue_style( 'cubic-wpcom', get_stylesheet_directory_uri() . '/inc/style-wpcom.css', '20150113' ); } add_action( 'wp_enqueue_scripts', 'cubic_wpcom_styles', 11 ); /** * De-queue Google fonts if custom fonts are being used instead. */ function cubic_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'cubic-montserrat' ); wp_dequeue_style( 'cubic-playfair-display' ); } } } add_action( 'wp_enqueue_scripts', 'cubic_dequeue_fonts' );