This pull request updates the CSS class names associated with the selection state of toolbox categories in Blockly. The changes improve clarity and consistency by aligning the CSS class naming with the context in which they are used.
Changes Made
Renamed CSS Classes: Updated the CSS class name from blocklyTreeSelected to blocklyToolboxSelected across the relevant files. This change reflects the role of the class in styling the selected state of toolbox categories rather than tree elements.
CSS Style Updates: Adjusted the CSS selectors to use the new class name, ensuring that all styling for selected toolbox categories remains functional.
Motivation
The renaming of CSS classes enhances code readability and maintainability by making it clear which elements are being targeted for styling. It eliminates ambiguity and aligns with the conventions used throughout the codebase for naming CSS classes associated with toolbox components.
Issue -> https://github.com/google/blockly/issues/8351
fixes https://github.com/google/blockly/issues/8351
Description
This pull request updates the CSS class names associated with the selection state of toolbox categories in Blockly. The changes improve clarity and consistency by aligning the CSS class naming with the context in which they are used.
Changes Made
Renamed CSS Classes: Updated the CSS class name from
blocklyTreeSelected
toblocklyToolboxSelected
across the relevant files. This change reflects the role of the class in styling the selected state of toolbox categories rather than tree elements.CSS Style Updates: Adjusted the CSS selectors to use the new class name, ensuring that all styling for selected toolbox categories remains functional.
Motivation
The renaming of CSS classes enhances code readability and maintainability by making it clear which elements are being targeted for styling. It eliminates ambiguity and aligns with the conventions used throughout the codebase for naming CSS classes associated with toolbox components.