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

        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: