From 637c729e900b3e3523768431de969d2f2c986061 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 18 Sep 2026 16:22:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20=E4=BB=B7=E6=A0=BC=E8=A1=A8?= =?UTF-8?q?=E5=86=85=E8=81=94=E6=A0=B7=E5=BC=8F=E6=94=B9var(--line/--bg-si?= =?UTF-8?q?de/--ink-*)=E2=80=94=E2=80=94=E6=9A=97=E8=89=B2=E4=B8=8B?= =?UTF-8?q?=E7=99=BD=E8=A1=A8=E5=A4=B4=E6=A0=B9=E6=B2=BB(=E5=86=85?= =?UTF-8?q?=E8=81=94style=E5=8F=AF=E7=94=A8var)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product_management/core.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/product_management/core.py b/product_management/core.py index b1fb36c..a501e4c 100644 --- a/product_management/core.py +++ b/product_management/core.py @@ -1352,10 +1352,11 @@ class ProductManager: rows = [] html = [''] - th_style = ('padding:3px 6px;border:1px solid #e2e8f0;background:#f8fafc;' - 'color:#475569;font-weight:600;text-align:left;' + # 主题感知(2026-09-18 暗色治理):内联样式可用 var(),跟 bricks.css 双主题变量 + th_style = ('padding:3px 6px;border:1px solid var(--line);background:var(--bg-side);' + 'color:var(--ink-3);font-weight:600;text-align:left;' 'white-space:nowrap;') - td_style = ('padding:3px 6px;border:1px solid #e2e8f0;color:#334155;' + td_style = ('padding:3px 6px;border:1px solid var(--line);color:var(--ink-2);' 'white-space:nowrap;') html.append('' + ''.join( '' % (th_style, _html_escape(str(h)))
%s