Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-79117

SVG icon for a Forge globalPage module does not change colors when in dark mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • User - Theme
    • None

      Issue Summary

      When defining an icon for a Forge module of type Confluence global page confluence:globalPage, the svg icon is rendered the same when the page is rendered using the Light or Dark theme, making the icon unreadable in one of those themes (depending on the icon color).

      Steps to Reproduce

      • Create a Forge app for Confluence using the confluence:globalPage module
      • Define a simple icon on the confluence:globalPage module, like the one below

      lightdark-styled-icon.svg

      • Install that app on an instance and go to “Apps". This is the icon we see on the screen for the test app named “connie-uikit2-globalPage-icons”, when on Light mode:

      • Change the theme to Dark mode by clicking on the profile picture on the top right >> Themes >> and selecting "Dark

       

      Expected Results

      We should see the icon changing colors so that it's visible on dark mode.

      Actual Results

      This is what we see. Note that the icon does not change the colors to visible colors on dark mode, like we see happening for the custom-ui-routing app which has the standard icon (not changed in the manifest).

       

      Workaround

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

      • The workaround of this post in our community works for Jira, but not for Confluence

              Unassigned Unassigned
              d863d84a35c4 Gustavo Serrano (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: