Skip to content

pantoken-root / formats/scope/src / ScopeConfig

Interface: ScopeConfig ​

Beta

The resolvable state of a scope. Every field is optional — an unset field inherits.

Extended by ​

Properties ​

theme? ​

optional theme?: string

Beta

Theme key, e.g. "rebrand". Matched by [data-pantoken-theme="…"].


scheme? ​

optional scheme?: Scheme

Beta

Pinned colour scheme. Omit to follow the OS preference.


color? ​

optional color?: string

Beta

Custom brand colour key.


instanceId? ​

optional instanceId?: string

Beta

Identifier of the pantoken instance that owns this scope.