@blockly/theme-modern
Version:
A Blockly modern theme with darker block borders.
38 lines (25 loc) • 874 B
Markdown
A [Blockly](https://www.npmjs.com/package/blockly) modern theme that uses the
same block colours as the [Classic theme](https://github.com/google/blockly/blob/master/core/theme/classic.ts)
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
```
```js
import * as Blockly from 'blockly';
import Theme from '@blockly/theme-modern';
Blockly.inject('blocklyDiv', {
theme: Theme,
});
```
Apache 2.0