From 3a563950bae3b95269a5196f3c7b5040d4602d6a Mon Sep 17 00:00:00 2001 From: qiqi Date: Mon, 23 Nov 2026 09:56:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(promptlib):=20=E5=9B=BA=E5=AE=9A=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=9F=BA=E7=BA=BF=20v1.8.8=20=E4=B8=8E=E6=8F=92?= =?UTF-8?q?=E5=85=A5=E5=8F=98=E9=87=8F=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- promptlib/STYLE-BASELINE.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 promptlib/STYLE-BASELINE.md diff --git a/promptlib/STYLE-BASELINE.md b/promptlib/STYLE-BASELINE.md new file mode 100644 index 0000000..ec2c7d7 --- /dev/null +++ b/promptlib/STYLE-BASELINE.md @@ -0,0 +1,9 @@ +# promptlib 样式基线(重要) + +- 正确基线:**v1.8.8**(commit `178b36c`) +- 当前 v1.8.17 的样式与 1.8.8 视觉一致,仅颜色做了 `var(--plp-cN, #原色)` 兜底包装 +- 禁止批量改写颜色 token / 重写 CSS 声明(曾导致文字不可见、灰块、伪类失效) +- 插入变量:禁止在 blur 记录选区;用 `execCommand("insertText")` 在光标处插入 +- 改样式后必须截图核对再发市场 + +详细说明见桌面仓 `docs/standards/promptlib-style-baseline.md`。