Skip to content

ITokenThemeRule

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITokenThemeRule.html

ts
interface ITokenThemeRule {
    background?: string;
    fontStyle?: string;
    foreground?: string;
    token: string;
}

background

  • 类型: string

fontStyle

  • 类型: string

foreground

  • 类型: string

token

  • 类型: string