fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels - #123
Merged
Conversation
…low colorMode, zinc-400 contrast, aria-labels
Resolves low-contrast text and theming issues in the settings panel and
canvas overlays when running in dark mode:
- settings-panel.css: input fields (#d4d4d8 text), settings-button--active
(#1e3a8a bg for better contrast against #3b82f6 accent)
- SearchDialog: placeholder-zinc-400, kbd hints, tier badge, footer counts,
empty-state text — all lifted from zinc-600 → zinc-400
- ConversationTraceModal: timestamp, arrow separators, truncation ellipsis
— lifted from zinc-600 → zinc-400
- CommunicationOverlay: arrow separator, age label, duration — zinc-600 → zinc-400
- TemplatePalette: dynamic aria-label on toggle button
("Open/Close template palette") for screen-reader clarity
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Apr 15, 2026
Closed
molecule-ai Bot
pushed a commit
that referenced
this pull request
Apr 21, 2026
fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels
This was referenced Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
settings-panel.css—.add-key-form__select/inputand.key-value-field inputnow usecolor: #d4d4d8(zinc-300) instead of#f4f4f5(zinc-100), matching UX spec §3.8 for secondary input text.settings-button--activebackground#1e3a5f→#1e3a8a(blue-900) — better contrast against#3b82f6(blue-500) accentplaceholder-zinc-600→placeholder-zinc-400, ESC/↵ kbd hints, tier badges, footer count, empty-state text lifted tozinc-400(WCAG AA on zinc-950 background)zinc-600→zinc-400zinc-600→zinc-400aria-label={open ? "Close template palette" : "Open template palette"}for screen-reader state announcementWhat was already in remote main (not re-applied)
colorMode="dark"on<ReactFlow>— already present#2563eb— already present--focus-ring: 2px solid #3b82f6— already presentcolor: #3b82f6on.secrets-tab__clear-search— already presentaria-label="Refresh org templates"on refresh button — already presentTest plan
npx vitest run— 390/390 tests pass; 8 pre-existing@testing-library/domfailures unchangednpm run build— clean build, no type errors🤖 Generated with Claude Code