From 7020794addf484b28c0153c8937da26f3225302d Mon Sep 17 00:00:00 2001 From: caadiq Date: Fri, 17 Apr 2026 22:05:33 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9C=A0=ED=8B=B8=EB=A6=AC=ED=8B=B0=20?= =?UTF-8?q?=EC=B9=B4=EB=93=9C=20=ED=85=8C=EB=A7=88=20=ED=86=A0=ED=81=B0?= =?UTF-8?q?=ED=99=94=20+=20=ED=98=B8=EB=B2=84/=EA=B7=B8=EB=A6=BC=EC=9E=90?= =?UTF-8?q?=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 카드/아이콘 박스/구분선에 semantic 토큰 적용 - 호버: emerald 색상 변화 대신 scale-[1.02] - 카드 그림자 추가로 라이트 배경과 구분 Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/index.css | 38 +++++++++++++++++++ frontend/src/pages/Home.jsx | 75 +++++++++++++++++++++++++++++-------- 2 files changed, 98 insertions(+), 15 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 18107a4..2c2b863 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -30,6 +30,25 @@ --toggle-thumb-from: #e5e7eb; --toggle-thumb-to: #9ca3af; --toggle-thumb-icon: #0f172a; + + --card-bg-from: rgba(17, 24, 39, 0.8); + --card-bg-to: rgba(17, 24, 39, 0.4); + --card-border: rgba(255, 255, 255, 0.05); + --card-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3); + + --icon-box-from: #1f2937; + --icon-box-to: #111827; + --icon-box-border: rgba(255, 255, 255, 0.05); + + --divider-line: rgba(255, 255, 255, 0.1); + --skeleton-bg: rgba(255, 255, 255, 0.02); + + --empty-bg: rgba(17, 24, 39, 0.4); + --empty-border: rgba(255, 255, 255, 0.05); + + --accent: #10b981; + --accent-hover-text: #6ee7b7; + --accent-glow: rgba(16, 185, 129, 0.1); } /* 테마 토큰 - light */ @@ -56,6 +75,25 @@ --toggle-thumb-from: #fde68a; --toggle-thumb-to: #f59e0b; --toggle-thumb-icon: #78350f; + + --card-bg-from: #ffffff; + --card-bg-to: #ffffff; + --card-border: rgba(0, 0, 0, 0.06); + --card-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04); + + --icon-box-from: #f3f4f6; + --icon-box-to: #e5e7eb; + --icon-box-border: rgba(0, 0, 0, 0.06); + + --divider-line: rgba(0, 0, 0, 0.1); + --skeleton-bg: rgba(0, 0, 0, 0.05); + + --empty-bg: rgba(249, 250, 251, 0.9); + --empty-border: rgba(0, 0, 0, 0.06); + + --accent: #059669; + --accent-hover-text: #047857; + --accent-glow: rgba(16, 185, 129, 0.12); } html, body, #root { diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index cf52ad3..fbbb9e7 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -13,9 +13,20 @@ export default function Home() {
{/* 구분선 */}
-
- Utilities -
+
+ + Utilities + +
{/* 메뉴 그리드 */} @@ -23,13 +34,25 @@ export default function Home() { {loading ? (
{Array.from({ length: 3 }).map((_, i) => ( -
+
))}
) : menus.length === 0 ? ( -
+
🍁
-

아직 등록된 기능이 없습니다

+

+ 아직 등록된 기능이 없습니다 +

) : (
@@ -37,16 +60,27 @@ export default function Home() { -
-
-
+
+
{menu.title}
-

{menu.title}

-

{menu.description}

+

{menu.title}

+

+ {menu.description} +

@@ -57,9 +91,20 @@ export default function Home() { {/* 구분선 */}
-
- Notices -
+
+ + Notices + +
{/* 메이플 공지 */}