改变颜色

时间:2019-01-08 12:29:13

标签: blockly

我需要更改工具箱的背景 我试图进行更改(无效)

<style>
#blockly {
       position: fixed;
    }
    #blocklyMask {
       background-color: #f0f8ff;
    }
  </style>

此外,我需要更改块的边框颜色。尝试使用笔触参数进行游戏

Blockly.defineBlocksWithJsonArray([{
        "type": "ball_number",
        "lastDummyAlign0": "CENTRE",
        "message0": "ball_number%1",
        "strokeColour": "#00ff00",
        "strokeWidth": "5",
        "args0": [{
            "type": "field_number",
            "name": "NUMBER",
            "value": 0,
            "min": 1,
            "max": 100
        }],
        "previousStatement": "ball_attribute",
        "nextStatement": "ball_attribute",
        "colour": "#48d1cc",
        "tooltip": "Type the ball number. In range [1...100]",
        "helpUrl": ""
    },

我发现了这个https://groups.google.com/forum/#!topic/blockly/CvcHpS5v9bA 但这是针对ios

1 个答案:

答案 0 :(得分:0)

使用以下CSS

docker-compose