Fix browser autofill overriding input background in dark theme - #1673
Fix browser autofill overriding input background in dark theme#1673YasiruDEX wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe web UI stylesheet reformats reset selectors and adds theme-aware browser autofill styling. Autofilled inputs, textareas, and selects now use themed surfaces, text, caret colors, delayed background transitions, and inherited typography. ChangesBrowser autofill styling
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change is localized to autofill styling, and no actionable merge-blocking risk remains at the current head; it is merge-ready after normal review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Purpose
Autofilled inputs render with the browser's blue background and dark text instead of the theme surface.
Resolves #1616
Goals
Autofilled fields match the surrounding input styling in both dark and light themes.
Approach
Browsers force their own default background color on autofilled fields and ignore standard styling rules. Fixed this in index.css by covering the input with a matching shadow layer so it seamlessly keeps the dark theme's background and text colors.
Screen.Recording.2026-08-19.at.15.23.19.mov
Screen.Recording.2026-08-19.at.15.28.48.mov
User stories
As a user filling the Agent Creation form, I want autofilled fields to look like the rest of the form.
Release note
Fixed browser autofill applying a light background to input fields in dark theme.
Documentation
N/A
Training
N/A
Certification
N/A
Marketing
N/A
Automation tests
Security checks
Samples
N/A
Related PRs
None
Migrations (if applicable)
N/A
Test environment
dev build
Learning
N/A
Summary by CodeRabbit