LibraryMan icon indicating copy to clipboard operation
LibraryMan copied to clipboard

feat: implement CSS-variable theme management and dynamic search feed…

Open codeCraft-Ritik opened this issue 10 months ago • 1 comments

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.

codeCraft-Ritik avatar Jan 17 '26 13:01 codeCraft-Ritik

Deploy Preview for library-man failed.

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

netlify avatar Jan 17 '26 13:01 netlify