Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface for a theme.

Hierarchy

  • ITheme

Index

Properties

Optional displayName

displayName: string

The display name of the theme.

isLight

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

name: string

The unique identifier name of the theme.

Optional themeScrollbars

themeScrollbars: boolean

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

Methods

load

  • load(): Promise<void>
  • Load the theme.

    Returns Promise<void>

    A promise that resolves when the theme has loaded.

unload

  • unload(): Promise<void>
  • Unload the theme.

    Returns Promise<void>

    A promise that resolves when the theme has unloaded.

Generated using TypeDoc