Skip to main content

@blockly/theme-tritanopia

Built with Blockly​

A Blockly theme for people that have tritanopia (the inability to perceive blue light).

A Blockly workspace using the tritanopia theme.

Installation​

Yarn​

yarn add @blockly/theme-tritanopia

npm​

npm install @blockly/theme-tritanopia --save

Usage​

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

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

License​

Apache 2.0

A Blockly theme for people that have tritanopia.

Variables​

VariableDescription
defaultTritanopia theme. A colour palette for people that have tritanopia (the inability to perceive blue light).