Skip to main content

systemAppearance

Type​

property

Summary​

Determins if the system appearance is dark or light mode.

Syntax​

get the systemAppearance

Description​

The systemAppearance property returns either "dark" or "light" depending on whether the application is running in a dark mode context or not. On windows and linux the property will return "light".

Examples​

if the systemAppearance is "dark" then
set the backColor of me to "black"
set the foreColor of me to "white"
else
set the backColor of me to "white"
set the foreColor of me to "black"
end if

message: systemAppearanceChanged

Compatibility and Support​

Introduced

LiveCode 9.6

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?