Skip to content

Commit

Permalink
feat(icons): add Stroke icon
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Dec 10, 2024
1 parent 5f5ccda commit ecdd45d
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/assets/icons/Stroke.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions src/icons/Stroke.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { IconBox } from '../elements/IconBox'

import type { IconProps } from '../types/definitions'

export function Stroke({ color, size, title, ...nativeProps }: IconProps) {
return (
<IconBox $color={color} $size={size} title={title}>
<svg height="20" viewBox="0 0 20 20" width="20" {...nativeProps}>
<g opacity="0.25" transform="translate(-670.5 2008.5)">
<g>
<rect fill="#606060" height="1" transform="translate(672.156 -1990.836) rotate(-45)" width="21.92" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(676.729 -1990.832) rotate(-45)" width="16.163" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(681.298 -1990.837) rotate(-45)" width="9.698" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(685.871 -1990.833) rotate(-45)" width="3.233" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(672.153 -1995.41) rotate(-45)" width="16.163" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(672.156 -1999.977) rotate(-45)" width="9.698" />
</g>
<g>
<rect fill="#606060" height="1" transform="translate(672.154 -2004.552) rotate(-45)" width="3.233" />
</g>
</g>
<g transform="translate(-1519 -807)">
<g>
<path d="M1538,808h-18v18h18V808Zm-16,16V810h14v14Z" fill="currentColor" />
</g>
</g>
<rect fill="none" height="20" width="20" />
</svg>
</IconBox>
)
}
2 changes: 2 additions & 0 deletions src/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ import { SortingArrows } from './SortingArrows'
import { SortingChevrons } from './SortingChevrons'
import { SortSelectedDown } from './SortSelectedDown'
import { SortSelectedUp } from './SortSelectedUp'
import { Stroke } from './Stroke'
import { Subscription } from './Subscription'
import { Summary } from './Summary'
import { Tag } from './Tag'
Expand Down Expand Up @@ -183,6 +184,7 @@ export {
SortSelectedUp,
SortingArrows,
SortingChevrons,
Stroke,
Subscription,
Summary,
Tag,
Expand Down

0 comments on commit ecdd45d

Please sign in to comment.