The Theme object
Information about the current app theme.
Properties
All properties for Theme with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
automatic
A list of default colors for automatic assignment to options.
canvas
Default background color of the app.
danger
Default color to indicate destructive actions, errors, and negative trends.
highlight
Default color to highlight matched text in searches.
info
Default color to indicate neutral information.
primary
The default accent color.
secondary
Default secondary accent color that is optionally available. Falls back to primary
if not set.
success
Default color to indicate successful actions, completion, and positive trends.
surfacePrimary
Default background color for containers and tables.
tertiary
Default tertiary accent color that is optionally available. Falls back to secondary
if not set.
warning
Default color to indicate warnings.