import { useTheme } from 'next-themes' import { motion as m } from 'framer-motion' import { twMerge } from 'tailwind-merge' const themeMenus = [{ name: 'light' }, { name: 'dark' }, { name: 'system' }] export default function ToggleTheme() { const { theme: currentTheme, setTheme } = useTheme() return (