$fn.setAppearance(mode)
This is a built-in function added in v4.1.0.
Sets the appearance mode of the application.
Arguments
| Name | Type | Description |
|---|---|---|
| mode | string | Set one of the values [light | dark | auto] |
Return Value
None
Sample
$fn.setAppearance('dark');