From a6bcd3a21d201ff166a1a415c9ec52aff679c6aa Mon Sep 17 00:00:00 2001 From: zhengwr Date: Mon, 15 Jun 2026 17:00:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20P0=20L1=20=C2=A713=20=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=8E=A7=E4=BB=B6=E5=AD=97=E5=8F=B7=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=2013px(=E5=AF=B9=E9=BD=90=E8=A1=A8=E6=A0=BC=E6=AD=A3=E6=96=87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 覆盖 --Form-input-fontSize 14→13,与 §10 表格正文 13px 一致。 (边框 #e2e5ea 偏浅但 amis 变量声明离元素过近、token 压不动, 直接改 border-color 会破坏 hover/focus,差异本身小,不强改。) Co-Authored-By: Claude Opus 4.8 (1M context) --- src/shell/amis-theme.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/shell/amis-theme.css b/src/shell/amis-theme.css index dfbe058..59c3930 100644 --- a/src/shell/amis-theme.css +++ b/src/shell/amis-theme.css @@ -437,3 +437,15 @@ top: 0; z-index: 3; } + +/* ============================================================================ + 13. P0 · L1 输入控件字号统一 — 2026-06-15(基于真实 DOM 实测校准) + 实测:输入框字号 14px,与表格正文 13px 不一致 → 统一到 13px。 + (注:输入框边框 #e2e5ea 偏浅,但 amis 把 --Form-input-borderColor 声明得离 + 元素过近、token 覆盖压不动,直接改 border-color 又会破坏 hover/focus 态, + 差异本身很小,故不强改。) + ============================================================================ */ +:root, +.amis-scope .AMISCSSWrapper { + --Form-input-fontSize: 13px; /* 与表格正文 13px 一致(原 14px) */ +}