Switching to dark mode in Confluence overwrites static macro styles

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      In Confluence Cloud, when using a Connect app with a static macro, switching from Light to Dark theme causes Confluence to override the macro body text color. In Dark theme, the text has very low contrast with the background, creating usability/accessibility issues.

      Steps to Reproduce

      1. Install a Connect app in Confluence that provides a static macro
      2. Create or edit a Confluence Cloud page and insert the static macro.
      3. Add some body text inside the macro.
      4. View the page in Light theme and note that text contrast is correct.
      5. Switch Confluence to Dark theme (Profile → Appearance → Dark).

      Expected Results

      The macro body text should remain clearly readable in Dark theme, with sufficient contrast between text and background. Confluence theming should not override the app’s styling in a way that breaks readability.

      Actual Results

      When viewing the page in Dark theme, Confluence overrides the macro body text color. The resulting text color has little or no contrast with the macro background, making the content hard or impossible to read, as in the example below:

      This happens even if the app defines specific color schemes, as described here.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Bernardo Andreeti
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: