-
Notifications
You must be signed in to change notification settings - Fork 942
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
Syncing dark mode between planet page and main page #4321
base: master
Are you sure you want to change the base?
Conversation
moving script for dark mode to Planet.js
@walterbender @pikurasa review this and request if any further changes are required in this. |
@omsuneri toggling dark mode on the main page only changes the background of the planet page it does not actually turn it to dark mode but this change does make sense i guess it got over looked before good work |
@justin212407 yaa that's resolved by these changes look on the after video |
I did look, good work man |
Thanks bro !! 😊 |
It looks nice. I did a few tests, and sometimes I am experiencing peculiar results when toggling darkmode off. For example:
|
Yaa it's true @pikurasa cause this is happening priorly before my changes as the dark mode button was intended to function like that in the css I ll make it correct in the new pr |
@omsuneri I put a code line to change only the background of the planet page. If the planet theme is independent of it, please remove it. This should solve the issue. |
@Commanderk3 okay i ll be removing in thsi PR itself |
Making the Dark mode works well in Planet
@walterbender @pikurasa the Error you are facing is resolved in this a03b990 please review it again and requesst if any further changes are required |
Yeah it was definitely because there was a background priorly added and it probably got overlooked in my pr. I am Om had the same discussion on this priorly. |
Earlier the Dark mode of the main page is not synced with the planet page dark mode after these changes
the dark mode of the planet is automatically tiggered when there is change in the theme of the main page therfore creating a sync of theme between two different pages.
before:
screen-recording-2025-01-29-at-121436-pm_fsCyYN7p.mp4
after :
screen-recording-2025-01-29-at-115030-am_i57AAaLA.mp4