@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.js
apply themedata-theme
attribute if enabled viadata-options
on the<script />
tag or#ac-iframe-options
div (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()