From 1719ad4c8ad1bd7872c0390ccbcba67323094978 Mon Sep 17 00:00:00 2001 From: lixinran Date: Sat, 11 Oct 2025 14:10:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E5=B0=86=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E6=94=B9=E4=B8=BA=E7=B4=AB=E8=89=B2?= =?UTF-8?q?=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 编辑器边框:蓝色(#007bff) → 紫色(#660874) - 保存按钮:蓝色(#007bff) → 紫色(#660874) - 光标颜色:蓝色(#007bff) → 紫色(#660874) - hover效果:深蓝色 → 深紫色(#4d0655) - 与AI助手背景色保持一致的品牌配色 --- frontend/src/lib/mind-elixir/src/utils/dom.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/mind-elixir/src/utils/dom.ts b/frontend/src/lib/mind-elixir/src/utils/dom.ts index 0f9d667..383acc8 100644 --- a/frontend/src/lib/mind-elixir/src/utils/dom.ts +++ b/frontend/src/lib/mind-elixir/src/utils/dom.ts @@ -352,7 +352,7 @@ export const editTableNode = function (this: MindElixirInstance, el: Topic) { min-height: 400px; max-height: 80vh; background: white; - border: 2px solid #007bff; + border: 2px solid #660874; border-radius: 8px; padding: 15px; z-index: 10000; @@ -389,7 +389,7 @@ export const editTableNode = function (this: MindElixirInstance, el: Topic) { outline: none; background: #fafafa; color: #333; - caret-color: #007bff; + caret-color: #660874; ` textarea.setAttribute('spellcheck', 'false') textarea.setAttribute('autocomplete', 'off') @@ -448,7 +448,7 @@ export const editTableNode = function (this: MindElixirInstance, el: Topic) { saveButton.textContent = '保存' saveButton.style.cssText = ` padding: 8px 20px; - background: #007bff; + background: #660874; color: white; border: none; border-radius: 4px; @@ -458,10 +458,10 @@ export const editTableNode = function (this: MindElixirInstance, el: Topic) { transition: background 0.2s; ` saveButton.addEventListener('mouseenter', () => { - saveButton.style.background = '#0056b3' + saveButton.style.background = '#4d0655' }) saveButton.addEventListener('mouseleave', () => { - saveButton.style.background = '#007bff' + saveButton.style.background = '#660874' }) buttonGroup.appendChild(cancelButton)