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

added feature to switch to dark/light mode based on user's preferred mode #32

Closed
wants to merge 1 commit into from

Conversation

shee35
Copy link

@shee35 shee35 commented Oct 11, 2020

#23
the webpage currently looks like :

light mode:
Screenshot (135)

dark mode:
Screenshot (134)

Feel free to suggest changes , if any.
:)

@mmaismma
Copy link
Member

The issue stated that Cub's Contraption already has a dark mode. You were not meant to add that feature to the webpage. Plus if you read the contributing guidelines (which you always should) you would've known that all changes should be committed in the beta files.

You can toggle dark mode by typing invert on the webpage (just like you activate cheats in many games). On typing invert the function darken() toggles dark in body.classList. I updated the issue with more details on fixing the issue, check it out for more info.

@mmaismma mmaismma closed this Oct 11, 2020
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