Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15048

User Profile is not readable in any theme that has white text

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      This will happen for all the themes that have white text, because the contrast white on gray (#f3f3f3) is not readable.

      From the xwiki-platform-flamingo-theme-bootswatch these themes are:
      Slate, Darkly, Superhero.

      The issue is that XWiki.XWikiUserSheet is using

      div.highlighted-profile-section,
      div.userInfo, div.userPreferences, div.watchlistManagement, div.userDashboard {
        background-color: $theme.backgroundSecondaryColor;
      }
      

      and

      $theme.backgroundSecondaryColor
      

      doesn't get set correctly to @xwiki-background-secondary-color.

      Attachments

        1. Darkly.png
          195 kB
          Ecaterina Moraru (Valica)
        2. Slate.png
          219 kB
          Ecaterina Moraru (Valica)
        3. SuperHero.png
          197 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              evalica Ecaterina Moraru (Valica)
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: