Extension Panel Theme Color Help
I cannot figure out how to get my extension panel to change its color based on what the user selects in Photoshop Preferences Theme Color.
In the CSInterface.js file, I see the following but I just cannot work out what to do with it
/**
* User can add this event listener to handle native application theme color changes.
* Callback function gives extensions ability to fine-tune their theme color after the
* global theme color has been changed.
* The callback function should be like below:
*
* @Example
* // event is a CSEvent object, but user can ignore it.
* function OnAppThemeColorChanged(event)
* {
* // Should get a latest HostEnvironment object from application.
* var skinInfo = JSON.parse(window.__adobe_cep__.getHostEnvironment()).appSkinInfo;
* // Gets the style information such as color info from the skinInfo,
* // and redraw all UI controls of your extension according to the style info.
* }
*/
Any help would be really appreciated
Ian
