Skip to main content

The theme object

Information about the currently selected app theme.

theme contains information about the currently selected app theme

Properties

automatic
string[]

A list of default colors for automatic assignment to options in supported components.

canvas
string

Default background color of the app.

danger
string

Default color to indicate destructive actions, errors, and negative trends.

highlight
string

Default color to highlight matched text in searches.

info
string

Default color to indicate neutral information.

primary
string

The default accent color.

secondary
string

Default secondary accent color that is optionally available. Falls back to primary if not set.

success
string

Default color to indicate successful actions, completion, and positive trends.

surfacePrimary
string

Default background color for containers and tables.

tertiary
string

Default tertiary accent color that is optionally available. Falls back to secondary if not set.

warning
string

Default color to indicate warnings.