Some partners have requested being able to style our icons (comment, mutator, and warning). They could register and use their own custom icons, but that seems a little heavy if they just want to change the background color.
To Fix
Add the following css classes to each of the icons. You need to modify the initView method to call dom.addClass(this.svgRoot, <css class>);
Some partners have requested being able to style our icons (comment, mutator, and warning). They could register and use their own custom icons, but that seems a little heavy if they just want to change the background color.
To Fix
Add the following css classes to each of the icons. You need to modify the
initViewmethod to calldom.addClass(this.svgRoot, <css class>);blockly-icon-commentblockly-icon-mutatorblockly-icon-warning