color-js / color-js/elements

[gamut-badge] Use `Object` prop for `gamuts`

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
30
Forks
4
PR merge metrics
No merged PRs in 30d

Description

`` accepts its list of gamuts as either a list of ids, or a list of ids with optional labels, like `"srgb, p3, rec2020: P3+, prophoto: PP"`. That’s *exactly* what `Object` props do. When this was written, we didn't have these yet, but now that we do, we should use them, instead of doing it ad hoc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.