'ffffff', 'border' => 'e6e6e6', 'text' => '323232', 'link' => '0d3d9b', 'url' => '0d3d9b', ); } add_action( 'after_setup_theme', 'able_wpcom_setup' ); /** * Enqueue styes for wp.com features. */ function able_wpcom_scripts() { wp_enqueue_style( 'able-wpcom', get_template_directory_uri() . '/inc/styles-wpcom.css', array( 'able-style' ), '20130730' ); } add_action( 'wp_enqueue_scripts', 'able_wpcom_scripts' ); /** * Dequeue font styles when Typekit is active. * * We don't want to enqueue the font scripts if the blog * has WP.com Custom Design and is using a 'Headings' font. */ function able_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'] ) ) wp_dequeue_style( 'droid-serif' ); } } add_action( 'wp_enqueue_scripts', 'able_dequeue_fonts' );