'ffffff', 'border' => '333333', 'text' => '222222', 'link' => '2390bb', 'url' => '2390bb', ); } // Add print stylesheet. add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'harmonic_wpcom_setup' ); /** * Enqueue wp.com-specific styles */ function harmonic_wpcom_styles() { wp_enqueue_style( 'harmonic-wpcom', get_template_directory_uri() . '/css/wpcom-style.css', '20140905' ); } add_action( 'wp_enqueue_scripts', 'harmonic_wpcom_styles' ); /** * De-queue Google fonts if custom fonts are being used instead. */ function harmonic_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( 'harmonic-hind' ); } } } add_action( 'wp_enqueue_scripts', 'harmonic_dequeue_fonts' );