[BUG]: Hardcoded text color in EmptyStateCard breaks light theme readability

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

Maintainer thường phản hồi trong vòng 1 ngày

@Abhishek2005-ard đang làm issue này rồi.

Từ ngày 16/11/2026.

  • #463 của @Abhishek2005-ard — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, react
Lĩnh vực
accessibility, design, frontend

Hướng nghiên cứu

Read src/components/EmptyStateCard.jsx at the reported color style and check how var(--text2) is defined for the light theme. The issue proposes replacing the hardcoded color with that token; verify the description text on the light theme at /repositories or with an invalid search. The issue is already linked to open pull request #463.

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

Mô tả

bug enhancement
Bug Description
Bug Description

In src/components/EmptyStateCard.jsx, the description text color is hardcoded to #D4C58A instead of using the theme design token var(--text2). When switching to the light theme, this muted gold/yellow color provides poor contrast and breaks visual consistency against light backgrounds.

Steps to Reproduce
  1. Open OrgExplorer and switch to Light Theme via the navbar toggle.
  2. Navigate to /repositories or search for an invalid term to trigger EmptyStateCard.
  3. Observe the subtitle/description text color ("No repositories match your search...").
  4. It renders in #D4C58A rather than adapting to the light theme's secondary text color.
Location
  • File: src/components/EmptyStateCard.jsx
  • Line: 64 (color: "#D4C58A")
Proposed Solution

Replace the hardcoded inline style:

- color: "#D4C58A",
+ color: "var(--text2)",
Impact

Low - Minor inconvenience / UI contrast bug

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Steps to Reproduce

No response

Logs and Screenshots

No response

Environment Details

No response

Impact

Critical - Application is unusable

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Ngôn ngữ chính
JavaScript
Star
53
Fork
182
Merge trung bình
18 phút
Pull request đã merge (30 ngày)
2

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 AOSSIE-Org/OrgExplorer

Tất cả issue của AOSSIE-Org/OrgExplorer

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.