apply theme style to font
This commit is contained in:
@@ -114,7 +114,7 @@ export default function HomeView({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="platform-theme platform-theme--light">
|
||||
<div className="platform-theme platform-theme--light min-h-screen bg-(image:--platform-body-fill) text-(--platform-text-strong)">
|
||||
<section
|
||||
className={`grid min-h-93.5 content-start justify-items-center gap-3.25 px-6 pb-4.5 pt-25.75 max-[760px]:min-h-0 max-[760px]:gap-4 max-[760px]:px-3.5 max-[760px]:pb-8.5 max-[760px]:pt-21 ${
|
||||
hasPromo ? 'pt-33.75 max-[760px]:pt-21' : ''
|
||||
@@ -126,7 +126,7 @@ export default function HomeView({
|
||||
<img src={BRAND_ICON} alt="logo" className="size-32" />
|
||||
</span>
|
||||
<div>
|
||||
<h1 className="m-0 text-[27px] font-[750] tracking-normal max-[760px]:text-[22px]">
|
||||
<h1 className="m-0 text-[27px] font-[750] tracking-normal text-(--platform-brand-logo-title) max-[760px]:text-[22px]">
|
||||
陶泥儿 GameAgent
|
||||
</h1>
|
||||
<p className="m-0 mt-3 text-[13px] text-(--platform-text-soft)">
|
||||
@@ -158,7 +158,9 @@ export default function HomeView({
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
<span>{status}</span>
|
||||
<span className="text-[12px] text-(--platform-text-soft)">
|
||||
{status}
|
||||
</span>
|
||||
<form
|
||||
className="grid min-h-20 w-[min(1054px,calc(100vw-122px))] grid-rows-[minmax(42px,auto)_auto] rounded-[18px] border border-(--platform-surface-border) bg-(--platform-input-fill) px-3 pb-2 pt-3.25 shadow-(--platform-panel-shadow) focus-within:bg-(--platform-input-fill-focus) focus-within:ring-4 focus-within:ring-(--platform-input-focus-ring) max-[760px]:w-[min(100%,calc(100vw-76px))]"
|
||||
onSubmit={handleHomeSubmit}
|
||||
@@ -237,8 +239,14 @@ export default function HomeView({
|
||||
</div>
|
||||
) : (
|
||||
<div className="grid justify-items-center gap-2.5 px-0 pb-8 pt-4.5">
|
||||
<FolderKanban size={22} aria-hidden="true" />
|
||||
<strong>暂无最近项目</strong>
|
||||
<FolderKanban
|
||||
className="text-(--platform-icon-text)"
|
||||
size={22}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<strong className="text-[13px] text-(--platform-text-strong)">
|
||||
暂无最近项目
|
||||
</strong>
|
||||
<button
|
||||
className="cursor-pointer border-0 bg-transparent p-0 text-[12px] text-(--platform-warm-text)"
|
||||
type="button"
|
||||
@@ -260,7 +268,11 @@ export default function HomeView({
|
||||
<h2 className="m-0 text-[15px] text-(--platform-text-strong)">
|
||||
灵感推荐
|
||||
</h2>
|
||||
<Sparkles size={15} aria-hidden="true" />
|
||||
<Sparkles
|
||||
className="text-(--platform-warm-text)"
|
||||
size={15}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
</span>
|
||||
<p className="mb-0 mt-1 text-[12px] text-(--platform-text-soft)">
|
||||
{showcaseStatus}
|
||||
|
||||
Reference in New Issue
Block a user