Open Inventsable opened 4 years ago
For posterity the color provided on Dark themes is a delta shift of 35, and light themes of at least -43. This is the difference between:
No idea where these values came from but they're way off from the actual background.
+1 for this
I've known of this for a while and should've posted an Issue much sooner but have only now started panels for Animate, this is at least since 2018. Take the following code in a CEP panel:
The above code works for every other CEP app -- Illustrator, AE, etc, with reliable results to get the exact background hex color. But with Animate,
despite firing ThemeChanges accurately(actually fires events incorrectly, see #266), appSkinInfo.panelBackgroundColor provides these values:Not only does it provide a single value per light/dark variant, but the above are completely inaccurate (may be hardcoded fake values somewhere?). The real values should instead be: