0.2.3 • Published 5 years ago

gatsby-plugin-colorblind-filters v0.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

gatsby-plugin-colorblind-filters

Color blindness simulation for Gatsby sites (Demo).

Install

With Yarn:

yarn add gatsby-plugin-colorblind-filters

Or with npm:

npm install --save gatsby-plugin-colorblind-filters

Usage

Add plugin to gatsby-config.js. Only recommended for development environment.

plugins: [
  ...(process.env.NODE_ENV === 'development'
    ? [
        {
          resolve: 'gatsby-plugin-colorblind-filters',
          options: {
            toggleKey: 'p',
            zIndex: 999
          }
        }
      ]
    : [])
]

To activate different color-blindness mode, hold toggleKey (default p) and press 0/1/2/3/4/5/6/7/8 in development. Works best in Chrome.

Inspirations

color-blindness-emulation

License

MIT

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.2.0-alpha

5 years ago

0.1.0

5 years ago

0.1.0-alpha

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago