DocumentionConfigurationTheme

Theme Configuration

Used to configure theme information, supporting light themes, dark themes, and following the system settings.

When multiple Umo Editor instances are used on the same page, the configuration of the last instance takes precedence.

Default Configuration

{
  theme: 'light',
}

Configuration Options

theme

Description: Default theme.

Type: String

Default Value: light

Options: light, dark, auto