- Preparing search index...
- The search index is not available
@logseq/libs
Interface ILSPluginThemeManager
Accessors
themes
- get themes(): Map<string, Theme[]>
-
Returns Map<string, Theme[]>
Methods
registerTheme
- registerTheme(id: string, opt: Theme): Promise<void>
-
Returns Promise<void>
selectTheme
- selectTheme(opt: Theme | LegacyTheme, options: {
effect?: boolean;
emit?: boolean;
}): Promise<void>
-
Parameters
-
-
options: {
effect?: boolean;
emit?: boolean;
}
-
Optional
effect?: boolean
-
Optional
emit?: boolean
Returns Promise<void>
unregisterTheme
- unregisterTheme(id: string, effect?: boolean): Promise<void>
-
Parameters
-
id: string
-
Optional
effect: boolean
Returns Promise<void>