Using Themes
A single theme could have multiple variants. For example the Dojo theme has a “light” and a “dark” variant. The global variable will let you change the theme at runtime.
Switching Themes
An application can have multiple themes loaded at the same time, and switch between them at runtime. To load multiple themes, load the stylesheet and script for each theme.
At runtime, you can switch themes by setting the property on the global variable.