From 016c94011250c8763b3f4646f031af5d9357f8f0 Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Thu, 12 Feb 2026 21:46:30 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=8B=A4=ED=81=AC=EB=AA=A8=EB=93=9C=20?= =?UTF-8?q?=ED=86=A0=EA=B8=80=20=EA=B5=AC=ED=98=84=20(#216)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/layout/LoginButton.tsx | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/components/common/layout/LoginButton.tsx b/src/components/common/layout/LoginButton.tsx index 4886f1c2..40fda8cb 100644 --- a/src/components/common/layout/LoginButton.tsx +++ b/src/components/common/layout/LoginButton.tsx @@ -17,6 +17,7 @@ import { Popover } from '@/components/common/Popover'; import { UserAvatar } from '@/components/common/UserAvatar'; import { useAuthStore } from '@/stores/authStore'; import { useHomeStore } from '@/stores/homeStore'; +import { useThemeStore } from '@/stores/themeStore'; import { isAnonymousEmail } from '@/utils/auth'; import { showToast } from '@/utils/toast'; import { getUserDisplayName } from '@/utils/user'; @@ -32,6 +33,8 @@ export function LoginButton() { const openLoginModal = useAuthStore((s) => s.openLoginModal); const logout = useAuthStore((s) => s.logout); const resetHome = useHomeStore((s) => s.reset); + const resolvedTheme = useThemeStore((s) => s.resolvedTheme); + const setTheme = useThemeStore((s) => s.setTheme); const [isWithdrawModalOpen, setIsWithdrawModalOpen] = useState(false); const [isWithdrawing, setIsWithdrawing] = useState(false); @@ -111,6 +114,32 @@ export function LoginButton() {
+ +
+ +