diff --git a/src/icons/CatalogIcon/CatalogIcon.tsx b/src/icons/CatalogIcon/CatalogIcon.tsx index 6129d27a..12771597 100644 --- a/src/icons/CatalogIcon/CatalogIcon.tsx +++ b/src/icons/CatalogIcon/CatalogIcon.tsx @@ -1,6 +1,6 @@ import { FC } from 'react'; import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; -import { CARIBBEAN_GREEN, DARK_SLATE_GRAY, KEPPEL, WHITE, useTheme } from '../../theme'; +import { CARIBBEAN_GREEN, DARK_SLATE_GRAY, KEPPEL, useTheme } from '../../theme'; import { IconProps } from '../types'; type CatalogIconProps = { @@ -14,13 +14,11 @@ export const CatalogIcon: FC = ({ height = DEFAULT_HEIGHT, primaryFill, secondaryFill, - tertiaryFill = WHITE, style = {}, ...props }) => { const theme = useTheme(); const themeMode = theme?.palette?.mode ?? 'light'; - const themePrimaryFill = primaryFill ?? (themeMode === 'dark' ? KEPPEL : DARK_SLATE_GRAY); const themeSecondaryFill = secondaryFill ?? (themeMode === 'dark' ? CARIBBEAN_GREEN : KEPPEL); @@ -34,29 +32,24 @@ export const CatalogIcon: FC = ({ {...props} > + - );