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

Offen
#95 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
72/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, react, tailwindcss

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
JavaScript
Sterne
17
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CreativesLibrary/Components

Alle Issues in CreativesLibrary/Components

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.