'f8f8f9', 'border' => 'dddddd', 'text' => '666a76', 'link' => '53a1b8', 'url' => '53a1b8', ); endif; } add_action( 'after_setup_theme', 'highwind_theme_colors' ); /** * Adds support for wp.com-specific theme functions. * * @since highwind 1.0 */ function highwind_wpcom_setup() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'highwind_wpcom_setup' ); /** * De-queue font if custom fonts are being used. * * @return void */ function highwind_wpcom_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts && $customfonts['headings']['id'] ) wp_dequeue_style( 'highwind-webfont' ); } } add_action( 'wp_enqueue_scripts', 'highwind_wpcom_fonts' ); /** * Enqueue wp.com-specific styles */ function highwind_wpcom_styles() { wp_enqueue_style( 'highwind-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20131018' ); } add_action( 'wp_enqueue_scripts', 'highwind_wpcom_styles' );