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

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.