StyleManager.getDark

bool getDark()

Gets whether the application is using dark appearance.

This can be used to query the current appearance, as requested via propertyStyleManager:color-scheme.

Returns

whether the application is using dark appearance