From 7b9e0a215d443c08c5723e9dcd7dccb7b5254ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=B7=E5=B8=83=E5=8A=B3=E5=A4=96=20=C2=B7=20=E8=B4=BE?= =?UTF-8?q?=E8=B4=B5?= <472285740@qq.com> Date: Wed, 16 Jul 2025 14:55:21 +0800 Subject: [PATCH] fix(core): css var for apply delete diff (#13235) ## Summary by CodeRabbit * **Style** * Updated the background color variable for deleted blocks to improve consistency with the latest theme settings. No visible changes expected unless custom theme variables are in use. --- packages/frontend/component/src/theme/global.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/component/src/theme/global.css b/packages/frontend/component/src/theme/global.css index 99b819f365..7a1f3155c2 100644 --- a/packages/frontend/component/src/theme/global.css +++ b/packages/frontend/component/src/theme/global.css @@ -310,7 +310,10 @@ math { /* AI Block Diff */ .ai-block-diff-deleted { - background-color: var(--aI-applyDeleteHighlight, #ffeaea) !important; + background-color: var( + --affine-v2-aI-applyDeleteHighlight, + #ffeaea + ) !important; border-radius: 4px !important; padding: 8px 0px !important; margin-bottom: 10px !important;