Sets the UI theme. The value is case-insensitive; only 'light' and 'dark' are accepted. The theme is not persisted. Non-string values are ignored with a warning.
'light'
'dark'
'light' or 'dark'.
instance.UI.setTheme('dark'); Copy
instance.UI.setTheme('dark');
Sets the UI theme. The value is case-insensitive; only
'light'and'dark'are accepted. The theme is not persisted. Non-string values are ignored with a warning.