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
Parameter | Type | Description |
---|---|---|
theme | Theme | The workspace theme object. |
Returns:
void