You appear to be a bot. Output may be restricted
Description
Get the current Twenty Fifteen color scheme.
Usage
$array = twentyfifteen_get_color_scheme();
Parameters
Returns
array An associative array of either the current or default color scheme hex values.
Source
File name: twentyfifteen/inc/customizer.php
Lines:
1 to 10 of 10
function twentyfifteen_get_color_scheme() { $color_scheme_option = get_theme_mod( 'color_scheme', 'default' ); $color_schemes = twentyfifteen_get_color_schemes(); if ( array_key_exists( $color_scheme_option, $color_schemes ) ) { return $color_schemes[ $color_scheme_option ]['colors']; } return $color_schemes['default']['colors']; }