Adjust default color scheme

This commit is contained in:
Brian Miyaji
2014-06-01 00:57:25 +10:00
parent 2a4933d76f
commit 8bc9a171b2
3 changed files with 13 additions and 13 deletions

View File

@@ -206,11 +206,11 @@ class SP_Settings_General extends SP_Settings_Page {
$colors = array_map( 'esc_attr', (array) get_option( 'sportspress_frontend_css_colors' ) );
// Defaults
if ( empty( $colors['primary'] ) ) $colors['primary'] = '#00a69c';
if ( empty( $colors['primary'] ) ) $colors['primary'] = '#364c74';
if ( empty( $colors['background'] ) ) $colors['background'] = '#f4f4f4';
if ( empty( $colors['text'] ) ) $colors['text'] = '#363f48';
if ( empty( $colors['heading'] ) ) $colors['heading'] = '#ffffff';
if ( empty( $colors['link'] ) ) $colors['link'] = '#ef6848';
if ( empty( $colors['link'] ) ) $colors['link'] = '#00a69c';
// Show inputs
$this->color_picker( __( 'Primary', 'sportspress' ), 'sportspress_frontend_css_primary', $colors['primary'] );

View File

@@ -126,11 +126,11 @@ class SP_Install {
}
// Default color scheme
add_option( 'sportspress_frontend_css_primary', '#00a69c' );
add_option( 'sportspress_frontend_css_primary', '#364c74' );
add_option( 'sportspress_frontend_css_background', '#f4f4f4' );
add_option( 'sportspress_frontend_css_text', '#363f48' );
add_option( 'sportspress_frontend_css_heading', '#ffffff' );
add_option( 'sportspress_frontend_css_link', '#ef6848' );
add_option( 'sportspress_frontend_css_link', '#00a69c' );
if ( ! get_option( 'sportspress_installed' ) ) {
// Configure default sport