Blocky has provided the implementation method of treeView toolbox. Refer to this page: https://blockly-demo.appspot.com/static/demos/toolbox/index.html
After you implement the treeView toolbox, you just need to change the CSS style of each lable to achieve the desired effect.