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

# Interface: ResolvedScope

Beta

A [ScopeConfig](ScopeConfig.md) resolved against the DOM, plus where each part came from.

## Extends

* [`ScopeConfig`](ScopeConfig.md)

## Properties

### theme?

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

Beta

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

#### Inherited from

[`ScopeConfig`](ScopeConfig.md).[`theme`](ScopeConfig.md#theme)

***

### scheme?

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

Beta

Pinned color scheme. Omit to follow the OS preference.

#### Inherited from

[`ScopeConfig`](ScopeConfig.md).[`scheme`](ScopeConfig.md#scheme)

***

### color?

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

Beta

Custom brand color key.

#### Inherited from

[`ScopeConfig`](ScopeConfig.md).[`color`](ScopeConfig.md#color)

***

### instanceId?

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

Beta

Identifier of the pantoken instance that owns this scope.

#### Inherited from

[`ScopeConfig`](ScopeConfig.md).[`instanceId`](ScopeConfig.md#instanceid)

***

### element

> **element**: `Element` | `null`

Beta

The nearest element that declared any scope attribute, or `null` when none did.

***

### bounded

> **bounded**: `boolean`

Beta

True when resolution stopped at a `data-pantoken-boundary` element.
