@blockly/theme-deuteranopia
Version:
A Blockly theme for people that have deuteranopia.
37 lines (24 loc) • 841 B
Markdown
# @blockly/theme-deuteranopia [](https://github.com/google/blockly)
A [Blockly](https://www.npmjs.com/package/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
```js
import * as Blockly from 'blockly';
import Theme from '@blockly/theme-deuteranopia';
Blockly.inject('blocklyDiv', {
theme: Theme,
});
```
## License
Apache 2.0