An interface for a theme.

interface ITheme {
    displayName?: string;
    isLight: boolean;
    name: string;
    themeScrollbars?: boolean;
    load(): Promise<void>;
    unload(): Promise<void>;
}

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