Skip to content

Latest commit

 

History

History
 
 

theme-highcontrast

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@blockly/theme-highcontrast Built on Blockly

A [Blockly](https://www.npmjs.com/package/blockly theme that uses darker colors for the blocks to create contrast between the block color and the white text.

A Blockly workspace using the high contrast theme.

Installation

Yarn

yarn add @blockly/theme-highcontrast

npm

npm install @blockly/theme-highcontrast --save

Usage

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

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

License

Apache 2.0