mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Add the theme name to the injection div (#3413)
* Set the theme name as a class on the injection div.
This commit is contained in:
@@ -286,7 +286,7 @@ Blockly.Options.parseThemeOptions_ = function(options) {
|
||||
if (theme instanceof Blockly.Theme) {
|
||||
return /** @type {!Blockly.Theme} */ (theme);
|
||||
}
|
||||
return new Blockly.Theme(
|
||||
return new Blockly.Theme('builtin',
|
||||
theme['blockStyles'], theme['categoryStyles'], theme['componentStyles']);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user