'f6f6f6', 'border' => 'eeeeee', 'text' => '262626', 'link' => '004178', 'url' => '004178', ); endif; } add_action( 'after_setup_theme', 'stay_theme_colors' ); /* * De-queue Google fonts if custom fonts are being used instead */ function stay_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( 'stay-source-sans' ); wp_dequeue_style( 'stay-gilda-display' ); } } } /** * Adds support for WP.com print styles */ function stay_print_styles() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'stay_print_styles' );