How do you edit blocks design and block colors in ai2 at localhost?

How to edit blocks design and block colors in ai2 at localhost?

1 Like

Can you please explain it more clearly with some links and images whatever you want

1 Like

Check this out @Nisarga_Adhikary

2 Likes

This isn't for blocks maybe

1 Like

Hi @Nisarga_Adhikary ,
The blockly colours are coded in the blockly editor java script files.You could change the built in blocks color by changing the color hex values here;

Also, you can change the events, methods and property setters and getters blocks from here:

Note that the events blocks takes the control category color constant value and the methods takes the procedure hue constant value, but you could change it, to any other hex color.

2 Likes

It don't wok to set blocks color

did you run ant after changing.

1 Like

Note that you can save some time if you run ant noplay to restrict the build to a subset of the system.

1 Like