瀏覽代碼

style(layout): modify layout header components background color to specified color instead of built-in fixed value

sw 1 月之前
父節點
當前提交
e98f23614d
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      src/themes/darkTheme.ts
  2. 1 0
      src/themes/lightTheme.ts

+ 1 - 0
src/themes/darkTheme.ts

@@ -18,6 +18,7 @@ export const darkTheme = {
 
       /* 触发器图标色 —— 高亮纯白 */
       triggerColor: '#FFFFFF',
+      headerBg: '#001529', // 头部背景色
     },
   },
 };

+ 1 - 0
src/themes/lightTheme.ts

@@ -14,6 +14,7 @@ export const lightTheme = {
       triggerBg: '#1DA57A', // 触发器背景色(可选)
       /* 触发器图标色 —— 白色,确保对比度 */
       triggerColor: '#FFFFFF',
+      headerBg: '#FAFAFA', // 头部背景色
     },
   },
 };