Widget customization: brand color with automatically readable text (Pro)

Đang mở
#71 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
accessibility, design, frontend

Hướng nghiên cứu

Read CONTRIBUTING.md first, then find the Widget appearance page that issue #347 introduces, since this work builds on it and the payload does not name its files. Check whether #347 is merged before starting. Done means a Pro user's chosen color is applied to the header, bubble, visitor messages, send button and answer cards, text contrast is picked automatically and covered by tests for light, dark and mid-tone colors, and invalid values are rejected with a message.

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

Mô tả

backend enhancement frontend help wanted

Copied from DeadantCo/answerLoops#61 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/348 — originally opened by @NathanTarbert on 2026-10-08

The problem today

The widget is always the answerLoops blue. A business wants it to match its own brand and style.

What to build

A brand color control on the Widget appearance page (#347). The chosen color is used for the header, the chat bubble, the visitor's message bubbles, the send button and the answer cards.

  • The text on top of the color is chosen automatically (white or dark) so it is always readable. An owner can't create unreadable text.
  • The color value is checked and cleaned before it is used anywhere.
  • Pro and above only; reset returns to the default.

Done when

  • A Pro or above picks a color and the live widget uses it everywhere listed above
  • Very light, very dark and mid-tone colors all keep readable text (covered by tests)
  • Invalid color values are rejected with a clear message
  • The bubble color from #345 now follows this setting
  • Looks right at 375 pixels wide

Depends on

  • #347 (the page and where settings are saved)

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
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 DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

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.