Support for perceptual color spaces (React Aria)

オープン
#10,827 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
react, typescript
領域
design, frontend

調査の方向性

Start by reviewing the React Aria color-related components and the linked color picker references. The issue raises open design questions about gamut limits, preserving chroma or lightness when hue changes, and mapping perceptual color spaces to area pickers; first agree on the API and behavior with the maintainers. Done means a shared design for supporting spaces such as oklab and oklch.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Hey folks, I'm working on a design application and I'm planning on working on UI based on the React Aria color-related components that would add support for color spaces like oklab, oklch.

Image

It's a gnarly problem space, some problems I've been thinking about:

  • Area pickers need to signal out of bounds color selection that your monitor doesn't support.
  • Do you want to maintain chroma or lightness when changing hue? How do you choose which one?
  • How do we map the color space to a rectangle for area picking?
Image

I'm not an expert in the field, but I wanted to signal my intent here in case anyone is working on something similar. Ideally I would love for us to collaborate and come up with a great API we can all use for our color pickers.

Some references I'm reading to brush up:

主要言語
TypeScript
スター
16k
フォーク
1.6k
平均マージ
3日 9時間
マージ済み PR(30日)
45

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adobe/react-spectrum のほかの issue

adobe/react-spectrum の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。