fix: update crop monitoring navbar color for light mode visibility#1642
Merged
omroy07 merged 1 commit intoomroy07:mainfrom Feb 24, 2026
Merged
fix: update crop monitoring navbar color for light mode visibility#1642omroy07 merged 1 commit intoomroy07:mainfrom
omroy07 merged 1 commit intoomroy07:mainfrom
Conversation
|
@Sunidhi037 is attempting to deploy a commit to the Om Roy's projects Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for creating a PR for your Issue!
|
Contributor
Author
|
@omroy07 please put the label of SWoC26 and difficulty label too. |
|
🎉 Congrats @Sunidhi037 on getting your PR merged! 🙌 |
SatyamPandey-07
added a commit
to SatyamPandey-07/AgriTech
that referenced
this pull request
Feb 25, 2026
SatyamPandey-07
added a commit
to SatyamPandey-07/AgriTech
that referenced
this pull request
Feb 25, 2026
omroy07
added a commit
that referenced
this pull request
Feb 27, 2026
…escrow-1642 feat: Carbon Trading Escrow System #1642
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.
Which issue does this PR close?
This PR resolves a UI inconsistency on the Smart Crop Monitoring page (crop.html) where the navigation bar remained black/dark even after the user toggled the platform to Light Mode.
Key Enhancements:
Dynamic Surface Colors: Implemented a CSS override for the [data-theme="light"] attribute, forcing the navbar background to a semi-transparent white (rgba(255, 255, 255, 0.9)).
Accessibility Restoration: Corrected text and navigation link colors to deep charcoal (#1e293b) to ensure a high contrast ratio against the new light background.
Visual Polish: Maintained the glassmorphism depth with a 10px backdrop blur and a refined 1px border that adapts to the active theme.
Zero-Crash Integration: The change is purely CSS-driven, ensuring no interference with the existing monitoring logic or Three.js background animations.
BEFORE:

AFTER:
