Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Need a light theme equivalent of `yellow40`

オープン
#782 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

まず、既存の色定義 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 はありません

環境構築

はじめの一歩

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

freeCodeCamp/ui のほかの issue

freeCodeCamp/ui の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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