Skip to content

fix: dark mode text contrast in Acceptance Criteria section - #167

Merged
munkyukim86 merged 2 commits into
mainfrom
fix/acceptance-criteria-dark-mode
Jul 24, 2026
Merged

fix: dark mode text contrast in Acceptance Criteria section#167
munkyukim86 merged 2 commits into
mainfrom
fix/acceptance-criteria-dark-mode

Conversation

@munkyukim86

Copy link
Copy Markdown
Contributor

Summary

  • The "Acceptance Criteria" section (labels, selects, divider) on the CDS design review page had no dark: Tailwind variants, so text rendered in light-mode colors and was unreadable against the dark theme background.
  • Reproduced live on factorforge.eijex.com in dark mode; fixed by adding matching dark:text-* / dark:bg-* / dark:border-* classes consistent with the rest of the page.

Scope note

  • This PR only touches the reported contrast bug in this one section. A few other dividers earlier on the page (border-t border-slate-100 at lines ~350/360/390) have the same missing-dark: pattern but were not in scope for this fix — flagging for a possible follow-up pass.

Test plan

  • Load the page with OS/browser dark mode enabled, expand "Acceptance Criteria", confirm labels and select text are readable
  • Confirm light mode is unaffected

🤖 Generated with Claude Code

…x.html)

Labels, select boxes, and the section divider under "Acceptance Criteria"
had no dark: variant classes, so text rendered in default (light-mode)
colors and became unreadable against the dark background. Live site
reproduced this in dark mode.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
factorforge-cds Ready Ready Preview, Comment Jul 24, 2026 2:55am

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ed59e75245

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/index.html
<details class="mb-8 border-t border-slate-100 pt-6" open>
<summary class="cursor-pointer text-[10px] font-extrabold text-slate-600 uppercase tracking-widest">Acceptance Criteria</summary>
<p class="text-[11px] text-slate-500 mt-2 mb-3">Required failures produce FAIL; preferred warnings produce CONDITIONAL PASS.</p>
<details class="mb-8 border-t border-slate-100 dark:border-slate-800 pt-6" open>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update the required public surfaces

Because this is a Web UI bug fix, the repo checklist requires updating the public-facing files for both bug fixes and Web UI changes; this commit only changes web/index.html, so CHANGELOG.md and web/README.md will omit the shipped contrast fix. Please add the required public-surface updates before landing.

AGENTS.md reference: AGENTS.md:L129-L138

Useful? React with 👍 / 👎.

Feasibility Best / GC Target / High CAI rows showed a bare name with no
explanation of what each candidate strategy actually does. Reuses the
existing descriptions already shown on the profile-selection cards
(Optimization Settings) via the same tooltip-container/info-icon pattern,
keyed by candidate.id so it works regardless of label text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@munkyukim86
munkyukim86 merged commit 6301b02 into main Jul 24, 2026
12 checks passed
@munkyukim86
munkyukim86 deleted the fix/acceptance-criteria-dark-mode branch July 24, 2026 03:02
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