'292625', 'border' => '393636', 'text' => 'B29D85', 'link' => 'FCB03E', 'url' => 'FCB03E', ); endif; } add_action( 'after_setup_theme', 'sunspot_theme_colors' ); // Dequeue font styles function sunspot_dequeue_fonts() { /** * We don't want to enqueue the font scripts if the blog * has WP.com Custom Design. * */ if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) ) { if ( CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( ! $customfonts ) return; $bodytext = $customfonts['body-text']; if ( $bodytext['id'] ) { wp_dequeue_style( 'ubuntu' ); } } } } add_action( 'wp_enqueue_scripts', 'sunspot_dequeue_fonts' ); //WordPress.com specific styles function sunspot_wpcom_styles() { wp_enqueue_style( 'sunspot-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '080113' ); } add_action( 'wp_enqueue_scripts', 'sunspot_wpcom_styles' ); /** * Adds support for WP.com print styles */ function sunspot_print_styles() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'sunspot_print_styles' );