From 12279117f3815f85290a4c9e9a10720b2c0c59dd Mon Sep 17 00:00:00 2001 From: kurihada Date: Thu, 26 Feb 2026 15:15:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E5=B1=80=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=88=87=E6=8D=A2=EF=BC=88=E6=B5=85=E8=89=B2/=E6=B7=B1?= =?UTF-8?q?=E8=89=B2/=E8=B7=9F=E9=9A=8F=E7=B3=BB=E7=BB=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CSS 变量驱动的主题系统,所有颜色响应 data-theme 属性 - 新增语义化色彩 heading/secondary/tertiary,替换硬编码 text-white/text-gray-* - 右上角三态主题按钮(自动/浅色/深色),全局可用无需登录 - layout.tsx 内联脚本防闪烁 - 修复个人中心页面溢出无法滚动 --- src/app/blindbox/[code]/page.tsx | 10 +++--- src/app/blindbox/page.tsx | 18 +++++----- src/app/globals.css | 54 +++++++++++++++++++++------- src/app/invite/[id]/page.tsx | 12 +++---- src/app/layout.tsx | 7 +++- src/app/page.tsx | 6 ++-- src/app/panic/page.tsx | 8 ++--- src/app/profile/page.tsx | 28 +++++++-------- src/app/room/[id]/page.tsx | 2 +- src/components/AuthModal.tsx | 12 +++---- src/components/GlobalUserBadge.tsx | 32 ++++++++++++++--- src/components/LeaveConfirmModal.tsx | 4 +-- src/components/MatchResult.tsx | 24 ++++++------- src/components/QrInviteModal.tsx | 4 +-- src/components/RestaurantCard.tsx | 2 +- src/components/RoomManageModal.tsx | 10 +++--- src/components/TopNav.tsx | 8 ++--- src/lib/theme.ts | 37 +++++++++++++++++++ 18 files changed, 186 insertions(+), 92 deletions(-) create mode 100644 src/lib/theme.ts diff --git a/src/app/blindbox/[code]/page.tsx b/src/app/blindbox/[code]/page.tsx index fda5a94..cfc9ff0 100644 --- a/src/app/blindbox/[code]/page.tsx +++ b/src/app/blindbox/[code]/page.tsx @@ -307,7 +307,7 @@ export default function BlindboxRoomPage() {
-

{room.name}

+

{room.name}

房间 {room.code}

@@ -354,7 +354,7 @@ export default function BlindboxRoomPage() {
@@ -377,7 +377,7 @@ export default function BlindboxRoomPage() { animate={{ opacity: 1, y: 0 }} > -

你还不是这个房间的成员

+

你还不是这个房间的成员

-

🎁 周末契约

+

🎁 周末契约

ADVENTURE ROULETTE

@@ -176,10 +176,10 @@ export default function BlindboxLobbyPage() { -

+

和 TA 一起,拆开周末

-

+

平日蓄水,周末开奖。把所有"想做但一直没做"的事, 交给命运来决定。

@@ -195,7 +195,7 @@ export default function BlindboxLobbyPage() {
{s.step}
-

{s.text}

+

{s.text}

))}
@@ -244,8 +244,8 @@ export default function BlindboxLobbyPage() { -

还没有盲盒房间

-

+

还没有盲盒房间

+

创建第一个房间,邀请 TA 一起玩

@@ -297,7 +297,7 @@ export default function BlindboxLobbyPage() {