From 86d0e3bc2d0c587e9d522d34f3ff4ce0f35893d2 Mon Sep 17 00:00:00 2001 From: caadiq Date: Wed, 31 Dec 2025 19:35:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=9D=BC=EC=9D=B4=ED=8A=B8=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20=EB=B0=B0=EA=B2=BD=EC=83=89=20=EB=B0=9D=EA=B2=8C=20?= =?UTF-8?q?=EC=9B=90=EB=B3=B5=20=EB=B0=8F=20=EC=84=B8=EB=B6=80=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 배경색을 밝게(#f8fafc) 원복 - glow-card/glass에 그림자 추가로 카드 구분 - 프로필 팝업 배경 흰색 - 콘솔 탭 버튼 밝은 색상 오버라이드 - 설정 페이지 비활성 버튼 색상 조정 - 모드팩 헤더 영역 흰색 배경 --- frontend/src/index.css | 81 +++++++++++++++++++++++++++++++----------- 1 file changed, 61 insertions(+), 20 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 9c6f7ba..8826cf7 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -24,31 +24,31 @@ /* 라이트 테마 */ .light { - /* 배경 - 약간 어두운 회색 계열로 카드와 대비 */ - --bg-primary: #e5e7eb; - --bg-secondary: #f3f4f6; - --bg-tertiary: #d1d5db; + /* 배경 - 밝은 색상 */ + --bg-primary: #f8fafc; + --bg-secondary: #ffffff; + --bg-tertiary: #f1f5f9; --bg-card: #ffffff; - --bg-hover: rgba(0, 0, 0, 0.08); + --bg-hover: rgba(0, 0, 0, 0.04); /* 텍스트 */ - --text-primary: #111827; - --text-secondary: #374151; - --text-tertiary: #6b7280; - --text-muted: #9ca3af; + --text-primary: #1e293b; + --text-secondary: #475569; + --text-tertiary: #64748b; + --text-muted: #94a3b8; - /* 테두리 - 더 진하게 */ - --border-color: rgba(0, 0, 0, 0.15); - --border-subtle: rgba(0, 0, 0, 0.08); + /* 테두리 */ + --border-color: #e2e8f0; + --border-subtle: #f1f5f9; - --shadow-color: rgba(0, 0, 0, 0.15); + --shadow-color: rgba(0, 0, 0, 0.08); - /* 글래스 및 카드 - 흰색 배경 + 그림자로 대비 */ - --glass-bg: rgba(255, 255, 255, 0.95); - --glass-border: rgba(0, 0, 0, 0.12); - --glass-dark-bg: rgba(255, 255, 255, 0.98); + /* 글래스 및 카드 - 그림자로 구분 */ + --glass-bg: #ffffff; + --glass-border: #e2e8f0; + --glass-dark-bg: #ffffff; --card-bg: #ffffff; - --card-border: rgba(0, 0, 0, 0.12); + --card-border: #e2e8f0; } /* 라이트 모드 Tailwind 색상 오버라이드 */ @@ -173,12 +173,53 @@ /* 텍스트 색상 추가 오버라이드 */ .light .text-zinc-100, .light .text-zinc-200 { - color: #111827 !important; + color: #1e293b !important; } .light .text-zinc-500, .light .text-zinc-600 { - color: #6b7280 !important; + color: #64748b !important; +} + +/* 라이트 모드 카드에 그림자 추가 */ +.light .glow-card, +.light .glass { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important; +} + +/* 프로필 팝업 배경 - 흰색 */ +.light .bg-\[var\(--bg-secondary\)\], +.light .bg-\[var\(--bg-tertiary\)\] { + background-color: #ffffff !important; +} + +/* 콘솔 탭 버튼 - 흰색 배경에 맞게 */ +.light button.bg-zinc-700, +.light button.bg-zinc-800, +.light .bg-zinc-700\/50, +.light .bg-zinc-800\/50 { + background-color: #f1f5f9 !important; + color: #475569 !important; +} + +.light button.bg-zinc-700:hover, +.light button.bg-zinc-800:hover { + background-color: #e2e8f0 !important; +} + +/* 설정 페이지 비활성 버튼 */ +.light .bg-zinc-800.text-zinc-400, +.light .bg-zinc-700.text-zinc-400 { + background-color: #f1f5f9 !important; + color: #64748b !important; + border: 1px solid #e2e8f0 !important; +} + +/* 모드팩 페이지 헤더 영역 */ +.light .bg-gradient-to-r.from-zinc-800, +.light .bg-zinc-800.rounded-xl { + background-color: #ffffff !important; + border: 1px solid #e2e8f0 !important; } /* 기본 html, body 스타일 */