loadTheme
loadTheme(
name):Promise<string|undefined>
Defined in: themes/index.ts:37
Asynchronously loads the theme with the specified name.
The promise returned resolves with the CSS string for the theme.
This CSS can then be added to a <style> element on the page.
Parameters
Section titled “Parameters”Name of the theme.
Returns
Section titled “Returns”Promise<string | undefined>