Skip to content

Conversation

@codeCraft-Ritik
Copy link

This PR introduces several meaningful improvements to the project's architecture and user interface:

Centralized Theme Management: Refactored the dark mode logic to use CSS variables and class-based styling within src/assets/styles/App.css. This replaces manual DOM manipulation in src/App.jsx, ensuring a smoother transition and consistent state across all pages.

Bug Fix (Syntax Error): Fixed a typo in src/pages/Login.jsx where the section tag used {$mode} instead of ${mode}, which prevented the theme from applying correctly to the login container.

Dynamic Search Feedback: Added a status header in src/pages/Books.jsx that provides real-time feedback to the user (e.g., "Searching for..." or "Result found") based on the isLoading and searchResult states from the Global Context.

UI Polish: Implemented smooth transitions for theme switching and improved the visual hierarchy of the search page.

@netlify
Copy link

netlify bot commented Jan 17, 2026

Deploy Preview for library-man failed.

Name Link
🔨 Latest commit 6b46e4c
🔍 Latest deploy log https://app.netlify.com/projects/library-man/deploys/696b8f7136773f0008c28057

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.

1 participant