ados-rcm 1.0.471 → 1.0.472

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.
@@ -91,7 +91,33 @@ declare function setTheme(...args: ('Default' | 'Dark')[] | string[]): void;
91
91
  *
92
92
  */
93
93
  declare function editTheme(theme: Partial<ITheme>, ...args: ('Default' | 'Dark')[] | string[]): void;
94
- declare function init(themeName?: string): void;
94
+ interface IInitParams {
95
+ /**
96
+ * themeName?: string
97
+ *
98
+ * Description: The theme name to be set.
99
+ *
100
+ * Priority : 1
101
+ */
102
+ themeName?: string;
103
+ /**
104
+ * save?: 'localStorage' | 'sessionStorage'
105
+ *
106
+ * Description: If 'localStorage' or 'sessionStorage' is given, the themeName will be saved in the storage.
107
+ *
108
+ * Priority : 2
109
+ */
110
+ save?: 'localStorage' | 'sessionStorage';
111
+ /**
112
+ * followDeviceSetting?: boolean
113
+ *
114
+ * Description: If true, the theme will be set to 'Dark' when the device is in dark mode.
115
+ *
116
+ * Priority : 3
117
+ */
118
+ followDeviceSetting?: boolean;
119
+ }
120
+ declare function init({ themeName, save, followDeviceSetting }: IInitParams): void;
95
121
  export declare const DarkTheme: void;
96
122
  export declare const AThemes: {
97
123
  getThemeNames: typeof getThemeNames;