Skip to content

Enhance Navbar UI and Fix Dark Mode Background Layer for Improved Visual Consistency - #316

Open
zaaraf027-glitch wants to merge 2 commits into
janavipandole:mainfrom
zaaraf027-glitch:feat/navbar-redesign-issue-266
Open

Enhance Navbar UI and Fix Dark Mode Background Layer for Improved Visual Consistency#316
zaaraf027-glitch wants to merge 2 commits into
janavipandole:mainfrom
zaaraf027-glitch:feat/navbar-redesign-issue-266

Conversation

@zaaraf027-glitch

Copy link
Copy Markdown

Summary

This Pull Request improves the overall appearance and usability of the navigation bar while preserving all existing functionality.

The update focuses on creating a cleaner, more modern navigation experience and fixing a visual inconsistency that appeared in dark mode.


Changes Made

  • Redesigned the navbar with a modern floating layout.
  • Improved spacing and alignment between the logo, navigation links, and action icons.
  • Enhanced typography for better readability.
  • Added smooth hover and active state animations.
  • Improved icon alignment and interaction effects.
  • Maintained responsive behavior across desktop, tablet, and mobile devices.
  • Preserved all existing navigation routes and functionality.
  • Fixed the dark mode issue where an unwanted dark background layer appeared behind the navigation links.
  • Removed unnecessary background styles from the navigation container and menu items.
  • Ensured navigation links now blend seamlessly with the navbar background.
  • Improved overall visual consistency between light mode and dark mode.
  • Preserved accessibility and semantic HTML structure.
  • Refactored styles where necessary while avoiding breaking changes.

Problem Solved

Previously, the dark mode navbar displayed an extra dark rectangular background behind the navigation links, creating an inconsistent layered appearance.

This issue has been resolved by removing the unnecessary background styling while keeping the floating navbar intact.


Result

The navbar now provides:

  • Cleaner and more premium appearance
  • Consistent UI in both light and dark themes
  • Better spacing and alignment
  • Improved user experience
  • Responsive layout
  • Smooth animations
  • Better maintainability

Testing Performed

  • Tested in Light Mode
  • Tested in Dark Mode
  • Verified Responsive Layout
  • Checked Desktop View
  • Checked Tablet View
  • Checked Mobile View
  • Verified Hover Effects
  • Verified Active Navigation State
  • Confirmed Existing Navigation Routes
  • Confirmed No Console Errors
  • Confirmed Successful Project Build

Checklist

  • Code follows the project's coding standards
  • No breaking changes introduced
  • Existing functionality preserved
  • Responsive design verified
  • Dark mode issue fixed
  • UI consistency improved
  • Accessibility maintained
  • Project builds successfully

Additional Notes

This Pull Request focuses exclusively on UI improvements and the dark mode visual fix. No application logic, routing, or functionality has been modified, ensuring a safe and non-breaking enhancement to the project's navigation experience.

Screenshot

image image

Under ECSoC26

…d theme toggle — closes janavipandole#266

- Replaced legacy dark-glassmorphism navbar with a modern floating
  white pill-shaped container (border-radius: 9999px, height: 72px,
  width: min(95%, 1600px)) centered 22px from the top of the viewport.
- Added premium Apple-inspired soft shadow that deepens on scroll via
  JS .navbar-scrolled class.
- Updated logo to FURNIX. with bold weight-800 type and #F57C00 orange dot.
- Center nav links have 36px gaps, 16px/500 typography, janavipandole#222 color.
- Active & hover links show #F57C00 text + 2px animated orange underline
  placed 8px below text with 300ms cubic-bezier transition.
- Added thin vertical divider (1px, #EAEAEA, 28px height) between nav
  links and right-side action icons.
- Right icon row: Filter, Search, User, Wishlist, Cart with 1.08x scale
  and #F57C00 color on hover, circular orange cart badge.
- Dark mode: navbar pill uses elevated #1E212A surface with translucent
  border and deep drop shadow for equivalent contrast to light mode.
- Removed extra dark background layer behind desktop nav links in dark
  mode by scoping [data-theme=dark] .navList to max-width: 899px only.
- Ported React ThemeSwitch component (Sun/Moon) to vanilla JS/CSS:
  inline SVGs with cubic-bezier(0.34,1.56,0.64,1) spring animation,
  reads/writes localStorage theme, sets data-theme on html element.
- Responsive: mobile drawer (max-width: 899px) slides in from right
  with ESC key support.
- Full ARIA labels, aria-current, aria-hidden, aria-pressed, and
  keyboard focus rings applied across all pages.
- Standardised header markup across all HTML pages.
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the janavipandole's projects Team on Vercel.

A member of the Team first needs to authorize it.

@zaaraf027-glitch

Copy link
Copy Markdown
Author

@janavipandole I resolve the conflicts kindly merge it .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants