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

Đang mở
#95 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react, tailwindcss

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
17
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CreativesLibrary/Components

Tất cả issue của CreativesLibrary/Components

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.