Hi everyone!
We’re very happy to announce that our theming solution for Forge Custom UI apps is now available for everyone to use!
Please have a look at our updated API documentation here and here to learn how to use it.
If you’ve already used our theming solution in Connect, it’ll look very familiar. In the case of Forge, you’ll need to call the new view.theme.enable()
method to apply Jira’s current theme and reactively apply any theme changes that occur.
With regard to the questions around CSP’s, we’ve implemented it differently in Forge so there won’t be any need to update CSP’s in your apps. Instead of injecting <style>
elements, it’ll load the stylesheets via <link>
elements.