Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MixStandaloneTheme

Hierarchy

  • IStandaloneTheme
    • MixStandaloneTheme

Index

Properties

Readonly label

label: string

Readonly semanticHighlighting

semanticHighlighting: boolean

Defines whether semantic highlighting should be enabled for the theme.

themeData

themeData: ThemeMix

Readonly tokenColorMap

tokenColorMap: string[]

List of all colors used with tokens. getTokenStyleMetadata references the colors by index into this list.

tokenTheme

tokenTheme: TokenTheme

Readonly type

type: any

Methods

defines

  • defines(color: string): boolean
  • Returns whether the theme defines a value for the color. If not, that means the default color will be used.

    Parameters

    • color: string

    Returns boolean

getColor

  • getColor(color: string, useDefault?: boolean): undefined | Color

getTokenStyleMetadata

  • getTokenStyleMetadata(type: string, modifiers: string[], modelLanguage: string): undefined | ITokenStyle