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

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

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • 9.11-rc-1
    • Icon Themes
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated: