ColorblindTheme

Type class

"Colorblind" — a color-vision-deficiency-safe qualitative palette based on the Okabe-Ito eight-color set, which stays distinguishable under the common forms of color blindness (protanopia, deuteranopia, tritanopia).

Like Dataviz and Kelly, this theme only sets the series palette; it does not change interface colors, so it layers cleanly on top of the default (light) look. The canonical Okabe-Ito order leads with black; here the eight colors are re-ordered to lead with color so the first series reads as a hue, with black kept in the set for later series.

Click here for the original palette
Click here for more info

Sources

This information about ColorblindTheme is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

ColorblindTheme extends Theme.

ColorblindTheme is extended by ColorblindDarkTheme.

Settings

ColorblindTheme does not have any settings.

Private settings

ColorblindTheme does not have any private settings.

Properties

ColorblindTheme does not have any properties.

Methods

constructor(

root: Root,
isReal: boolean

)

#

Returns ColorblindTheme

Inherited from Theme

new(

root: Root

)

#

Static

Returns InstanceType

Inherited from Theme

Use this method to create an instance of this class.

Click here for more info

rule(

themeClass: K,
themeTags: Array

)

#

Returns Template

Inherited from Theme

Creates a Template for specific theme class and tags.

Click here for more info

ruleRaw(

themeClass: string,
themeTags: Array

)

#

Returns Template

Inherited from Theme

Creates a Template for specific theme class and tags.

NOTE: the difference from rule() is that ruleRaw() does not do any type checks.

Click here for more info

There are 4 inherited items currently hidden from this list.

Events

ColorblindTheme does not have any events.