mapbox / mapbox/pixelmatch

Allow diffMaskColor as an option

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
7k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

If `diffMask` is `true` it should allow to pick a color for the `diffMask`, similarly to `diffColor`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the option handling for diffMask and diffColor in the pixelmatch codebase, then compare how their colors are selected. The work is done when diffMask accepts a separate configurable color, similarly to diffColor, with the corresponding behavior covered by the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.