bmarian / token-tooltip-alt

A module that adds a tooltip next to the currently hovered token to show some useful information for players and DMs.
MIT License
9 stars 15 forks source link

[FEATURE REQUEST] Support for numbered font awesome icons #65

Open weihanderz opened 3 years ago

weihanderz commented 3 years ago

Is your feature request related to a problem? Please describe. I can't seem to be able to generate a font awesome with a number in front. It would really help give much many more customizations to icon looks

Describe the solution you'd like Maybe a comma after the icon entry and surrounded by quotes would invoke a second layer of font awesome/text?

bmarian commented 3 years ago

Can you give an example of what you are looking for? You would like to have something like 1 <fa-brain>?

weihanderz commented 3 years ago

Maybe fa-star|"1"

would show:

  <span class="fa-layers fa-fw">
    <i class="fas fa-star"></i>
    <span class="fa-layers-text fa-inverse" data-fa-transform="shrink-8 down-0.5" style="font-weight:900">1</span>
  </span>
</div>

or something to that effect?

Boifuba commented 3 years ago

Could be an option to write instead to inser an icon! Much more easy!