@blockly/theme-deuteranopia Built on Blockly

A Blockly theme for people that have deuteranopia (the inability to perceive green light). This can also be used for people that have protanopia (the inability to perceive red light).

A Blockly workspace using the deuteranopia theme.

Installation

Yarn

yarn add @blockly/theme-deuteranopia

npm

npm install @blockly/theme-deuteranopia --save

Usage

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

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

License

Apache 2.0