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

Be able to reuse / extend an icon theme's mapping

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.11-rc-1
    • Fix Version/s: None
    • Component/s: Icon Themes
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Font Awesome 5 provides multiple way to use the Icon set, as web font, as svg files, as svg sprites, as svg js, etc. My use case came from the desire to reuse the mapping and just change the render calls.

      But since IconThemes content are not rendered I was not able to do something like:

      {{include reference="IconThemes.FontAwesome.Mapping" /}}
      

      Rendering the content of an IconTheme might have some performance penalties and might not be necessary.

      Still it would be great to be able to reuse the mappings, inherited it somehow.
      Maybe we could have something like

      xwiki.iconset.inherit.mapping=IconThemes.FontAwesome
      

      and be able to provide just the differences.

        Attachments

          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: