Feature Request: Add Iris Color Selector Support
-
I’m using SiteOrigin Page Builder and that uses WordPress’ Iris color selector. Is there any change you might update this plugin so the custom colors set here apply to the custom color palette on Iris?
Here’s example code which customizes the Iris color selector used by Page Builder & others:
function universal_color_palette() { echo ' <script> // Custom Color Palette jQuery(document).ready(function($){ $.wp.wpColorPicker.prototype.options = { palettes: ["#0887D4", "#2C9B47", "#9ED55D", "#AE3677", "#f2f2f2", "#959597", "#6C7581"] }; }); </script> '; } add_action('admin_print_footer_scripts', 'universal_color_palette'); add_action('customize_controls_print_footer_scripts', 'universal_color_palette');I’d love to see your plugin able to update this Iris color palette so it serves as a central plugin for setting the site’s custom color palette.
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Feature Request: Add Iris Color Selector Support’ is closed to new replies.