diff --git a/site/source/design-system/field/SearchField.tsx b/site/source/design-system/field/SearchField.tsx index 46b6d7f08..3459d9120 100644 --- a/site/source/design-system/field/SearchField.tsx +++ b/site/source/design-system/field/SearchField.tsx @@ -33,17 +33,7 @@ const SearchInputContainer = styled(StyledInputContainer)` ` const IconContainer = styled.div<{ hasLabel?: boolean }>` - padding: calc( - ${({ hasLabel = false }) => (hasLabel ? '1rem' : '0rem')} + 0.5rem - ) - 0 0.5rem; - ${({ theme: { darkMode } }) => - darkMode && - css` - & * { - fill: white !important; - } - `} + padding: calc(${({ hasLabel = false }) => (hasLabel ? '1rem' : '0rem')} + 0.5rem) 0 0.5rem; ` export default function SearchField( diff --git a/site/source/design-system/icons/Loader.tsx b/site/source/design-system/icons/Loader.tsx index 787094bf4..bf1d5c5d9 100644 --- a/site/source/design-system/icons/Loader.tsx +++ b/site/source/design-system/icons/Loader.tsx @@ -4,51 +4,40 @@ export function Loader() { aria-label="Chargement en cours" width={24} height={24} + viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" role="img" > - - - - + + + + - - - - - - - + + + + + + + + + ) diff --git a/site/source/design-system/icons/SearchIcon.tsx b/site/source/design-system/icons/SearchIcon.tsx index 6bde404be..0b092374f 100644 --- a/site/source/design-system/icons/SearchIcon.tsx +++ b/site/source/design-system/icons/SearchIcon.tsx @@ -1,25 +1,15 @@ export function SearchIcon({ ...props }) { return ( - + )