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

transparent icons show overlapping internal shapes #2136

Open
7 of 30 tasks
danawoodman opened this issue May 6, 2024 · 2 comments
Open
7 of 30 tasks

transparent icons show overlapping internal shapes #2136

danawoodman opened this issue May 6, 2024 · 2 comments
Labels
🐛 bug Something isn't working

Comments

@danawoodman
Copy link

danawoodman commented May 6, 2024

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.378.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

If you add an opacity less than 1.0 for an icon, you will start to see the internal shapes of the icons. You can see this on the Lucide site itself in the small previews of the icons by zooming in using your browser

It seems that icons should be pre-processed to flatten/merge all shapes rather than shipping versions of the icons with the individual overlapping shape components

image image image image

Steps to reproduce

  1. Go to any icon on the Lucide site
  2. Click see in action
  3. Increase stroke width
  4. Zoom in on icon

Link to a video: https://a.cl.ly/eDuKop7L

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@danawoodman danawoodman added the 🐛 bug Something isn't working label May 6, 2024
@jguddas
Copy link
Member

jguddas commented May 6, 2024

Solved by #2135

@danawoodman
Copy link
Author

awesome! looks like i was just a bit late to the game on this one but glad its being addressed!

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