Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode feature added #524

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

alankritgupta091099
Copy link

@alankritgupta091099 alankritgupta091099 commented Feb 29, 2020

Functionality added #276

Changes in Redux Store

  • Added initial state dark as false in authreducer.js
  • Created DARK_MODE action in actionTypes.js
  • Created function of toggleDarkMode in authActions.js

Other Changes

  • Created a class darkmode
  • Added a toggle button in navbar
  • Created an onChange event that toggles the redux state

Screenshot from 2020-02-29 20-45-30

Screenshot from 2020-02-29 20-45-32

Copy link
Collaborator

@Anmolbansal1 Anmolbansal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly squash all commits in one and also check for codacy errors.

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.

2 participants