Skip to content

Commit

Permalink
fix(icons): remove hardcoded fill colour (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinOng authored Dec 17, 2024
1 parent d125a45 commit 69e7772
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-months-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bigcommerce/big-design-icons': patch
---

Remove Pin icon hardcoded fill colour
7 changes: 2 additions & 5 deletions packages/big-design-icons/src/components/PinIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,11 @@ const Icon: React.FC<IconProps & PrivateIconProps> = ({ svgRef, title, theme, ..
>
{title ? <title id={titleId}>{title}</title> : null}
<g clipPath="url(#a)">
<path
d="M13.667 5.333v4.166c0 .934.308 1.8.833 2.5h-5a4.12 4.12 0 0 0 .834-2.5V5.333zm2.5-1.667H7.834A.836.836 0 0 0 7 4.499c0 .459.375.834.834.834h.833v4.166c0 1.384-1.117 2.5-2.5 2.5v1.667h4.975v5.833l.833.834.834-.834v-5.833h5.025v-1.667a2.497 2.497 0 0 1-2.5-2.5V5.333h.833A.836.836 0 0 0 17 4.499a.836.836 0 0 0-.833-.833"
fill="#313440"
/>
<path d="M13.667 5.333v4.166c0 .934.308 1.8.833 2.5h-5a4.12 4.12 0 0 0 .834-2.5V5.333zm2.5-1.667H7.834A.836.836 0 0 0 7 4.499c0 .459.375.834.834.834h.833v4.166c0 1.384-1.117 2.5-2.5 2.5v1.667h4.975v5.833l.833.834.834-.834v-5.833h5.025v-1.667a2.497 2.497 0 0 1-2.5-2.5V5.333h.833A.836.836 0 0 0 17 4.499a.836.836 0 0 0-.833-.833" />
</g>
<defs>
<clipPath id="a">
<path d="M0 0h24v24H0z" fill="#fff" />
<path d="M0 0h24v24H0z" />
</clipPath>
</defs>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions packages/big-design-icons/svgs/material/pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 69e7772

Please sign in to comment.