Added dark mode button and dark mode theme to all necessary elements#62
Added dark mode button and dark mode theme to all necessary elements#62Polyzosk wants to merge 1 commit intoSafdarJamal:masterfrom
Conversation
|
Hi @Polyzosk Thank you for your efforts in adding Dark Mode support! The implementation looks great, and the transitions between Light and Dark modes work seamlessly. I appreciate the work you've put into updating the styling for major components. During testing, I noticed a few issues that need adjustments before we merge the PR:
Once these are addressed, we should be good to go! Let me know if you need any clarification. |



Description:
This pull request introduces full support for a Dark Mode theme, along with several UI improvements for better user experience and consistency. Below is a summary of the changes:
Key Features:
Dark Mode Toggle:
Added a Dark Mode toggle button in the header for users to switch between Light and Dark modes seamlessly.
Dark Mode Styling:
Updated the styling of all major components to support Dark Mode:
Headers and Titles: Now adapt to Dark Mode with white text for better visibility.
Countdown Timer: Adjusted text color to ensure clear visibility in both Light and Dark modes.
Drop-down Menus: Fixed colors for both options and hovered items to match the active mode.
QNA Tables: Styled tables with appropriate background, text, and hover effects for Dark Mode.
Improved Consistency:
Ensured consistent colors for all UI elements, including buttons, borders, and hover states.
Performance:
Implemented smooth transitions for color changes between modes, ensuring a polished user experience.
Technical Details:




Modified the following components to enable Dark Mode:
App/index.js
Countdown/index.js
Header/index.js
Main/index.js
QNA.js
index.css
Utilized CSS transitions for smooth color changes and ensured compatibility with the Semantic UI framework.
Testing:
Manually tested in both Light and Dark modes to ensure:
Proper color contrast and readability.
Functional toggle behavior without breaking other features.
Consistent appearance across all major components.