Skip to content

@maxhealth.tech/prefab / mcp / VsCodeTokenSource

Interface: VsCodeTokenSource

Defined in: mcp/theme-bridge.ts:21

How one prefab token is sourced from the VS Code webview.

Properties

vscode

ts
vscode: string;

Defined in: mcp/theme-bridge.ts:23

VS Code webview variable supplying the value.


light

ts
light: string;

Defined in: mcp/theme-bridge.ts:25

Static fallback when VS Code does not define it (light scheme).


dark?

ts
optional dark?: string;

Defined in: mcp/theme-bridge.ts:27

Dark-scheme fallback. Omitted for scheme-independent tokens (fonts).

Released under the MIT License.