Skip to content

@jsvision/code-editor / CodeEditorTheme

Interface: CodeEditorTheme ​

Defined in: code-editor/src/theme/theme.ts:12

Versioned, complete semantic palette consumed by the editor projection.

Properties ​

assistance ​

readonly assistance: Readonly<Record<"popup" | "selected" | "snippet" | "snippetActive", CodeEditorCellStyle>>

Defined in: code-editor/src/theme/theme.ts:21


contractVersion ​

readonly contractVersion: 1

Defined in: code-editor/src/theme/theme.ts:13


diagnostics ​

readonly diagnostics: Readonly<Record<"error" | "warning" | "information" | "hint", CodeEditorCellStyle>>

Defined in: code-editor/src/theme/theme.ts:20


name ​

readonly name: string

Defined in: code-editor/src/theme/theme.ts:14


structure ​

readonly structure: Readonly<Record<"gutter" | "lineNumber" | "fold" | "bracket" | "search" | "invisible", CodeEditorCellStyle>>

Defined in: code-editor/src/theme/theme.ts:17


surfaces ​

readonly surfaces: Readonly<Record<"editor" | "gutter" | "activeLine" | "selection" | "status", CodeEditorCellStyle>>

Defined in: code-editor/src/theme/theme.ts:15


syntax ​

readonly syntax: Readonly<Record<SyntaxCategory, CodeEditorCellStyle>>

Defined in: code-editor/src/theme/theme.ts:16