'ffffff', 'border' => 'cccccc', 'text' => '222222', 'link' => '0074d9', 'url' => '0074d9', ); } // Add print stylesheet. add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'colinear_wpcom_setup' ); /** * Enqueue wp.com-specific styles */ function colinear_wpcom_styles() { wp_enqueue_style( 'colinear-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20150804' ); } add_action( 'wp_enqueue_scripts', 'colinear_wpcom_styles' ); /** * De-queue Google fonts if custom fonts are being used instead. */ function colinear_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'colinear-open-sans-lora' ); } } } add_action( 'wp_enqueue_scripts', 'colinear_dequeue_fonts' );