Need a light theme equivalent of `yellow40`
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- accessibility, design
調査の方向性
まず、既存の色定義 yellow40、yellow70、yellow80 と、テーマまたは色に関するテストを探します。パレットが定義されている場所に提案された yellow75 の値(#7b5e2c)を追加し、その後、ライトテーマの背景全体で、列挙されている WCAG AA のコントラスト比を満たしていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
We use yellow40 (#ffc300) as the primary yellow color. While it works well as a background color, it is too bright to use as text in the light theme and does not provide sufficient contrast against light backgrounds.
yellow70 (#8a6d3b) is a potential candidate, but it falls just short of the minimum WCAG AA contrast requirement against the secondary and tertiary backgrounds. yellow80 (#66512c) meets the contrast requirement, but it leans too far toward brown.
I experimented with a few intermediate shades and found that #7b5e2c could be a good candidate. It sits right on the border where gold begins to look brown, and meets the contrast requirement across all light theme background levels. It could be introduced as yellow75.
primary bg (#ffffff) |
secondary bg (#f5f6f7) |
tertiary bg (#dfdfe2) |
|
|---|---|---|---|
yellow70 (#8a6d3b) |
✅ 4.84:1 | ❌ 4.48:1 | ❌ 3.64:1 |
yellow75 (#7b5e2c) |
✅ 6.03:1 | ✅ 5.57:1 | ✅ 4.53:1 |
yellow80 (#66512c) |
✅ 7.55:1 | ✅ 6.98:1 | ✅ 5.68:1 |
- 主要言語
- TypeScript
- スター
- 75
- フォーク
- 37
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
freeCodeCamp/ui のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
freeCodeCamp/ui#778 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
freeCodeCamp/ui#757 · コメント 1 件 ·
-
release: major status: blocked
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
freeCodeCamp/ui#511 ·
-
release: major status: blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
freeCodeCamp/ui#83 ·
-
Dependency Dashboardオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
freeCodeCamp/ui#42 ·
freeCodeCamp/ui の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openedx/frontend-app-authoring#3274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area/documentation status/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
google-gemini/gemini-cli#29548 ·
メンテナーはふだん 1 日以内に返信
-
sdk-typescript vector-store
難易度 2/5 半日 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信