Matching forge module to different background colors


Firstly, I’d like to mention that this issue only occurs when dark mode is enabled.

Secondly, I’m using view.theme.enable(); to implement dark mode in my custom UI because I primarily utilize Atlaskit elements.

Essentially, the problem I’m encountering is that the background color of the issues isn’t consistent. When opening an issue through “Your Work,” the background color differs from when it’s opened via the Kanban board.

As a result, the background color of my Forge application currently only matches the ticket’s background color when accessed through “My Work.” However, on the Kanban board, it appears darker compared to the rest.

How can I fix the problem?