Skip to content

Fix: Light Mode Styling Not Applying on FAQ Page#1001

Merged
Renu-code123 merged 2 commits intoRenu-code123:mainfrom
Eshajha19:faq-dark
Mar 5, 2026
Merged

Fix: Light Mode Styling Not Applying on FAQ Page#1001
Renu-code123 merged 2 commits intoRenu-code123:mainfrom
Eshajha19:faq-dark

Conversation

@Eshajha19
Copy link
Contributor

Fix: Light Mode Styling Not Applying on FAQ Page

Overview

This PR fixes an issue where enabling Light Mode on the FAQ page only changed the toggle button but did not update the page background and overall theme.

Problem

The theme toggle correctly switched the icon.

However, the page background and text colors remained in dark mode.

This happened because global elements like body, navbar, and footer did not have proper light-theme overrides.

Changes Made

Added global light mode styles for key layout components:

body

.navbar

.footer

.nav-link

.category-btn

.faq-item

Ensured the background switches to white and text colors adjust accordingly when data-theme="light" is applied.

Improved visual consistency between dark and light themes.

Result

Light mode now properly updates:

Page background

Navigation bar

FAQ items

Category buttons

Footer

Theme toggle works as expected across the page.

Impact

Fixes UI inconsistency

Improves accessibility and readability

Maintains the existing layout and styling structure

This PR closes issue #997

Screen.Recording.2026-03-05.132340.mp4

@vercel
Copy link

vercel bot commented Mar 5, 2026

@Eshajha19 is attempting to deploy a commit to the Renu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🎉 Thanks for the PR, @Eshajha19!

We really appreciate you taking the time to contribute to ExpenseFlow! 💙


⭐ Love this project?

Please give us a star! It helps the project grow and reach more developers! 🌟

🔗 https://github.com/Renu-code123/ExpenseFlow


✅ PR Checklist

Before we review, please ensure:

  • Your code follows the project's coding standards
  • All file changes are accurate and intentional
  • You've tested your changes locally
  • Any review comments have been addressed

🙌 Thank You for Contributing!

We truly appreciate your interest in contributing to this project.

  • Please make sure your code follows the project structure
  • Add clear commit messages and comments where necessary
  • Ensure your changes do not break existing functionality

We'll review your PR as soon as possible. Keep up the great work! ✨


@vercel
Copy link

vercel bot commented Mar 5, 2026

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

Project Deployment Actions Updated (UTC)
expenseflow Ready Ready Preview, Comment Mar 5, 2026 2:59pm

@Renu-code123 Renu-code123 merged commit 594fe2e into Renu-code123:main Mar 5, 2026
4 checks passed
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