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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1-rc-1
    • Fix Version/s: 10.2
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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
          Darkly.png
          195 kB
        2. Slate.png
          Slate.png
          219 kB
        3. SuperHero.png
          SuperHero.png
          197 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: