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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 10.1-rc-1
    • None
    • Unknown

    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. Charcoal.png
          218 kB
          Ecaterina Moraru (Valica)
        2. solidColor.png
          391 kB
          Ecaterina Moraru (Valica)
        3. transparentColor.png
          400 kB
          Ecaterina Moraru (Valica)
        4. bug_DawnIE11XWiki101.PNG
          705 kB
          Ecaterina Moraru (Valica)
        5. bug_PanteraIE11XWiki101.PNG
          173 kB
          Ecaterina Moraru (Valica)
        6. rgba-to-hex.png
          41 kB
          Fawad Ali

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: