Skip to main content
theme() Prebuilt Custom Returns the current DailyThemeConfig as last set via setTheme() or the theme call property. Returns undefined if no theme has been set.

Return value

Returns DailyThemeConfig — either a global { colors } object or a { light, dark } object with separate themes for each color mode. See setTheme() for the full color field reference.

Example

const currentTheme = call.theme();
console.log(currentTheme?.colors?.accent);

See also