From 0bf1cfa7f4733ba8e9d4e042fc638af6cc46909c Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 1 Sep 2026 14:41:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style(title):=20=E6=A0=87=E9=A2=98=E9=A2=84?= =?UTF-8?q?=E8=AE=BE=E5=8D=A1=E7=89=87=E6=94=B9=E4=B8=BA=E6=B7=B1=E8=89=B2?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E5=A4=A7T=E5=AD=97=E7=B4=A7=E5=87=91?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .xx-title-preset-card: 52x52固定尺寸,#3a3a3a深色背景,8px圆角 - hover: #4a4a4a + #666边框; active: #409eff边框 - .xx-title-preset-preview-text: font-size 32px + font-weight 700 - TITLE_PRESETS 所有 preset 的 previewStyle.fontSize 统一为 32px - 不改网格列数/间距/点击逻辑/预设内容 --- apps/web/src/pages/generate/constants.ts | 16 ++++++++-------- apps/web/src/pages/generate/generate.css | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/web/src/pages/generate/constants.ts b/apps/web/src/pages/generate/constants.ts index 5e849056f..199e2421f 100644 --- a/apps/web/src/pages/generate/constants.ts +++ b/apps/web/src/pages/generate/constants.ts @@ -81,7 +81,7 @@ export const TITLE_PRESETS = [ fontWeight: 700, color: "#ffffff", WebkitTextStroke: "1px #000000", - fontSize: "20px", + fontSize: "32px", }, }, { @@ -92,14 +92,14 @@ export const TITLE_PRESETS = [ fontWeight: 700, color: "#d4a843", textShadow: "1px 1px 3px rgba(0,0,0,0.8)", - fontSize: "20px", + fontSize: "32px", }, }, { key: "fresh_minimal", label: "清新简约", style: { size: 24, color: "#333333", bold: false, italic: false, stroke: false, shadow: false }, - previewStyle: { fontWeight: 400, color: "#333333", fontSize: "18px" }, + previewStyle: { fontWeight: 400, color: "#333333", fontSize: "32px" }, }, { key: "variety_show", @@ -110,14 +110,14 @@ export const TITLE_PRESETS = [ color: "#ff4081", WebkitTextStroke: "1.5px #ffffff", textShadow: "2px 2px 4px rgba(0,0,0,0.5)", - fontSize: "22px", + fontSize: "32px", }, }, { key: "business", label: "商务极简", style: { size: 24, color: "#1a1a1a", bold: false, italic: false, stroke: false, shadow: false }, - previewStyle: { fontWeight: 400, color: "#1a1a1a", fontSize: "17px" }, + previewStyle: { fontWeight: 400, color: "#1a1a1a", fontSize: "32px" }, }, { key: "retro_film", @@ -127,7 +127,7 @@ export const TITLE_PRESETS = [ fontWeight: 400, color: "#e8d5b7", textShadow: "2px 2px 6px rgba(0,0,0,0.7)", - fontSize: "18px", + fontSize: "32px", }, }, { @@ -138,7 +138,7 @@ export const TITLE_PRESETS = [ fontWeight: 700, color: "#00e5ff", textShadow: "0 0 4px #00e5ff, 0 0 8px #00e5ff, 0 0 16px rgba(0,229,255,0.5)", - fontSize: "20px", + fontSize: "32px", }, }, { @@ -149,7 +149,7 @@ export const TITLE_PRESETS = [ fontWeight: 400, color: "#333333", textShadow: "1px 1px 2px rgba(0,0,0,0.3)", - fontSize: "20px", + fontSize: "32px", }, }, ] diff --git a/apps/web/src/pages/generate/generate.css b/apps/web/src/pages/generate/generate.css index 1b6803177..187dbfa97 100644 --- a/apps/web/src/pages/generate/generate.css +++ b/apps/web/src/pages/generate/generate.css @@ -1739,31 +1739,31 @@ .xx-title-preset-card { display: flex; - flex-direction: column; align-items: center; justify-content: center; - aspect-ratio: 1 / 1; - padding: 4px; - background: var(--bg-secondary); + width: 52px; + height: 52px; + padding: 0; + background: #3a3a3a; border: 2px solid transparent; - border-radius: var(--radius-sm); + border-radius: 8px; cursor: pointer; transition: all 0.15s; - text-align: center; } .xx-title-preset-card:hover { - border-color: var(--primary-200); - background: var(--bg-primary); + border-color: #666; + background: #4a4a4a; } .xx-title-preset-card.active { - border-color: var(--primary-color); - background: var(--primary-50); + border-color: #409eff; + background: #4a4a4a; } .xx-title-preset-preview-text { - font-size: 28px; + font-size: 32px; + font-weight: 700; line-height: 1; user-select: none; } -- 2.54.0 From 3c8b794efb5f08f3faa1208c850acfd7088426fd Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 1 Sep 2026 14:51:06 +0800 Subject: [PATCH 2/2] ci: re-trigger build -- 2.54.0