feat(design): colour banners and badges by meaning, document slice 1 and update design notes

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 09:36:01 +08:00
co-authored by Claude Haiku 4.5
parent a64b951922
commit 582504c24b
12 changed files with 30 additions and 28 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ export default async function LoginPage({ searchParams }: Props) {
return (
<main className="min-h-screen flex items-center justify-center bg-ground p-4">
{message === 'password_reset' && (
<div className="fixed top-4 left-1/2 -translate-x-1/2 bg-neutral-100 border border-divider text-ink text-sm px-4 py-2 shadow">
<div className="fixed top-4 left-1/2 -translate-x-1/2 bg-st-green-bg text-st-green-fg text-[13px] px-4 py-2 rounded-md shadow-float">
Password updated — sign in with your new password.
</div>
)}
<div className="bg-surface border border-divider p-8 w-full max-w-sm">
<div className="bg-surface rounded-xl shadow-card p-8 w-full max-w-sm">
<LoginForm />
</div>
</main>