An interface for a theme.

Hierarchy

  • ITheme

Properties

displayName?: string

The display name of the theme.

isLight: boolean

Whether the theme is light or dark. Downstream authors of extensions can use this information to customize their UI depending upon the current theme.

name: string

The unique identifier name of the theme.

themeScrollbars?: boolean

Whether the theme includes styling for the scrollbar. If set to false, this theme will leave the native scrollbar untouched.

Methods

  • Load the theme.

    Returns Promise<void>

    A promise that resolves when the theme has loaded.

  • Unload the theme.

    Returns Promise<void>

    A promise that resolves when the theme has unloaded.

Generated using TypeDoc