refactor!: Improve ability to use CSS to style Blockly. (#8647)

* refactor!: Rename blocklyTreeIconClosed to blocklyToolboxCategoryIconClosed.

* refactor!: Rename blocklyTreeLabel to blocklyToolboxCategoryLabel

* refactor!: Rename blocklyToolboxDiv to blocklyToolbox.

* refactor: remove unreferenced CSS classes.

* refactor!: Remove the blocklyArrowTop and blocklyArrowBottom classes.

* feat: Add a blocklyTextInputField class to text fields.
This commit is contained in:
Aaron Dodson
2024-11-07 12:16:17 -08:00
committed by GitHub
parent 2523093cc9
commit d804c1a3c4
7 changed files with 29 additions and 42 deletions

View File

@@ -47,7 +47,7 @@ suite('Toolbox', function () {
test('Init called -> HtmlDiv is inserted before parent node', function () {
const toolboxDiv = Blockly.common.getMainWorkspace().getInjectionDiv()
.childNodes[0];
assert.equal(toolboxDiv.className, 'blocklyToolboxDiv');
assert.equal(toolboxDiv.className, 'blocklyToolbox');
});
test('Init called -> Toolbox is subscribed to background and foreground colour', function () {
const themeManager = this.toolbox.workspace_.getThemeManager();