tailwindlabs / heroicons

A set of free MIT-licensed high-quality SVG icons for UI development.
https://heroicons.com
MIT License
21.6k stars 1.28k forks source link

arrows-expand small icon has a hardcoded color #160

Closed nathanjessen closed 3 years ago

nathanjessen commented 3 years ago

Current with the bug:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
  <path stroke="#374151" strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 8V4m0 0h4M3 4l4 4m8 0V4m0 0h-4m4 0l-4 4m-8 4v4m0 0h4m-4 0l4-4m8 4l-4-4m4 4v-4m0 4h-4" />
</svg>

Update needed to fix:

fill="none" stroke="currentColor" and remove stroke="#374151"

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke='currentColor'>
  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 8V4m0 0h4M3 4l4 4m8 0V4m0 0h-4m4 0l-4 4m-8 4v4m0 0h4m-4 0l4-4m8 4l-4-4m4 4v-4m0 4h-4" />
</svg>
bradlc commented 3 years ago

Hey @nathanjessen. Thanks for reporting. This icon should have been using fill instead of stroke and this has been resolved in d10250f