/** * 默认主题配置 * 定义 CSS 变量的默认值:主色/辅色/圆角/字体等 */ export interface ThemeConfig { /** 主色 */ colorPrimary: string; /** 主色 hover */ colorPrimaryHover: string; /** 主色 active */ colorPrimaryActive: string; /** 辅色 */ colorSecondary: string; /** 成功色 */ colorSuccess: string; /** 警告色 */ colorWarning: string; /** 错误色 */ colorError: string; /** 文本主色 */ colorText: string; /** 文本次级色 */ colorTextSecondary: string; /** 文本禁用色 */ colorTextDisabled: string; /** 背景色 */ colorBg: string; /** 卡片背景色 */ colorBgCard: string; /** 边框色 */ colorBorder: string; /** 渐变起始色 */ colorGradientStart: string; /** 渐变结束色 */ colorGradientEnd: string; /** 圆角 - 小 */ borderRadiusSm: string; /** 圆角 - 中 */ borderRadiusMd: string; /** 圆角 - 大 */ borderRadiusLg: string; /** 圆角 - 超大 */ borderRadiusXl: string; /** 字体族 */ fontFamily: string; /** 字体大小 - 超小 */ fontSizeXs: string; /** 字体大小 - 小 */ fontSizeSm: string; /** 字体大小 - 中 */ fontSizeMd: string; /** 字体大小 - 大 */ fontSizeLg: string; /** 字体大小 - 标题 */ fontSizeXl: string; /** 字体大小 - 大标题 */ fontSizeXxl: string; /** 行高 */ lineHeight: string; /** 间距 - 超小 */ spacingXs: string; /** 间距 - 小 */ spacingSm: string; /** 间距 - 中 */ spacingMd: string; /** 间距 - 大 */ spacingLg: string; /** 间距 - 超大 */ spacingXl: string; /** 阴影 - 卡片 */ shadowCard: string; /** 阴影 - 卡片悬浮 */ shadowCardHover: string; /** 动效 - 快速 */ transitionFast: string; /** 动效 - 常规 */ transitionNormal: string; } /** 默认主题 */ export declare const DEFAULT_THEME: ThemeConfig; /** * 将 ThemeConfig 的 camelCase key 转为 CSS 变量名 * 同时输出 --sp-* 和 --ms-* 两套变量,确保所有组件响应主题 */ export declare function themeToCSS(theme: ThemeConfig): string; //# sourceMappingURL=default-theme.d.ts.map