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

Aberta
#71 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DeadantCo/answerLoopsdev

Todas as issues de DeadantCo/answerLoopsdev

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.