/** antd v6 主题配置:默认主题 + 少量 token 覆写(主色与品牌一致) */ import type { ThemeConfig } from "antd"; /** # 成员变量: 品牌主色 **/ export const BRAND_COLOR = "#2f54eb"; /** # 成员变量: antd 主题 */ export const antdTheme: ThemeConfig = { token: { colorPrimary: BRAND_COLOR, borderRadius: 8, fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif", }, components: { Layout: { siderBg: "#ffffff", headerBg: "#ffffff", headerHeight: 64, }, Card: { headerHeight: 56, }, }, };