Last active
October 20, 2017 11:41
-
-
Save mrdavefoy/3d435d844c3ca5a14a1dc1644378e3ee to your computer and use it in GitHub Desktop.
Color Picker Code—GeneratePress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' ); | |
function tu_custom_color_palettes( $palettes ) { | |
$palettes = array( | |
'#000000', | |
'#FFFFFF', | |
'#CCDAD1', | |
'#9CAEA9', | |
'#788585', | |
'#6F6866', | |
'#38302E', | |
'#AAAAAA', | |
); | |
return $palettes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment