From 47cf949a3274c8a27592856e1002b60b131e6a3e Mon Sep 17 00:00:00 2001 From: caadiq Date: Wed, 31 Dec 2025 19:14:53 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=9D=BC=EC=9D=B4=ED=8A=B8/=EB=8B=A4?= =?UTF-8?q?=ED=81=AC=20=EB=AA=A8=EB=93=9C=20-=20=ED=8C=9D=EC=97=85=20?= =?UTF-8?q?=EB=A9=94=EB=89=B4=20=EB=B0=8F=20=ED=95=B5=EC=8B=AC=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 테마 토글을 팝업 메뉴로 변경 (시스템/다크/라이트 선택) - App.jsx: 모든 레이아웃을 CSS 변수로 변경 - Sidebar.jsx: 배경색, 프로필 메뉴, 드롭다운을 CSS 변수로 변경 - 라이트 모드에서 기본 배경/텍스트 색상 적용 --- frontend/src/App.jsx | 6 +- frontend/src/components/Sidebar.jsx | 92 +++++++++++++++++++++++------ 2 files changed, 77 insertions(+), 21 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 87d21e8..bcb94bc 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -49,7 +49,7 @@ function App() { return ( -
+
@@ -69,7 +69,7 @@ function App() { return ( -
+
@@ -86,7 +86,7 @@ function App() { return ( -
+
{/* 사이드바 + 메인 콘텐츠 레이아웃 */} diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx index 1eab4ee..3333dd9 100644 --- a/frontend/src/components/Sidebar.jsx +++ b/frontend/src/components/Sidebar.jsx @@ -175,10 +175,10 @@ const Sidebar = ({ isMobile = false }) => { animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: -10, scale: 0.95 }} transition={{ duration: 0.15 }} - className="absolute bottom-full left-0 right-0 mb-2 bg-zinc-800 border border-zinc-700 rounded-xl shadow-xl overflow-hidden z-50" + className="absolute bottom-full left-0 right-0 mb-2 bg-[var(--bg-secondary)] border border-[var(--border-color)] rounded-xl shadow-xl overflow-hidden z-50" > {/* 프로필 정보 */} -
+
{
+
+ + + + {showThemeMenu && ( + + {themeOptions.map((option) => ( + + ))} + + )} + +
); }; @@ -358,7 +414,7 @@ const Sidebar = ({ isMobile = false }) => { )} {/* 상단 툴바 */} -
+
{/* 햄버거 메뉴 버튼 */}