File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {useTheme} from "next-themes";
55
66import { cn } from "@/lib/utils" ;
77import { Button } from "@/components/ui/button" ;
8- import { FaMoon , FaSun } from "react-icons/fa " ;
8+ import { MdDarkMode , MdSunny } from "react-icons/md " ;
99
1010export const ModeToggle = React . forwardRef <
1111 HTMLButtonElement ,
@@ -24,8 +24,8 @@ export const ModeToggle = React.forwardRef<
2424 onClick = { ( ) => setTheme ( theme === "dark" ? "light" : "dark" ) }
2525 { ...props }
2626 >
27- < FaSun className = "text-neutral-800 dark:hidden dark:text-neutral-200 size-5" />
28- < FaMoon className = "hidden text-neutral-800 dark:block dark:text-neutral-200" />
27+ < MdSunny className = "text-neutral-800 dark:hidden dark:text-neutral-200 size-5" />
28+ < MdDarkMode className = "hidden text-neutral-800 dark:block dark:text-neutral-200 size-6 " />
2929 </ Button >
3030 ) ;
3131} ) ;
You can’t perform that action at this time.
0 commit comments