blockly > blockRendering > ConstantProvider > setTheme

blockRendering.ConstantProvider.setTheme() method

Refresh constants properties that depend on the theme.

Signature:

setTheme(theme: Theme): void;

Parameters

Parameter Type Description
theme Theme The current workspace theme.

Returns:

void