8.6 Released with 🥽 visionOS support and more!
Check it out
SystemAppearanceChangedEventData
interface SystemAppearanceChangedEventData extends ApplicationEventData {
  newValue: "dark" | "light";
}
Event data containing information for system appearance changed event.

Summary

Properties

newValue
4 properties inherited from ApplicationEventData
Click to expand

Properties

newValue

newValue: "dark" | "light"