@blockly/theme-modern

5.0.6 • Public • Published

@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

Package Sidebar

Install

npm i @blockly/theme-modern

Weekly Downloads

279

Version

5.0.6

License

Apache-2.0

Unpacked Size

28.8 kB

Total Files

8

Last publish

Collaborators

  • google-wombot
  • samelhusseini