`verify` colors check: diff against `tokens` output, not just a grep

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, react, tailwindcss

調査の方向性

Read the components-skill verify implementation and the extractTokens() entry point, then inspect the existing tests for hex literals and default-palette classes. Compare detected hex values with the extracted project token values and cover both matching and unmatched colors in tests. Done when token-matching hex values are reported as "use the token instead" and unmatched demo colors remain flagged.

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

説明

cli enhancement help wanted

components-skill verify flags hex literals and default-palette classes (#65). It cannot tell a hex that matches the project's --primary from one left over from the demo, which is why verify-ignore exists.

#65 named the real version: read the project's tokens with extractTokens() and report literals that do not map onto any of them.

Done when: a hex equal to a project token value is reported as "use the token instead" rather than as a stray demo color, and a test covers both cases.

主要言語
JavaScript
スター
17
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

CreativesLibrary/Components のほかの issue

CreativesLibrary/Components の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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