@blockly/theme-modern Built on Blockly

A Blockly modern theme that uses the same block colours as the Classic theme but with darker borders. This theme was designed to be used with the Thrasos or Zelos renderer.

A Blockly workspace using the modern theme.

Installation

Yarn

yarn add @blockly/theme-modern

npm

npm install @blockly/theme-modern --save

Usage

import * as Blockly from 'blockly';
import Theme from '@blockly/theme-modern';

Blockly.inject('blocklyDiv', {
  theme: Theme,
});

License

Apache 2.0