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.
yarn add @blockly/theme-modern
npm install @blockly/theme-modern --save
import * as Blockly from 'blockly';
import Theme from '@blockly/theme-modern';
Blockly.inject('blocklyDiv', {
theme: Theme,
});
Apache 2.0