Arcane OS Docs Development only

Reference

appearance.changed

The host observes an operating-system appearance change.

  • Reference

This focused page is derived from the mechanically checked full event inventory.

Subscribe

const unsubscribe = Arcane.events.on('appearance.changed', function handleAppearanceChanged(data) {
    // Read only the documented fields from data here.
    console.info('Received appearance.changed.');
});

// Stop listening when this page no longer needs the event.
function stopListeningForAppearanceChanged() {
    unsubscribe();
}

globalThis.addEventListener('pagehide', stopListeningForAppearanceChanged, {once: true});

Delivery

Live, future-only host notification.

Hosts

Microsoft NT WebView2 hosts.

When it fires

The host observes an operating-system appearance change.

Event data

scheme is the configured host scheme; effectiveScheme is the resolved dark or light scheme; source is windows.

Reference group

Events

Repository and reviewed source access