Skip to content

Commit

Permalink
fix(icons): update icon components after svg change
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Nov 15, 2023
1 parent 2261c5f commit 8f00fe8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/icons/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function Comment({ color, size, ...nativeProps }: IconProps) {
<path d="m0 0h20v20h-20z" />
</clipPath>
<g clipPath="url(#a)">
<path d="m0 0h20v20h-20z" fill="#fff" />
<path d="m0 0h20v20h-20z" fill="transparent" />
<path
d="m6.455 19.41-4.455 3.59v-18.974a1.013 1.013 0 0 1 1-1.026h18a1.013 1.013 0 0 1 1 1.026v14.359a1.013 1.013 0 0 1 -1 1.026zm.545-9.231v2.051h2v-2.051zm4 0v2.051h2v-2.051zm4 0v2.051h2v-2.051z"
fill="currentColor"
Expand Down
29 changes: 7 additions & 22 deletions src/icons/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,14 @@ export function Info({ color, size, ...nativeProps }: IconProps) {
<IconBox $color={color} $size={size}>
<svg height="20" viewBox="0 0 20 20" width="20" {...nativeProps}>
<g transform="translate(240 -82)">
<g>
<g fill="none" strokeMiterlimit="10">
<path
d="M-230,83a9,9,0,0,0-9,9,9,9,0,0,0,9,9,9,9,0,0,0,9-9A9,9,0,0,0-230,83Zm0,16a7,7,0,0,1-7-7,7,7,0,0,1,7-7,7,7,0,0,1,7,7A7,7,0,0,1-230,99Z"
stroke="none"
/>
<path
d="M -230 83 C -225.0290069580078 83 -221 87.02899932861328 -221 92 C -221 96.97100067138672 -225.0290069580078 101 -230 101 C -234.9709930419922 101 -239 96.97100067138672 -239 92 C -239 87.02899932861328 -234.9709930419922 83 -230 83 Z M -230 99 C -226.1340026855469 99 -223 95.86599731445313 -223 92 C -223 88.13400268554688 -226.1340026855469 85 -230 85 C -233.8659973144531 85 -237 88.13400268554688 -237 92 C -237 95.86599731445313 -233.8659973144531 99 -230 99 Z"
fill="currentColor"
stroke="none"
/>
</g>
<g fill="none" stroke="currentColor" strokeMiterlimit="10" strokeWidth="2" transform="translate(-231 91)">
<rect height="5" stroke="none" width="2" />
<rect fill="none" height="3" x="1" y="1" />
</g>
<g fill="none" stroke="currentColor" strokeMiterlimit="10" strokeWidth="2" transform="translate(-231 88)">
<rect height="2" stroke="none" width="2" />
<rect fill="none" x="1" y="1" />
</g>
</g>
<rect fill="none" height="20" transform="translate(-240 82)" width="20" />
<path
d="M-230,83a9,9,0,0,0-9,9,9,9,0,0,0,9,9,9,9,0,0,0,9-9A9,9,0,0,0-230,83Zm0,16a7,7,0,0,1-7-7,7,7,0,0,1,7-7,7,7,0,0,1,7,7A7,7,0,0,1-230,99Z"
fill="currentColor"
/>
<rect fill="currentColor" height="5" transform="translate(-231 91)" width="2" />
<rect fill="currentColor" height="2" transform="translate(-231 88)" width="2" />
</g>
<rect fill="none" height="20" width="20" />
</svg>
</IconBox>
)
Expand Down
2 changes: 1 addition & 1 deletion src/icons/Phone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function Phone({ color, size, ...nativeProps }: IconProps) {
<path d="m0 0h20v20h-20z" />
</clipPath>
<g clipPath="url(#b)">
<path d="m0 0h20v20h-20z" fill="#fff" />
<path d="m0 0h20v20h-20z" fill="transparent" />
<g clipPath="url(#a)">
<path
d="m13.719 12.5 3.54.984a1.02 1.02 0 0 1 .735 1.1 3.526 3.526 0 0 1 -.987 2.257c-2.147 2.141-6.286 1.428-10.773-3.067s-5.223-8.662-3.076-10.784a3.647 3.647 0 0 1 2.263-.984 1.052 1.052 0 0 1 1.1.733l.986 3.53a1.034 1.034 0 0 1 -.345 1.081l-1.1.868a.719.719 0 0 0 -.155.964 18 18 0 0 0 2.263 2.662 20.743 20.743 0 0 0 2.667 2.256.709.709 0 0 0 .967-.154l.871-1.1a.926.926 0 0 1 1.044-.347"
Expand Down
2 changes: 1 addition & 1 deletion src/icons/Rescue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function Rescue({ color, size, ...nativeProps }: IconProps) {
<path d="m0 0h20v20h-20z" />
</clipPath>
<g clipPath="url(#b)">
<path d="m0 0h20v20h-20z" fill="#fff" />
<path d="m0 0h20v20h-20z" fill="transparent" />
<g clipPath="url(#a)">
<path
d="m10 1a9 9 0 1 0 9 9 9 9 0 0 0 -9-9m6.7 7h-2.122a5.014 5.014 0 0 0 -2.578-2.578v-2.122a7.022 7.022 0 0 1 4.7 4.7m-6.7 5a3 3 0 1 1 3-3 3 3 0 0 1 -3 3m-2-9.7v2.122a5.014 5.014 0 0 0 -2.578 2.578h-2.122a7.022 7.022 0 0 1 4.7-4.7m-4.7 8.7h2.122a5.014 5.014 0 0 0 2.578 2.578v2.122a7.024 7.024 0 0 1 -4.7-4.7m8.7 4.7v-2.122a5.014 5.014 0 0 0 2.578-2.578h2.122a7.024 7.024 0 0 1 -4.7 4.7"
Expand Down

0 comments on commit 8f00fe8

Please sign in to comment.