diff --git a/components/IconFinder.tsx b/components/IconFinder.tsx index 659654f..6ffbe81 100644 --- a/components/IconFinder.tsx +++ b/components/IconFinder.tsx @@ -57,13 +57,6 @@ const IconFinder: React.FC = ({ term, onCancel, onSave, baseUrl await fetchIcons(true) }; const uniqueIcons = Array.from(new Set(icons)); - // const colorFilter = useMemo(() => { - // const filter = colorize(color); - // return filter; - // }, [color]); - // const filterStyle = colorize('#ff0000'); // replace '#ff0000' with your desired color - // const filterString = filterStyle && `brightness(${filterStyle.brightness}) contrast(${filterStyle.contrast}) hue-rotate(${filterStyle.hueRotate}) invert(${filterStyle.invert}) saturate(${filterStyle.saturate}) sepia(${filterStyle.sepia})`; - // console.log('FILTER (not working)', filterString) return (
{ e.preventDefault() @@ -80,7 +73,7 @@ const IconFinder: React.FC = ({ term, onCancel, onSave, baseUrl
{(!loading && !error) && uniqueIcons.map((icon, index) => (
setSelectedIcon(icon)} key={index} className={`cursor-pointer flex flex-col items-center justify-center border-4 sm:h-[120px] rounded-full`} style={{ borderColor: icon === selectedIcon ? color : 'white' }}> - Icon + Icon
))}