Skip to main content

Home > blockly > WorkspaceSvg > setTheme

WorkspaceSvg.setTheme() method

Set the workspace theme object. If no theme is passed, default to the Classic theme.

Signature:

setTheme(theme: Theme): void;

Parameters

ParameterTypeDescription
themeThemeThe workspace theme object.

Returns:

void