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

Adding functionality to choose light theme as default or not #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YashashGaurav
Copy link

They say the best way to make a product is to look into your own life and see if that makes a difference. If it does build it. With this PR I hope I make Fruition a little better for everyone.

I had been looking for a way to show my fruition page show up in dark mode by default. So I went ahead and changed the onLight() call to onDark() call in the addDarkModeButton() function in the BodyRewriter class. Then I saw posts on Reddit and Issues that were trying to solve the same problem (#159). So I went ahead and made some changes as suggested.

I hope this helps :)

One again thank you for Fruition!

@vercel
Copy link

vercel bot commented Dec 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

csb-vydqj – ./

🔍 Inspect: https://vercel.com/stephenou/csb-vydqj/BuBDhp966b56i9CkqiJTz6BhHsof
✅ Preview: https://csb-vydqj-git-fork-yashashgaurav-master-stephenou.vercel.app

fruition – ./

🔍 Inspect: https://vercel.com/stephenou/fruition/FrGgjsNg562MXDrN8yuJdqJwJNes
✅ Preview: https://fruition-git-fork-yashashgaurav-master-stephenou.vercel.app

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.

1 participant