@comfit/wasm / Theme
Interface: Theme
Defined in: types.ts:67
Theme data supplied directly to the WASM engine for validation.
Properties
default?
readonlyoptionaldefault?:ThemeStyle
Defined in: types.ts:71
Base style inherited by tokens.
lineHighlight?
readonlyoptionallineHighlight?:ThemeStyle
Defined in: types.ts:77
Style applied to source lines selected for emphasis.
name?
readonlyoptionalname?:string
Defined in: types.ts:69
Display name. Named-theme CSS properties use the keys in the theme map instead.
rainbow?
readonlyoptionalrainbow?: readonlyThemeColor[]
Defined in: types.ts:75
Bracket colors wrapped by depth. An empty palette disables theme bracket colors.
styles?
readonlyoptionalstyles?:Readonly<Record<string,ThemeStyle>>
Defined in: types.ts:73
Capture styles keyed by dotted query capture names.