Module renderer/services/theme
Functions
addStyleLink
- addStyleLink(href: string): Promise<HTMLLinkElement>
Parameters
Returns Promise<HTMLLinkElement>
addStyles
- addStyles(style: string): Promise<HTMLStyleElement>
Parameters
Returns Promise<HTMLStyleElement>
getColorScheme
- getColorScheme(): "dark" | "light"
Returns "dark" | "light"
getThemeName
getThemeStyles
registerThemeStyle
Parameters
Returns void
removeThemeStyle
Parameters
Returns void
setTheme
Parameters
Returns void
Add style link to default preview.