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

[BUG]: LogoX too small and always black #7

Open
jlaamanen opened this issue Dec 19, 2024 · 1 comment
Open

[BUG]: LogoX too small and always black #7

jlaamanen opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jlaamanen
Copy link

Description of the bug

Thanks for the awesome library! I happened to notice that LogoX seems to be too small, and always black.

Steps To Reproduce

Just use the LogoX icon anywhere:

<LogoX />

Is also reproduced in the demo site: https://svelte-ionicons.codewithshin.com/icons

Additional Information

In browser dev tools I scaled the viewBox from 0 0 512 512 to 0 0 16 16 (32x bigger), and this seemed to scale the icon to the proper size. The color problem seems to go away when changing fill="black" to fill="currentColor".

@jlaamanen jlaamanen added the bug Something isn't working label Dec 19, 2024
@shinokada
Copy link
Owner

The original source has viewBox="0 0 16 16" and all other svg has viewBox="0 0 512 512". I created a issue at
ionic-team/ionicons#1425.

I hope it will update. If not, I will update this lib using viewBox="0 0 16 16".

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