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

Issues using transparent colors in the Advanced section of a Flamingo Theme

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.1-rc-1
    • Fix Version/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Select FlamingoThemes.Charcoal, go to the "Advanced" section and write

      @text-muted: red;
      

      it will result in solidColor.png

      If you write

      @text-muted: rgba(255, 33, 33, 0.5);
      

      or

      @text-muted: fade(red, 50%);
      

      it will change only the places where @text-muted is used in .less files, see transparentColor.png

      If the color is set using a backwards compatibility mapping and the initial color is

      color: $theme.textPrimaryColor;
      

      even if the mapping is done

      #mapping("textPrimaryColor", "@text-muted")
      

      the transparent color fails to be set, and relies on the fallback color.

      So there might be a problem with transparent colors that use parenthesis () and Velocity.

        Attachments

        1. bug_DawnIE11XWiki101.PNG
          bug_DawnIE11XWiki101.PNG
          705 kB
        2. bug_PanteraIE11XWiki101.PNG
          bug_PanteraIE11XWiki101.PNG
          173 kB
        3. Charcoal.png
          Charcoal.png
          218 kB
        4. solidColor.png
          solidColor.png
          391 kB
        5. transparentColor.png
          transparentColor.png
          400 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: