Skip to content

Fix unreadable edit pane in job agent resume editor#250

Merged
roadlittledawn merged 3 commits into
developfrom
copilot/fix-unreadable-color-theme
Apr 24, 2026
Merged

Fix unreadable edit pane in job agent resume editor#250
roadlittledawn merged 3 commits into
developfrom
copilot/fix-unreadable-color-theme

Conversation

Copilot AI commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

The resume editor's edit pane rendered near-white text (text-text-primary = #E6E8E9) on a white/transparent background because bg-dark-surface was used throughout — a class that doesn't exist in tailwind.config.mjs, causing Tailwind to emit nothing and the background to fall back to white.

Changes

  • ResumeGenerator.tsx — Replace all 5 occurrences of the undefined bg-dark-surface with bg-dark-card (#24393D), the correct dark card background from the theme:
    • Edit textarea and its wrapper div
    • Active state highlight on Edit/Preview tabs
    • AI Refinement panel body (bg-) and toggle hover state (hover:bg-)
// Before — bg-dark-surface not in tailwind.config.mjs → no background applied
<textarea className="... bg-dark-surface text-text-primary ..." />

// After — bg-dark-card (#24393D) provides strong contrast with near-white text
<textarea className="... bg-dark-card text-text-primary ..." />

…fined bg-dark-surface with bg-dark-card

Agent-Logs-Url: https://github.com/roadlittledawn/portfolio-site/sessions/7d6b642a-b9ba-465f-800d-7c42cf1f65b6

Co-authored-by: roadlittledawn <2952843+roadlittledawn@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix unreadable color theme in job agent resume editor Fix unreadable edit pane in job agent resume editor Apr 24, 2026
Copilot AI requested a review from roadlittledawn April 24, 2026 04:39
- Replace plain textarea with react-simple-code-editor + prismjs
- Add custom Prism theme matching site's accent color palette
- Use darker bg-dark-layer (#151D1E) instead of bg-dark-card for better contrast
- Syntax highlights headers, bold, italic, links, code blocks, lists

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@roadlittledawn roadlittledawn marked this pull request as ready for review April 24, 2026 18:50
@roadlittledawn roadlittledawn merged commit 84c37ae into develop Apr 24, 2026
1 check passed
@roadlittledawn roadlittledawn deleted the copilot/fix-unreadable-color-theme branch April 24, 2026 18: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.

Fix unreadable color theme in job agent resume editor (contrast issue)

2 participants