mediawiki-skins-MinervaNeue/includes/Skins/Icon.mustache
Jon Robson 12f3e033a7 Redo icon sizing
The current implementation enforces the size to be part of the
icon name. It would be preferable to have a specific class for
controlling size given we don't want to have to update all the
names of our icons.

Bug: T342908
Change-Id: I84407fb562c288bafe02e97ba7f3366de7f61611
2023-08-11 17:08:28 +00:00

3 lines
151 B
Plaintext

<span {{#icon-id}}id="{{.}}"{{/icon-id}}
class="minerva-icon {{#size}}minerva-icon-size-{{.}}{{/size}} minerva-icon--{{icon}} {{classes}}"></span>