Skip to content

Commit

Permalink
fix: Git commit icon (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed May 29, 2024
1 parent 46f5e9b commit 7a20033
Showing 1 changed file with 15 additions and 88 deletions.
103 changes: 15 additions & 88 deletions src/components/icons/GitCommitIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,96 +3,23 @@ import createIcon from './createIcon'
export default createIcon(({ size, color }) => (
<svg
width={size}
viewBox="0 0 24 24"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g
clipPath="url(#clip0_6369_22416)"
filter="url(#filter0_d_6369_22416)"
>
<mask
id="path-1-inside-1_6369_22416"
fill="white"
>
<path d="M4 8C4 8.27614 4.22386 8.5 4.5 8.5H8.78822C8.76306 8.33702 8.75 8.17003 8.75 8C8.75 7.82997 8.76306 7.66299 8.78822 7.5H4.5C4.22386 7.5 4 7.72386 4 8Z" />
<path d="M19.5 8.5C19.7761 8.5 20 8.27614 20 8C20 7.72386 19.7761 7.5 19.5 7.5H15.2118C15.2369 7.66299 15.25 7.82997 15.25 8C15.25 8.17003 15.2369 8.33702 15.2118 8.5H19.5Z" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15.25 8C15.25 9.79493 13.7949 11.25 12 11.25C10.2051 11.25 8.75 9.79493 8.75 8C8.75 6.20508 10.2051 4.75 12 4.75C13.7949 4.75 15.25 6.20508 15.25 8ZM12 10.25C13.2426 10.25 14.25 9.24264 14.25 8C14.25 6.75736 13.2426 5.75 12 5.75C10.7574 5.75 9.75 6.75736 9.75 8C9.75 9.24264 10.7574 10.25 12 10.25Z"
/>
</mask>
<path
d="M4 8C4 8.27614 4.22386 8.5 4.5 8.5H8.78822C8.76306 8.33702 8.75 8.17003 8.75 8C8.75 7.82997 8.76306 7.66299 8.78822 7.5H4.5C4.22386 7.5 4 7.72386 4 8Z"
fill={color}
/>
<path
d="M19.5 8.5C19.7761 8.5 20 8.27614 20 8C20 7.72386 19.7761 7.5 19.5 7.5H15.2118C15.2369 7.66299 15.25 7.82997 15.25 8C15.25 8.17003 15.2369 8.33702 15.2118 8.5H19.5Z"
fill={color}
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15.25 8C15.25 9.79493 13.7949 11.25 12 11.25C10.2051 11.25 8.75 9.79493 8.75 8C8.75 6.20508 10.2051 4.75 12 4.75C13.7949 4.75 15.25 6.20508 15.25 8ZM12 10.25C13.2426 10.25 14.25 9.24264 14.25 8C14.25 6.75736 13.2426 5.75 12 5.75C10.7574 5.75 9.75 6.75736 9.75 8C9.75 9.24264 10.7574 10.25 12 10.25Z"
fill={color}
/>
<path
d="M8.78822 8.5V9.5H9.95449L9.77651 8.3474L8.78822 8.5ZM8.78822 7.5L9.77651 7.6526L9.95449 6.5H8.78822V7.5ZM15.2118 7.5V6.5H14.0455L14.2235 7.6526L15.2118 7.5ZM15.2118 8.5L14.2235 8.3474L14.0455 9.5H15.2118V8.5ZM4.5 9.5H8.78822V7.5H4.5V9.5ZM8.78822 6.5H4.5V8.5H8.78822V6.5ZM19.5 6.5H15.2118V8.5H19.5V6.5ZM19.5 7.5H15.2118V9.5H19.5V7.5ZM14.25 8C14.25 9.24264 13.2426 10.25 12 10.25V12.25C14.3472 12.25 16.25 10.3472 16.25 8H14.25ZM12 10.25C10.7574 10.25 9.75 9.24264 9.75 8H7.75C7.75 10.3472 9.65279 12.25 12 12.25V10.25ZM9.75 8C9.75 6.75736 10.7574 5.75 12 5.75V3.75C9.65279 3.75 7.75 5.65279 7.75 8H9.75ZM12 5.75C13.2426 5.75 14.25 6.75736 14.25 8H16.25C16.25 5.65279 14.3472 3.75 12 3.75V5.75ZM9.77651 8.3474C9.75911 8.23473 9.75 8.11876 9.75 8H7.75C7.75 8.22131 7.767 8.4393 7.79994 8.6526L9.77651 8.3474ZM9.75 8C9.75 7.88124 9.75911 7.76527 9.77651 7.6526L7.79994 7.3474C7.767 7.5607 7.75 7.7787 7.75 8H9.75ZM14.2235 7.6526C14.2409 7.76527 14.25 7.88124 14.25 8H16.25C16.25 7.7787 16.233 7.5607 16.2001 7.3474L14.2235 7.6526ZM14.25 8C14.25 8.11876 14.2409 8.23473 14.2235 8.3474L16.2001 8.6526C16.233 8.4393 16.25 8.22131 16.25 8H14.25ZM13.25 8C13.25 8.69036 12.6904 9.25 12 9.25V11.25C13.7949 11.25 15.25 9.79493 15.25 8H13.25ZM12 9.25C11.3096 9.25 10.75 8.69036 10.75 8H8.75C8.75 9.79493 10.2051 11.25 12 11.25V9.25ZM10.75 8C10.75 7.30964 11.3096 6.75 12 6.75V4.75C10.2051 4.75 8.75 6.20507 8.75 8H10.75ZM12 6.75C12.6904 6.75 13.25 7.30964 13.25 8H15.25C15.25 6.20507 13.7949 4.75 12 4.75V6.75ZM21 8C21 7.17157 20.3284 6.5 19.5 6.5V8.5C19.2239 8.5 19 8.27614 19 8H21ZM4.5 6.5C3.67157 6.5 3 7.17157 3 8H5C5 8.27614 4.77614 8.5 4.5 8.5V6.5ZM19 8C19 7.72386 19.2239 7.5 19.5 7.5V9.5C20.3284 9.5 21 8.82843 21 8H19ZM4.5 7.5C4.77614 7.5 5 7.72386 5 8H3C3 8.82843 3.67157 9.5 4.5 9.5V7.5Z"
fill={color}
mask="url(#path-1-inside-1_6369_22416)"
/>
</g>
<defs>
<filter
id="filter0_d_6369_22416"
x="0"
y="0"
width="24"
height="24"
filterUnits="userSpaceOnUse"
colorInterpolationFilters="sRGB"
>
<feFlood
floodOpacity="0"
result="BackgroundImageFix"
/>
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feOffset dy="4" />
<feGaussianBlur stdDeviation="2" />
<feComposite
in2="hardAlpha"
operator="out"
/>
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow_6369_22416"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow_6369_22416"
result="shape"
/>
</filter>
<clipPath id="clip0_6369_22416">
<rect
width="16"
height="16"
fill="white"
transform="translate(4)"
/>
</clipPath>
</defs>
<path
d="M0 8.39331C0 8.66945 0.223858 8.89331 0.5 8.89331H4.78822C4.76306 8.73033 4.75 8.56334 4.75 8.39331C4.75 8.22328 4.76306 8.0563 4.78822 7.89331H0.5C0.223858 7.89331 0 8.11717 0 8.39331V8.39331Z"
fill={color}
/>
<path
d="M15.5 8.89331C15.7761 8.89331 16 8.66945 16 8.39331V8.39331C16 8.11717 15.7761 7.89331 15.5 7.89331H11.2118C11.2369 8.0563 11.25 8.22328 11.25 8.39331C11.25 8.56334 11.2369 8.73033 11.2118 8.89331H15.5Z"
fill={color}
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.25 8.39331C11.25 10.1882 9.79493 11.6433 8 11.6433C6.20507 11.6433 4.75 10.1882 4.75 8.39331C4.75 6.59839 6.20507 5.14331 8 5.14331C9.79493 5.14331 11.25 6.59839 11.25 8.39331ZM8 10.6433C9.24264 10.6433 10.25 9.63595 10.25 8.39331C10.25 7.15067 9.24264 6.14331 8 6.14331C6.75736 6.14331 5.75 7.15067 5.75 8.39331C5.75 9.63595 6.75736 10.6433 8 10.6433Z"
fill={color}
/>
</svg>
))

0 comments on commit 7a20033

Please sign in to comment.