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

オープン
#71 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DeadantCo/answerLoopsdev のほかの issue

DeadantCo/answerLoopsdev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。