diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx index 924d856da..b5bb7e6a4 100644 --- a/components/Footer/Footer.tsx +++ b/components/Footer/Footer.tsx @@ -1,7 +1,15 @@ import Link from 'next/link' import type { FC } from 'react' +import { useTheme } from 'next-themes' export const Footer: FC = () => { + const { resolvedTheme } = useTheme() + const isDarkMode = resolvedTheme === 'dark' + + const nameStyles = `underline ${ + isDarkMode ? 'text-gray-200' : 'text-violet-700' + } ` + return (