@itshixun/qst-ui-system 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,7 @@ export declare const injectThemeStyle: (option?: ThemeOption) => void;
95
95
  * @param mode 模式 light / dark
96
96
  * @param color 主题色 Record<"primary" | "success" | "warning" | "danger" | "info", string>
97
97
  */
98
- export declare const updateThemeColor: (themeName: string, mode: DayNightModeEnum, color: Record<(typeof cssVarCodex)['color'][number], string>) => void;
98
+ export declare const updateThemeColor: (themeName: string, mode: DayNightModeEnum, color: Partial<Record<(typeof cssVarCodex)['color'][number], string>>) => void;
99
99
  /**
100
100
  * 根据传入的主题序号切换主题
101
101
  * @param themeIndex {number} 主题列表中的序号
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itshixun/qst-ui-system",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "qst ui system",
5
5
  "author": "mutueye <mutuyueniao@gmail.com>",
6
6
  "license": "MIT",