Skip to main content
100%

Add a Color layer on top

✓ Published0🌍 Public
KKevinGutowski
Last edited Mar 5, 2020
Created on Mar 5, 2020

A Sketch plugin script adds a full-artboard color overlay to visually inspect design contrast. It targets either a selected artboard or a layer within one, then creates a locked `ShapePath` named "Greyscale Layer" with a white fill and `Style.BlendingMode.Color`. The script uses `sketch` APIs like `getSelectedDocument`, `Rectangle`, and `ShapePath` to construct the overlay. If a greyscale layer already exists on the artboard, the script removes it before adding a fresh one.

AI-generated description

Similar vizzes