Nivo: Provide color blind and a11y color palettes

Created on 28 Aug 2017  路  9Comments  路  Source: plouc/nivo

Amongst the already pretty color palettes, provide a11y and color blind friendly palettes.

help wanted a11y enhancement stale

Most helpful comment

@Firenze11, of course, you can provide your custom color palette to colors property for most components.

All 9 comments

@JeffHeon, do you know where I can find some?

I will search and reply back this week.

I found these for different type of colour blindness, but you'd have to use a color picker tool. Not super practical: http://mkweb.bcgsc.ca/colorblind/img/colorblindness.palettes.png
(from http://mkweb.bcgsc.ca/colorblind/ )

The a11y project have a few online tools One of them this: Mix and match color classes to create accessible themes

Wanted to ask is it possible to now to allow users provide their custom color palette? If not is there a plan to do so?

@Firenze11, of course, you can provide your custom color palette to colors property for most components.

@Firenze11 if it helps, here is how I coloured my pie chart so each segment alternates between my theme's primary and secondary colours:

<ResponsivePie colors={[theme.primaryColor, theme.secondaryColor]} />

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knackjax picture knackjax  路  3Comments

vagnervst picture vagnervst  路  4Comments

serendipity1004 picture serendipity1004  路  3Comments

gcloeval picture gcloeval  路  3Comments

danpettay picture danpettay  路  3Comments