Skip to content

Edit logged food: dark bg on macro edit inputs (white-on-white fix) - #16

Merged
KrishP147 merged 2 commits into
mainfrom
krish/fix-edit-input-contrast
Sep 24, 2026
Merged

KrishP147 merged 2 commits into
mainfrom
krish/fix-edit-input-contrast

Conversation

@KrishP147

Copy link
Copy Markdown
Owner

Fixes #3

The 10 number inputs in MealList edit grids had text-white with no background, so browser-default white bg made values invisible. Adds the shared colors.inputBg/inputBorder classes and color-scheme: dark on body. New MealList.test.jsx asserts every spinbutton in manual-edit mode carries bg-black (fails on base, passes on branch).

🤖 Generated with Claude Code

KrishP147 and others added 2 commits September 23, 2026 22:01
10 number inputs in MealList edit grids had white text w/ no bg -> invisible. add colors.inputBg/inputBorder. also set color-scheme:dark on body so native spinners/UA styles match.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
new test drives Edit -> Edit Manually then asserts all 5 spinbuttons have bg-black + border-[#1a1a1a].

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 24, 2026 02:37

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nutrisync-frontend Ready Ready Preview Sep 24, 2026 2:37am UTC

@codecov

codecov Bot commented Sep 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@KrishP147
KrishP147 merged commit 09bbb88 into main Sep 24, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 68fd3b77 Deployed Sep 24, 2026 by vercel[bot]
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.

Edit logged food: macro inputs render white text on white background

2 participants