@canlooks/can-ui 0.0.23 → 0.0.24

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.
@@ -54,6 +54,6 @@ export interface PartialTheme extends Partial<Omit<Theme, 'colors' | 'text' | 'b
54
54
  /** 设置主题时的`colors`属性与使用主题时的`colors`属性有所不同 */
55
55
  export interface ThemeDefinition extends Omit<PartialTheme, 'colors' | 'update'> {
56
56
  colors?: {
57
- [P in ColorPresets]: string;
57
+ [P in ColorPresets]?: string;
58
58
  };
59
59
  }
@@ -54,6 +54,6 @@ export interface PartialTheme extends Partial<Omit<Theme, 'colors' | 'text' | 'b
54
54
  /** 设置主题时的`colors`属性与使用主题时的`colors`属性有所不同 */
55
55
  export interface ThemeDefinition extends Omit<PartialTheme, 'colors' | 'update'> {
56
56
  colors?: {
57
- [P in ColorPresets]: string;
57
+ [P in ColorPresets]?: string;
58
58
  };
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canlooks/can-ui",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "author": "C.CanLiang <canlooks@gmail.com>",
5
5
  "description": "My ui framework",
6
6
  "license": "MIT",