ados-rcm 1.0.436 → 1.0.438

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.
@@ -67,15 +67,30 @@ declare function addTheme(theme: ITheme): void;
67
67
  * Description: Remove a theme from the internal theme list.
68
68
  * you can not remove the last theme.
69
69
  */
70
- declare function removeTheme(themeName: string): void;
70
+ declare function removeTheme(...args: ('Default' | 'Dark')[] | string[]): void;
71
71
  /**
72
72
  * unsetTheme
73
73
  *
74
74
  * Description: Unset the theme by removing all properties from the document.
75
+ * Only first argument is used as themeName, rest are ignored.
75
76
  */
76
- declare function unsetTheme(themeName: string): void;
77
- declare function setTheme(themeName: string): void;
78
- declare function editTheme(themeName: string, theme: Partial<ITheme>): void;
77
+ declare function unsetTheme(...args: ('Default' | 'Dark')[] | string[]): void;
78
+ /**
79
+ * setTheme
80
+ *
81
+ * Description: Set the theme by setting all properties to the document.
82
+ * Only first argument is used as themeName, rest are ignored.
83
+ */
84
+ declare function setTheme(...args: ('Default' | 'Dark')[] | string[]): void;
85
+ /**
86
+ * editTheme
87
+ *
88
+ * Description: Edit the existing theme by setting its properties.
89
+ * It is not applied immediately. You should call 'setTheme' to apply the changes.
90
+ * Only first argument is used as themeName, rest are ignored.
91
+ *
92
+ */
93
+ declare function editTheme(theme: Partial<ITheme>, ...args: ('Default' | 'Dark')[] | string[]): void;
79
94
  declare function init(themeName?: string): void;
80
95
  export declare const DarkTheme: void;
81
96
  export declare const AThemes: {