Skip to content

Is there a way to use both the Solid and Regular form of an icon? #1

@coredumperror

Description

@coredumperror

I've been busily converting my Wagtail site from wagtail-fontawesome to wagtail-font-awesome-svg, to make it work with Wagtail 2.15, but I've just run into an issue I'm not sure how to resolve. Our existing site uses the Solid and Regular versions of the "user" icon, and I don't see any obvious way to register and use both of them.

The system appears to use the final part of the .svg file's name as the "name" for the icon, and both of these "user" icons are named user.svg. They're just in different folders, which doesn't seem to be addressable in the icon_name or icon settings for menus/blocks.

What can I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions