I am embedding a HTML page via webview (locally hosted and loaded via plugin://).
How can I retrieve the proper font-family used by the plugin to use so the data hosted in the webView is similar to the plug in ?
Ideally there would be an API like UXP::defaultStyling::get(“font-family“)
Also (for Photoshop but seems to apply to premier as well) I looked at https://developer.adobe.com/photoshop/uxp/2022/guides/theme-awareness/, I was hoping for a “–uxp-host-font-family” or similar entry but there is not such thing
. Did I miss something ?
( Also I probably need to be able to retrieve the font info itself (or resolve the variable) so I can pass that via message for the content of the webview to style itself appropriately)