I am trying to setup a global color palette that works with GP and Elementor, I don’t want GP to set any of my colors (default colors). I tried the below but that doesn’t carry over to the Elementor color palette, even with Elementor’s Global Colors disabled.
Anyone know a way to implement a true global color palette? I tried Central Color Palette but it doesn’t quite work.
I’m using the child theme: http://generatepress.com/api/themes/generatepress_child.zip
Thanks!
add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' );
function tu_custom_color_palettes( $palettes ) {
$palettes = array(
'#ffc66b',
'#bf9550',
'#7f6335',
'#3f311b',
'#588dd1',
'#42699d',
'#2c4668',
'#162334',
'#000000',
'#FFFFFF'
);
return $palettes;
}