Skip to content

Commit

Permalink
fix(icons): fix controlUnit and controlUnitFilled icons
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Mar 28, 2024
1 parent 9b868fc commit 6edfc83
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 27 deletions.
19 changes: 8 additions & 11 deletions src/assets/icons/ControlUnit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/assets/icons/ControlUnitFilled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 9 additions & 12 deletions src/icons/ControlUnit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ export function ControlUnit({ color, size, title, ...nativeProps }: IconProps) {
<IconBox $color={color} $size={size} title={title}>
<svg height="20" viewBox="0 0 20 20" width="20" {...nativeProps}>
<g transform="translate(80 205)">
<g>
<rect fill="currentColor" height="12" transform="translate(-64 -188) rotate(90)" width="2" />
<path
d="M-67.694-199l1.333,8h-7.277l1.336-8Zm0-2h-4.6a2,2,0,0,0-1.977,1.675L-76-189h12l-1.721-10.325A2,2,0,0,0-67.7-201Z"
fill="currentColor"
/>
<rect fill="currentColor" height="2.25" transform="translate(-70.75 -204.25)" width="1.5" />
<rect fill="currentColor" height="2.25" transform="translate(-64.061 -203) rotate(45)" width="1.5" />
<rect fill="currentColor" height="2.25" transform="translate(-77 -201.939) rotate(-45)" width="1.5" />
</g>
<rect fill="none" height="20" transform="translate(-80 -205)" width="20" />
<path d="M-80-205h20v20H-80Z" fill="none" />
<rect fill="currentColor" height="12" transform="translate(-64 -188) rotate(90)" width="2" />
<path
d="M-67.694-199l1.333,8h-7.277l1.336-8Zm0-2h-4.6a2,2,0,0,0-1.977,1.675L-76-189h12l-1.721-10.325A2,2,0,0,0-67.7-201Z"
fill="currentColor"
/>
<rect fill="currentColor" height="2.25" transform="translate(-70.75 -204.25)" width="1.5" />
<rect fill="currentColor" height="2.25" transform="translate(-64.061 -203) rotate(45)" width="1.5" />
<rect fill="currentColor" height="2.25" transform="translate(-77 -201.939) rotate(-45)" width="1.5" />
</g>
<rect fill="none" height="20" width="20" />
</svg>
</IconBox>
)
Expand Down
5 changes: 3 additions & 2 deletions src/icons/ControlUnitFilled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type { IconProps } from '../types/definitions'
export function ControlUnitFilled({ color, size, title, ...nativeProps }: IconProps) {
return (
<IconBox $color={color} $size={size} title={title}>
<svg height="18.25" viewBox="0 0 14 18.25" width="14" {...nativeProps}>
<g transform="translate(77 204.25)">
<svg height="20" viewBox="0 0 20 20" width="20" {...nativeProps}>
<g transform="translate(80 205)">
<rect fill="currentColor" height="12" transform="translate(-64 -188) rotate(90)" width="2" />
<path
d="M-67.7-201h-4.6a2,2,0,0,0-1.977,1.675L-76-189h12l-1.721-10.325A2,2,0,0,0-67.7-201Z"
Expand All @@ -16,6 +16,7 @@ export function ControlUnitFilled({ color, size, title, ...nativeProps }: IconPr
<rect fill="currentColor" height="2.25" transform="translate(-64.061 -203) rotate(45)" width="1.5" />
<rect fill="currentColor" height="2.25" transform="translate(-77 -201.939) rotate(-45)" width="1.5" />
</g>
<rect fill="none" height="20" width="20" />
</svg>
</IconBox>
)
Expand Down

0 comments on commit 6edfc83

Please sign in to comment.