Home

Awesome

Note:

⚠️ If you are looking to follow along with the v1.0 tutorial you can find that here⚠️

Zebra is a lightweight, APCA color contrast plugin

Screenshot 2022-01-02 at 13 06 11

What is APCA?

APCA(Advanced Perceptual Contrast Algorithm) is a modern color contrast algorithm that aims to be be perceptually uniform. It is currently being evaluated as a part of the WCAG 3 draught process.

Note: Because APCA is still being evaluated, it is likely that some aspects of the algorithm and scoring system will change between APCA versions.

More info here


Local Development:

Step 1

Download or clone the repo and run npm install

Step 2

Step 3

Open Figma and in the menu go to Plugins -> Development -> New Plugin.

Step 4

Choose Link to Existing Plugin and find the zebra manifest.json


How stuff works

This plugin uses a few key dependencies:

There are two dependencies entirely for building and bundling: