Skip to content

Commit 88124a1

Browse files
committed
Theme switcher refactoring
1 parent 917d1c9 commit 88124a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/shared/AppHeader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const AppHeader = () => {
7070
className="block sm:hidden ml-0 bg-primary-light dark:bg-ternary-dark p-3 shadow-sm rounded-xl cursor-pointer"
7171
>
7272
{activeTheme === 'dark' ? (
73-
<FiMoon className="text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-liBorder-primary-light text-xl" />
73+
<FiMoon className="text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-primary-light text-xl" />
7474
) : (
7575
<FiSun className="text-gray-200 hover:text-gray-50 text-xl" />
7676
)}
@@ -183,7 +183,7 @@ const AppHeader = () => {
183183
className="ml-8 bg-primary-light dark:bg-ternary-dark p-3 shadow-sm rounded-xl cursor-pointer"
184184
>
185185
{activeTheme === 'dark' ? (
186-
<FiMoon className="text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-liBorder-primary-light text-xl" />
186+
<FiMoon className="text-liText-ternary-dark hover:text-gray-400 dark:text-liText-ternary-light dark:hover:text-primary-light text-xl" />
187187
) : (
188188
<FiSun className="text-gray-200 hover:text-gray-50 text-xl" />
189189
)}

0 commit comments

Comments
 (0)