@blockly/theme-deuteranopia
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).
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