Skip to content

Overriding Blockly.Msg to change default block colors #56

@akshat46

Description

@akshat46

According to this issue, and the documentation here we should be able to change colors of default blocks by doing

Blockly.Msg.LOGIC_HUE = "#C554AB";

but that doesn't seem to be working with React-Blockly. What is the correct way to achieve this?

Edit: I am using v6 and its README says a custom colour property can be passed to the blocks entry in toolboxCategories but that doesn't seem to work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions