Hi,
I’m very excited about the new ability to configure variable colors in SP Page Builder Pro and about the built-in color switcher that lets you toggle between your configured modes. In most cases we only need a simple switch between light and dark mode.
Currently, the color switcher appears on the right side of the page, with an icon above and the color presets below. I would like to keep the core color-switching functionality but hide the default switcher UI on the right. Instead, I want to display a single icon in the main menu: when light mode is active, show a moon icon to switch to dark mode; when dark mode is active, show a sun icon to switch back to light mode.
Question: I can hide the default switcher with CSS, but is it possible to bind the color-switcher actions to my own icons? If so, could you please let me know how?
Thank you!
Kind regards,
Remco