Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

refactor: consolidate duplicate CSS design token namespaces

Đang mở
#6 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
52/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
css
Lĩnh vực
frontend

Hướng nghiên cứu

Start in apps/app/src/app/globals.css and search the components that use --text-primary, --color-text-primary, --border-default, --color-border, --surface-primary, and --color-container. Choose one namespace convention or an alias approach, then verify that the duplicate namespaces are no longer used independently and that all usages follow the chosen convention.

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

Mô tả

enhancement

Description

Severity: P2 — Consistency

In apps/app/src/app/globals.css, there are duplicate design token namespaces:

  • `--text-primary` vs `--color-text-primary`
  • `--border-default` vs `--color-border`
  • `--surface-primary` vs `--color-container`

Both sets are used across different components.

Failure mode

Confusion about which token to use; risk of visual inconsistency when one set is updated but not the other.

Suggested fix

Consolidate to a single namespace. Either alias one to the other or migrate all usages to one convention.

From self-review finding F08

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 CopilotKit/OpenGenerativeUI

Tất cả issue của CopilotKit/OpenGenerativeUI

Issue tương tự

Thêm issue về TypeScript

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.