diff --git a/src/app/globals.css b/src/app/globals.css index 22f9ba3..0790fe0 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,13 +1,27 @@ @import "tailwindcss"; :root { - --background: #f8f9fa; - --foreground: #171717; + --background: #030712; + --foreground: #f3f4f6; } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); + + --color-surface: #111827; + --color-elevated: #1f2937; + --color-inset: #0a0f1a; + + --color-border: #1f2937; + --color-subtle: #374151; + + --color-muted: #6b7280; + --color-dim: #4b5563; + + --color-accent: #10b981; + --color-accent-hover: #059669; + --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); } @@ -39,3 +53,8 @@ body { from { opacity: 1; } to { opacity: 0; } } + +@keyframes shimmer { + 0% { transform: translateX(-100%); } + 100% { transform: translateX(100%); } +} diff --git a/src/app/invite/[id]/page.tsx b/src/app/invite/[id]/page.tsx index 84ef7e8..cccc86b 100644 --- a/src/app/invite/[id]/page.tsx +++ b/src/app/invite/[id]/page.tsx @@ -62,7 +62,7 @@ export default function InvitePage() { if (status === "loading") { return (
+
这个房间已过期或不存在,请让朋友重新分享链接
@@ -88,44 +88,44 @@ export default function InvitePage() { } return ( -+
别说随便
+
{sceneConfig.inviteText}
-当前密码
+当前密码
新密码
+新密码
{ setNewPassword(e.target.value); setPasswordMsg(""); }} placeholder="至少 6 个字符" - className="mt-1 h-9 w-full rounded-lg border border-zinc-200 px-3 text-sm text-zinc-800 outline-none placeholder:text-zinc-300 focus:border-emerald-400 focus:ring-2 focus:ring-emerald-100" + className="mt-1 h-9 w-full rounded-lg border-none bg-elevated px-3 text-sm text-white outline-none ring-1 ring-border placeholder:text-dim focus:ring-2 focus:ring-accent/50" />确认新密码
+确认新密码
{ setConfirmPassword(e.target.value); setPasswordMsg(""); }} placeholder="再次输入新密码" - className="mt-1 h-9 w-full rounded-lg border border-zinc-200 px-3 text-sm text-zinc-800 outline-none placeholder:text-zinc-300 focus:border-emerald-400 focus:ring-2 focus:ring-emerald-100" + className="mt-1 h-9 w-full rounded-lg border-none bg-elevated px-3 text-sm text-white outline-none ring-1 ring-border placeholder:text-dim focus:ring-2 focus:ring-accent/50" />+
{passwordMsg}
)} @@ -440,7 +439,7 @@ export default function ProfilePage() {+
{emailMsg}
)} @@ -490,7 +489,7 @@ export default function ProfilePage() { {/* Decision History */}+
还没有决策记录
) : ( @@ -539,7 +538,7 @@ export default function ProfilePage() { href={amapNavUrl(d.restaurantData)} target="_blank" rel="noopener noreferrer" - className="flex gap-3 rounded-xl bg-zinc-50 p-2.5 transition-colors active:bg-zinc-100" + className="flex gap-3 rounded-xl bg-elevated p-2.5 transition-colors active:bg-subtle" > {firstImage(d.restaurantData) && ({d.restaurantName}
-{d.restaurantName}
++
还没有收藏的餐厅
) : ( @@ -616,7 +615,7 @@ export default function ProfilePage() { return ({r.name}
-{r.name}
+🍜
-房间不存在或已过期
-房间号可能有误,或房间已超过 24 小时
+房间不存在或已过期
+房间号可能有误,或房间已超过 24 小时
正在加载数据...
+ +正在加载数据...
用户名
+用户名
密码
+密码
确认密码
+确认密码
+
选择头像 - (可选) + (可选)
+
退出后你的滑卡进度不会丢失,可以用房间号重新加入
+
{likes}/{userCount} 人想去
+
{restaurant.address}
)} {restaurant.openTime && ( -+
{sceneConfig.qrSubtitle}
-+
{restaurant.address}
)} {restaurant.openTime && ( -+
房间号 {roomId}
@@ -131,8 +131,8 @@ export default function RoomManageModal({ disabled={loading !== null} className={`flex h-11 w-full items-center justify-center gap-2 rounded-xl text-sm font-semibold transition-colors disabled:opacity-50 ${ locked - ? "border border-emerald-200 bg-emerald-50 text-emerald-700 active:bg-emerald-100" - : "border border-zinc-200 bg-white text-zinc-700 active:bg-zinc-50" + ? "bg-accent/15 text-accent ring-1 ring-accent/30 active:bg-accent/25" + : "bg-elevated text-gray-300 ring-1 ring-border active:bg-subtle" }`} > {loading === "lock" || loading === "unlock" ? ( @@ -148,7 +148,7 @@ export default function RoomManageModal({ {/* User list with kick */}+
确定要结束投票吗?将根据当前已有的投票结果直接结算。
{finishedCount}/{others.length} 人已完成
等待其他人完成选择
+ +等待其他人完成选择