'ffffff', 'border' => '404040', 'text' => '404040', 'link' => '404040', 'url' => '404040', ); endif; add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'libre_theme_support' ); /* * De-queue Google fonts if custom fonts are being used instead */ function libre_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts && $customfonts['site-title']['id'] && $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'libre-libre' ); } } } add_action( 'wp_enqueue_scripts', 'libre_dequeue_fonts' ); //WordPress.com specific styles function libre_wpcom_styles() { wp_enqueue_style( 'libre-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20150624' ); } add_action( 'wp_head', 'libre_wpcom_styles', 2 );