Skip to main content

types

MS Code Extension API


MS Code Extension API / core/theme/types

core/theme/types

Interfaces

MSCodeUIColors

Defined in: core/theme/types.ts:21

Structural interface matching the exact layout variables tracked across the document application interface (theme.css).

Maps specific layout blocks, text states, layout boundaries, interactive controls, and configuration form containers directly to valid CSS declaration strings.

Properties

ms-accent

ms-accent: string

Defined in: core/theme/types.ts:42

ms-activity-hover

ms-activity-hover: string

Defined in: core/theme/types.ts:26

ms-bg-activity

ms-bg-activity: string

Defined in: core/theme/types.ts:25

ms-bg-main

ms-bg-main: string

Defined in: core/theme/types.ts:23

ms-bg-side

ms-bg-side: string

Defined in: core/theme/types.ts:24

ms-border-dark

ms-border-dark: string

Defined in: core/theme/types.ts:37

ms-border-light

ms-border-light: string

Defined in: core/theme/types.ts:36

ms-code-bg

ms-code-bg: string

Defined in: core/theme/types.ts:57

ms-code-fg

ms-code-fg: string

Defined in: core/theme/types.ts:58

ms-icon-hover-bg

ms-icon-hover-bg: string

Defined in: core/theme/types.ts:43

ms-input-bg

ms-input-bg: string

Defined in: core/theme/types.ts:53

ms-input-border

ms-input-border: string

Defined in: core/theme/types.ts:55

ms-input-fg

ms-input-fg: string

Defined in: core/theme/types.ts:54

ms-input-focus-border

ms-input-focus-border: string

Defined in: core/theme/types.ts:56

ms-menu-border

ms-menu-border: string

Defined in: core/theme/types.ts:38

ms-menu-hover-bg

ms-menu-hover-bg: string

Defined in: core/theme/types.ts:44

ms-separator

ms-separator: string

Defined in: core/theme/types.ts:39

ms-settings-bg

ms-settings-bg: string

Defined in: core/theme/types.ts:48

ms-settings-category-color

ms-settings-category-color: string

Defined in: core/theme/types.ts:49

ms-settings-desc-color

ms-settings-desc-color: string

Defined in: core/theme/types.ts:51

ms-settings-link-color: string

Defined in: core/theme/types.ts:52

ms-settings-title-color

ms-settings-title-color: string

Defined in: core/theme/types.ts:50

ms-shadow

ms-shadow: string

Defined in: core/theme/types.ts:45

ms-tab-active-bg

ms-tab-active-bg: string

Defined in: core/theme/types.ts:28

ms-tab-inactive-bg

ms-tab-inactive-bg: string

Defined in: core/theme/types.ts:27

ms-text-bright

ms-text-bright: string

Defined in: core/theme/types.ts:33

ms-text-faded

ms-text-faded: string

Defined in: core/theme/types.ts:32

ms-text-main

ms-text-main: string

Defined in: core/theme/types.ts:31


ThemeDefinition

Defined in: core/theme/types.ts:83

Complete Theme Definition Matrix. Serves as the public contract interface consumed by system expansion module developer packages.

Properties

editorColors?

optional editorColors?: Record<string, string>

Defined in: core/theme/types.ts:108

Optional specialized overrides mapping native parameters inside Monaco Editor Viewports. e.g., tracking modifications across scrollbars, minimap channels, or suggestion panels.

id

id: string

Defined in: core/theme/types.ts:85

Unique identifying token. Recommended format: "publisher-namespace.theme-name"

name

name: string

Defined in: core/theme/types.ts:87

Public user-facing display label for selectors and option inputs

tokenColors

tokenColors: TokenColor[]

Defined in: core/theme/types.ts:102

Monaco Editor syntax tokenizer tree. Built onto standard TextMate layout systems to secure cross-language syntax targeting.

type

type: "dark" | "light" | "high-contrast"

Defined in: core/theme/types.ts:89

Primary systemic styling base architecture

uiColors

uiColors: Partial<MSCodeUIColors>

Defined in: core/theme/types.ts:96

Application UI layout maps. Directly sets root-level system variables. Partial declarations are supported; omitted keys preserve existing baseline variables.


ThemePersistedState

Defined in: core/theme/types.ts:128

Serialized persistence frame mapping active configurations saved back to local layout files.

Properties

activeThemeId

activeThemeId: string

Defined in: core/theme/types.ts:130

Target theme selection identification token string


ThemeRegistryEntry

Defined in: core/theme/types.ts:116

Registry Context Entry Frame. Wraps dynamic loaded definitions with tracking tracking fields specifying provider origins and disposal channels.

Properties

definition

definition: ThemeDefinition

Defined in: core/theme/types.ts:118

Structural specification content profile definitions

extensionId?

optional extensionId?: string

Defined in: core/theme/types.ts:122

Tracking allocation token identifying the provider extension scope

source

source: "extension" | "builtin" | "user-imported"

Defined in: core/theme/types.ts:120

Core origin signature classifying the execution allocation layer


TokenColor

Defined in: core/theme/types.ts:65

Token compilation rule modeling standard syntax categorization parameters mirroring VS Code and TextMate grammars.

Properties

scope

scope: string | string[]

Defined in: core/theme/types.ts:67

Target text parsing descriptor string or sequence of matching context scopes

settings

settings: object

Defined in: core/theme/types.ts:69

Applied lexical parsing style attributes

background?

optional background?: string

Background box highlight tracking single token entities

fontStyle?

optional fontStyle?: string

Typographical style flags: "bold" | "italic" | "underline" | "bold italic" | ""

foreground?

optional foreground?: string

Target Hex color identifier tracking token typography layouts