Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path of Heroicons Outline with stroke hardcoded #62

Open
goosethedev opened this issue Jan 7, 2025 · 0 comments
Open

Path of Heroicons Outline with stroke hardcoded #62

goosethedev opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@goosethedev
Copy link

goosethedev commented Jan 7, 2025

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!

@marc2332 marc2332 added the bug Something isn't working label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants