Skip to content

Platform

The Platform namespace contains properties that help deal with platform specific differences.

string default: ""

The name of the operating system. Possible values are:

Operating SystemValue
Windowswindows
macOSmacos
Linuxlinux
Androidandroid
iOSios

If the operating system is none of the above, the value of this property is the empty string.

string default: ""

The name of the currently selected widget style. Some widget styles have dark and light variant suffixes, such as fluent-light. This property contains the style name without the suffix. Use Palette‘s color-scheme to determine the currently used scheme.


© 2025 SixtyFPS GmbH