@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 is mainly meant for use with the Thrasos or Zelos renderer.

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