From 23e321ba22e535a184d8a000f8ee16b887b1ac2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Thu, 19 Nov 2020 16:07:49 +0100 Subject: [PATCH] fix: update icons `stroke-width` --- .../autocomplete-js/src/components/ResetIcon.ts | 1 + .../autocomplete-js/src/components/SearchIcon.ts | 1 + .../src/icons/searchIcon.ts | 7 ++++--- .../src/icons/recentIcon.ts | 13 ++++++++++--- .../src/icons/resetIcon.ts | 1 + 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/packages/autocomplete-js/src/components/ResetIcon.ts b/packages/autocomplete-js/src/components/ResetIcon.ts index 397916b04..22d64ed4c 100644 --- a/packages/autocomplete-js/src/components/ResetIcon.ts +++ b/packages/autocomplete-js/src/components/ResetIcon.ts @@ -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'); diff --git a/packages/autocomplete-js/src/components/SearchIcon.ts b/packages/autocomplete-js/src/components/SearchIcon.ts index 5cdc440b8..ca6fec2b8 100644 --- a/packages/autocomplete-js/src/components/SearchIcon.ts +++ b/packages/autocomplete-js/src/components/SearchIcon.ts @@ -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'); diff --git a/packages/autocomplete-plugin-query-suggestions/src/icons/searchIcon.ts b/packages/autocomplete-plugin-query-suggestions/src/icons/searchIcon.ts index a0d055ba3..88ffe308f 100644 --- a/packages/autocomplete-plugin-query-suggestions/src/icons/searchIcon.ts +++ b/packages/autocomplete-plugin-query-suggestions/src/icons/searchIcon.ts @@ -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" /> `; diff --git a/packages/autocomplete-plugin-recent-searches/src/icons/recentIcon.ts b/packages/autocomplete-plugin-recent-searches/src/icons/recentIcon.ts index cf9ad96a9..1c6257b57 100644 --- a/packages/autocomplete-plugin-recent-searches/src/icons/recentIcon.ts +++ b/packages/autocomplete-plugin-recent-searches/src/icons/recentIcon.ts @@ -1,6 +1,13 @@ export const recentIcon = ` - - - + + + `; diff --git a/packages/autocomplete-plugin-recent-searches/src/icons/resetIcon.ts b/packages/autocomplete-plugin-recent-searches/src/icons/resetIcon.ts index aa82f9368..5777fef67 100644 --- a/packages/autocomplete-plugin-recent-searches/src/icons/resetIcon.ts +++ b/packages/autocomplete-plugin-recent-searches/src/icons/resetIcon.ts @@ -5,6 +5,7 @@ export const resetIcon = ` stroke="currentColor" fill="none" fill-rule="evenodd" + stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" >