Skip to content

IStandaloneThemeData ​

原文链接

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

ts
interface IStandaloneThemeData {
    base: BuiltinTheme;
    colors: IColors;
    encodedTokensColors?: string[];
    inherit: boolean;
    rules: ITokenThemeRule[];
}

base ​

  • 类型: BuiltinTheme ==> "vs" | "vs-dark" | "hc-black" | "hc-light"

colors ​

encodedTokensColors ​

  • 类型: string[]

inherit ​

  • 类型: boolean

rules ​

Released under the MIT License.