Skip to content

feat(prompts): draw the Similar Topics bars in gray - #1246

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/similar-topics-gray-bars
Oct 20, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/similar-topics-gray-bars

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

The Similar Topics card on the Prompts page's Insights view (/dashboard/prompts/insights) drew its bars in bg-indigo-500. It was one of the last violet-blue accents left after #1217, #1220 and #1221 moved the charts and badges to the brand's colors.

The bars now use bg-foreground/60, the gray the Mentions "Prompts with mentions" bar and the Insights platform table already use. That is dark gray on light and light gray on dark, so no new color is added. The track stays bg-muted.

One line in SimilarTopicsList (web/src/app/[locale]/(dashboard)/dashboard/prompts/page.tsx). No other indigo or violet is left on the Prompts page or on /dashboard/prompts/similar-topics.

Related issue

None. Requested by the product owner.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Open Prompts › Insights (/dashboard/prompts/insights) on a brand with keyword volumes.
  2. The Similar Topics card's bars are gray instead of indigo.
  3. Switch to the dark theme: the bars are light gray and still read against the track.

I checked it in light and dark mode, at 1440 and 1024 px.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

yarn test (1791) and yarn build pass too.

🤖 Generated with Claude Code

The Similar Topics card on the Prompts page's Insights view drew its
bars in indigo, one of the last violet-blue accents after ansvisor#1217, ansvisor#1220
and ansvisor#1221 moved the charts and badges to the brand's colors. They now
use bg-foreground/60, the gray the Mentions and Insights share bars
already use: dark gray on light, light gray on dark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk a one-line color change: the Similar Topics bars on Prompts › Insights move from indigo to bg-foreground/60, the gray the Mentions and Insights share bars already use, following #1217/#1220/#1221. Checked in both themes at 1440 and 1024 px; web checks, tests and build pass.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The bars now take the foreground tone, so they read in both themes.

@gkhngyk
gkhngyk merged commit 090c107 into ansvisor:main Oct 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants