diff --git a/src/components/theme/DarkModeToggle.tsx b/src/components/theme/DarkModeToggle.tsx
index 502da6d..4ee2677 100644
--- a/src/components/theme/DarkModeToggle.tsx
+++ b/src/components/theme/DarkModeToggle.tsx
@@ -3,26 +3,39 @@
import React from 'react'
import { useTheme } from 'next-themes'
-import { RiMoonLine, RiSunLine } from 'react-icons/ri'
-
const DarkModeToggle = () => {
const { theme, setTheme } = useTheme()
-
- const Icon =
- theme === 'light' ? (
-
- ) : (
-
- )
-
+
return (
)
}
diff --git a/tailwind.config.ts b/tailwind.config.ts
index f5e4dc6..20de00f 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -12,7 +12,12 @@ const config: Config = {
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
- extend: {},
+ extend: {
+ animation: {
+ 'spin-slow': 'spin 5s linear infinite',
+ 'spin-xslow': 'spin 30s linear infinite',
+ }
+ },
},
plugins: [require('@tailwindcss/typography')],
}