The options to configure themes that can be easily switched

Theme Options

Default

Mode

Values accepted

  • "any"
  • "dark"
  • "light"

Value

If set to true this theme will be the default one for the specified mode, the last one set to default will be used if more than one are set.

Name

The theme name used to change the theme using the {@link Container.loadTheme} function

Options

This object is the entire {@link Options | options } object

interface ITheme {
    default: IThemeDefault;
    name: string;
    options?: RecursivePartial<IOptions>;
}

Implemented by

Properties

Properties

default: IThemeDefault

Options to set the default theme

name: string

Theme name, use it when changing theme

All options the theme will override