Created
November 14, 2016 20:18
-
-
Save brettsnippets/a0899a6c9f164a55e347d699d4a32bb1 to your computer and use it in GitHub Desktop.
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
<?php | |
function grizzly_colors($presets) { | |
$grizPresets = array( | |
'color-presets' => array( | |
'primary' => '#672965', | |
'primary-90' => '#6E4B69', | |
'primary-80' => '#8D7A8A', | |
'primary-70' => '#B3A7AD', | |
'grey' => '#8B8D8D', | |
'light-grey' => '#A9A8A9', | |
'secondary' => '#F5DB73', | |
'tertiary' => '#0094C7', | |
'accent' => '#BABD2D' | |
) | |
); | |
$presets = array_merge_recursive($presets, $grizPresets); | |
return $presets; | |
} | |
add_filter( 'fl_builder_color_presets', __NAMESPACE__ . '\\grizzly_colors', 10, 2 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this still work for you? I can't seem to get it to work at all for whatever reason...