From 64e47529e29ab013b32d3c09e4044b5b192c3c7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 十月 2026 17:11:33 +0800
Subject: [PATCH] feat: 完善南通苏珩线缆工业智能系统

---
 src/main.ts |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index e60e320..e0c2236 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -27,23 +27,23 @@
 
   // 棣栨鍗囩骇鍚屾鍝佺墝涓昏壊锛岄伩鍏嶆棫鐨勮摑鑹插亸濂介伄鐩栨湰娆′富棰樻洿鏂般��
   // 鍗囩骇鍚庣敤鎴峰湪鍋忓ソ璁剧疆涓�夋嫨鐨勯鑹插拰鏄庢殫妯″紡浠嶄細淇濈暀銆�
-  document.documentElement.dataset.brandTheme = 'herbal';
-  const brandThemeKey = `${namespace}-herbal-theme-v1`;
+  document.documentElement.dataset.brandTheme = 'industrial';
+  const brandThemeKey = `${namespace}-industrial-theme-v1`;
   try {
     if (!localStorage.getItem(brandThemeKey)) {
       preferencesManager.updatePreferences({
-        theme: { builtinType: 'custom', colorPrimary: '#a51d24' },
+        theme: { builtinType: 'custom', colorPrimary: '#2563eb' },
       });
       localStorage.setItem(brandThemeKey, '1');
     }
   } catch {
     preferencesManager.updatePreferences({
-      theme: { builtinType: 'custom', colorPrimary: '#a51d24' },
+      theme: { builtinType: 'custom', colorPrimary: '#2563eb' },
     });
   }
   watch(
     () => preferences.theme.colorPrimary,
-    (color) => { document.documentElement.dataset.herbalPalette = String(color.toLowerCase() === '#a51d24'); },
+    (color) => { document.documentElement.dataset.industrialPalette = String(color.toLowerCase() === '#2563eb'); },
     { immediate: true, flush: 'sync' },
   );
 

--
Gitblit v1.9.3