'eeeeee', 'border' => 'cccccc', 'text' => '555555', 'link' => 'fa4e4e', 'url' => 'fa4e4e', ); endif; } add_action( 'after_setup_theme', 'typo_theme_colors' ); /* * De-queue Google fonts if custom fonts are being used instead */ function typo_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( 'typo-vast-shadow' ); wp_dequeue_style( 'typo-droid-serif' ); } } } add_action( 'wp_enqueue_scripts', 'typo_dequeue_fonts' ); /** * Adds support for WP.com print styles */ function typo_print_styles() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'typo_print_styles' ); //WordPress.com specific styles function typo_wpcom_styles() { wp_enqueue_style( 'typo-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '102513' ); } add_action( 'wp_enqueue_scripts', 'typo_wpcom_styles' );