@DanielDelCore is there a reason why the Design System Team is not going for a more unopinionated approach and allow the consumer to decide how to implement theming?
Why not just have all three scenario’s?
-
Have
all.jsapply themedata-themeattribute if enabled viadata-optionson the<script />tag or#ac-iframe-optionsdiv (as documented here https://developer.atlassian.com/cloud/jira/platform/about-the-connect-javascript-api/#options) -
Pass the theme as a query string to the iframe URL
-
Add the theme to the result of
AP.context.getContext()