'ffffff', 'border' => 'cccccc', 'text' => '333333', 'link' => '777777', 'url' => '777777', ); endif; } add_action( 'after_setup_theme', 'lyretail_theme_colors' ); /** * Adds support for WP.com print styles and responsive videos */ function lyretail_theme_support() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'lyretail_theme_support' ); /* * De-queue Google fonts if custom fonts are being used instead */ function lyretail_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( 'lyretail-fonts' ); } } } add_action( 'wp_enqueue_scripts', 'lyretail_dequeue_fonts' ); //WordPress.com specific styles function lyretail_wpcom_styles() { wp_enqueue_style( 'lyretail-wpcom', get_stylesheet_directory_uri() . '/inc/style-wpcom.css', '101514' ); } add_action( 'wp_enqueue_scripts', 'lyretail_wpcom_styles' );