Task Description
In this homework assignment, you will implement logic for dynamically changing theme of your website. All component styles need to be rewritten using modules styles (if you haven't done so already). Additionally, for the bonus task, you will need to add logic to automatically fetch the theme of your device and store the data in Local storage.
1. Add Layout of Search Bar:
- Integrate the design layout for the search bar as per the provided design specifications.

2. Rewrite All Styles with Module Styles:
- Review and refactor all existing inline and simple import styles across the entire application to adhere to module styles.
3. Implement Dynamic Theme Change Logic:
- Develop functionality to dynamically change the theme of the application upon clicking the designated icons. Ensure that the theme changes are reflected consistently across all components and pages, aligning with the provided design guidelines.

Advance Task Description
(1*)
1. Use user device settings for fetching current theme :
- Implement logic to automatically fetch the theme of the user's device.
2. Add LocalStorage
- When reload the page, we can use theme from
Local storage.
Design
For consistent styling and layout, refer to the Figma design you used in the previous task: React Web Page Design.
Acceptance Criteria for 1
Acceptance Criteria for 1*
Task Description
In this homework assignment, you will implement logic for
dynamically changing themeof your website. All component styles need to berewritten using modules styles(if you haven't done so already). Additionally, for the bonus task, you will need to add logic to automatically fetch thetheme of your deviceand store the data inLocal storage.1. Add Layout of
Search Bar:2. Rewrite All Styles with
Module Styles:3. Implement Dynamic Theme Change Logic:
Advance Task Description
(1*)
1. Use user device settings for fetching current theme :
2. Add
LocalStorageLocal storage.Design
For consistent styling and layout, refer to the Figma design you used in the previous task: React Web Page Design.
Acceptance Criteria for
1Search BarModule Stylesdynamic theme changelogicAcceptance Criteria for
1*user's theme.Local storage.Note: if we have saved theme in
Local storage, we use it first after reloading of the page