Skip to content

$fn.setAppearance(mode)

This is a built-in function added in v4.1.0.
Sets the appearance mode of the application.

Arguments

NameTypeDescription
modestringSet one of the values [light | dark | auto]

Return Value

None

Sample

$fn.setAppearance('dark');