Skip to content

fix(bots): improve citation contrast in sent messages - #1279

Merged
nixuuu merged 2 commits into
devfrom
fix/dark-mode-citations-contrast
Nov 25, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/dark-mode-citations-contrast

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 25, 2026

Copy link
Copy Markdown
Member

Change

Citation labels, icons, and focus outlines in sent bot messages now use the bubble's text color. This makes citations readable on the light outgoing bubble in dark mode. The citation background uses a subtle tint of that text color.

Verification

  • Checked the bot chat component in Chromium with fixture messages. The default dark palette improved from 1.29:1 to 10.28:1. Across all seven palettes, the minimum was 9.25:1 in dark mode and 10.88:1 in light mode.
  • Verified keyboard focus and the full citation preview, and checked that four citations fit inside the bubble at a 390 px viewport.
  • Ran scoped formatting, lint on the edited TypeScript file, and git diff --check. Full verification is left to CI.

Fixes: #591

@nixuuu
nixuuu enabled auto-merge (squash) November 25, 2026 20:38
@nixuuu
nixuuu merged commit 486d8cc into dev Nov 25, 2026
20 checks passed
@nixuuu
nixuuu deleted the fix/dark-mode-citations-contrast branch November 25, 2026 20:51
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.

1 participant