style: align UI palette with Taonier visuals

This commit is contained in:
kdletters
2026-05-21 13:54:35 +08:00
parent 0eed942ce5
commit da3badb802
24 changed files with 400 additions and 381 deletions

View File

@@ -290,9 +290,9 @@ export function JumpHopRuntimeShell({
};
return (
<div className="platform-remap-surface jump-hop-runtime relative flex h-full min-h-0 w-full flex-col overflow-hidden bg-[#eef8ff] text-slate-950">
<div className="platform-remap-surface jump-hop-runtime relative flex h-full min-h-0 w-full flex-col overflow-hidden bg-[#fffdf9] text-slate-950">
<div className="jump-hop-runtime__sky" />
<div className="pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_18%,rgba(255,255,255,0.82),transparent_30%),linear-gradient(180deg,rgba(255,255,255,0.18),rgba(148,210,255,0.2))]" />
<div className="pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_18%,rgba(255,255,255,0.82),transparent_30%),linear-gradient(180deg,rgba(255,255,255,0.18),rgba(234,204,179,0.24))]" />
<header className="relative z-20 flex items-center justify-between gap-2 px-3 pb-2 pt-[max(0.75rem,env(safe-area-inset-top))] sm:px-4">
<button
@@ -456,7 +456,9 @@ export function JumpHopRuntimeShell({
<footer className="relative z-20 mt-3 flex items-center justify-between gap-3">
<div className="min-w-0 text-sm font-bold text-slate-700">
{error ? (
<span className="text-rose-600">{error}</span>
<span className="text-[var(--platform-button-danger-text)]">
{error}
</span>
) : (
<span>{getStatusLabel(activeRun?.status)}</span>
)}
@@ -467,7 +469,7 @@ export function JumpHopRuntimeShell({
onPointerDown={beginCharge}
onPointerUp={() => void finishCharge()}
onPointerCancel={cancelCharge}
className="platform-button platform-button--primary min-h-12 shrink-0 gap-2 rounded-full px-5 py-3 text-sm shadow-[0_12px_28px_rgba(14,165,233,0.28)]"
className="platform-button platform-button--primary min-h-12 shrink-0 gap-2 rounded-full px-5 py-3 text-sm shadow-[0_12px_28px_rgba(182,98,63,0.22)]"
>
{isBusy ? (
<Loader2 className="h-4 w-4 animate-spin" />
@@ -485,8 +487,8 @@ export function JumpHopRuntimeShell({
inset: 0;
background:
radial-gradient(circle at 18% 18%, rgba(253, 230, 138, 0.36), transparent 24%),
radial-gradient(circle at 82% 22%, rgba(125, 211, 252, 0.34), transparent 28%),
linear-gradient(180deg, #f7fdff 0%, #e8f6ff 52%, #d9eefc 100%);
radial-gradient(circle at 82% 22%, rgba(226, 171, 134, 0.34), transparent 28%),
linear-gradient(180deg, #fffdf9 0%, #f8efe7 52%, #f4e5d7 100%);
}
.jump-hop-runtime__stage {
@@ -645,7 +647,7 @@ export function JumpHopRuntimeShell({
border-radius: 999px 999px 0.9rem 0.9rem;
background:
radial-gradient(circle at 50% 22%, #fff 0 17%, transparent 18%),
linear-gradient(180deg, #fb7185 0%, #f97316 100%);
linear-gradient(180deg, #c7653d 0%, #df7f40 100%);
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.72), 0 12px 18px rgba(190, 80, 40, 0.24);
}
@@ -683,7 +685,7 @@ export function JumpHopRuntimeShell({
height: 100%;
transform-origin: left center;
border-radius: inherit;
background: linear-gradient(90deg, #38bdf8, #facc15, #fb7185);
background: linear-gradient(90deg, #6e8d42, #f0cba9, #c7653d);
}
@keyframes jump-hop-feedback {