Introducing design tokens, new colour foundations and dark mode

@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?

  1. Have all.js apply theme data-theme attribute if enabled via data-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)

  2. Pass the theme as a query string to the iframe URL

  3. Add the theme to the result of AP.context.getContext()

12 Likes