systemAppearance

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the systemAppearance
Summary

Determins if the system appearance is dark or light mode.

Introduced9.6
OSmac, android, ios
Platformsdesktop, mobile
Example
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
RelatedMessage: systemAppearanceChanged
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".