---
url: /api/formats/scope/src/interfaces/ScopeConfig.md
---
[pantoken-root](../../../../index.md) / [formats/scope/src](../index.md) / ScopeConfig

# Interface: ScopeConfig

Beta

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

## Extended by

* [`ResolvedScope`](ResolvedScope.md)
* [`CreateScopeOptions`](CreateScopeOptions.md)
* [`ScopeMessage`](ScopeMessage.md)

## Properties

### theme?

> `optional` **theme?**: `string`

Beta

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

***

### scheme?

> `optional` **scheme?**: [`Scheme`](../type-aliases/Scheme.md)

Beta

Pinned color scheme. Omit to follow the OS preference.

***

### color?

> `optional` **color?**: `string`

Beta

Custom brand color key.

***

### instanceId?

> `optional` **instanceId?**: `string`

Beta

Identifier of the pantoken instance that owns this scope.
