Skip to content

Path of Heroicons Outline with stroke hardcoded #62

@goosethedev

Description

@goosethedev

I imported the library in a barebones Dioxus project to use the Heroicons Outline pack:

dioxus-free-icons = { version = "0.9", features = ["hero-icons-outline"] }

When using any icon of the library, the path object appears with a stroke attribute hardcoded like this:

<path d="..." stroke="#4A5568" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path>

Which makes it impossible to override from the Icon object. It should be stroke="currentColor" to be able to overwrite the stroke color.

I tried to generate the icons locally from the repo like in the README but without success. Let me know if you can reproduce it or not to try locally again!

PR added!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions