$a.theme

📘 Methods for working with themes.

More details are here.

getCurrent

getCurrent(): string

Gets the current theme name.

Example

let themeName = this.$a.theme.getCurrent();

set

set(themeName: string = "")

Sets a theme.

There is shortening for this method this.$a.setTheme see

Example

this.$a.theme.set("dark");