Reference
Arcane.appearance
Native appearance state and application.
This focused page is derived from the mechanically checked full member inventory.
Syntax
Arcane.appearance
Member kind
Namespace
Description
Native appearance state and application.
Overview
Arcane.appearance reads and applies the native appearance contract. Host
appearance changes can also arrive as the future-only appearance.changed
event; application code should use the returned and event payload fields rather
than infer theme state from operating-system internals.
Availability and security
Current-state reads require appearance.read; applying values requires
appearance.write. The host validates the bounded appearance object. A method
result or event is presentation state and must never grant authority.
Example
const access = await globalThis.Arcane.capabilities.list();
const canReadAppearance = access.methods.includes('appearance.current');
console.log('Native appearance read admitted:', canReadAppearance);
Members
Arcane.appearance.current()— Gets the current native appearance state. Requires appearance.read; Linux currently reports supported:false.Arcane.appearance.apply()— Applies supported current-user native appearance values and returns the resulting state. Requires appearance.write; Linux currently reports unsupported without claiming a mutation.