Skip to content

Commit

Permalink
fix: update icons stroke-width
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Nov 19, 2020
1 parent 2d119ad commit 23e321b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/autocomplete-js/src/components/ResetIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const ResetIcon: Component<{}, SVGSVGElement> = () => {
path.setAttribute('stroke', 'currentColor');
path.setAttribute('fill', 'none');
path.setAttribute('fill-rule', 'evenodd');
path.setAttribute('stroke-width', '1.4');
path.setAttribute('stroke-linecap', 'round');
path.setAttribute('stroke-linejoin', 'round');

Expand Down
1 change: 1 addition & 0 deletions packages/autocomplete-js/src/components/SearchIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const SearchIcon: Component<{}, SVGSVGElement> = () => {
path.setAttribute('stroke', 'currentColor');
path.setAttribute('fill', 'none');
path.setAttribute('fill-rule', 'evenodd');
path.setAttribute('stroke-width', '1.4');
path.setAttribute('stroke-linecap', 'round');
path.setAttribute('stroke-linejoin', 'round');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ export const searchIcon = `
d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z"
stroke="currentColor"
fill="none"
fillRule="evenodd"
strokeLinecap="round"
strokeLinejoin="round"
fill-rule="evenodd"
stroke-width="1.4"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
`;
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
export const recentIcon = `
<svg width="20" height="20" viewBox="0 0 22 22" fill="currentColor" stroke-width="1.1">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/>
<svg
width="20"
height="20"
viewBox="0 0 22 22"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"
/>
</svg>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const resetIcon = `
stroke="currentColor"
fill="none"
fill-rule="evenodd"
stroke-width="1.4"
stroke-linecap="round"
stroke-linejoin="round"
></path>
Expand Down

0 comments on commit 23e321b

Please sign in to comment.