Skip to content

Commit a071580

Browse files
committed
optimize(platform): 夜间模式下的登录页样式优化,提升用户体验, Close #369
1 parent cc6eb46 commit a071580

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/platform/app/login/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export default function LoginPage() {
4646
}
4747

4848
return (
49-
<div className="min-h-screen flex items-center justify-center bg-gray-50">
50-
<Card className="w-full max-w-md">
49+
<div className="min-h-screen flex items-center justify-center bg-theme-bg">
50+
<Card className="w-full max-w-md dark:bg-gray-700">
5151
<div className="text-center mb-8">
5252
<div className="flex justify-center mb-4">
5353
<Image
@@ -57,8 +57,8 @@ export default function LoginPage() {
5757
alt="Dify Chat Platform"
5858
/>
5959
</div>
60-
<h1 className="text-2xl font-bold text-gray-900">Dify Chat Platform</h1>
61-
<p className="text-gray-600 mt-2">请登录您的账户</p>
60+
<h1 className="text-2xl font-bold">Dify Chat Platform</h1>
61+
<p className="mt-2">请登录您的账户</p>
6262
</div>
6363

6464
<Form

0 commit comments

Comments
 (0)