-
-
Notifications
You must be signed in to change notification settings - Fork 273
feat: added Dark theme to the website #365
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
Conversation
Hi @praveen-rikhari, I hope you're still actively working on the issue. If possible, could you try to expedite the process a bit? We're encountering merge conflicts from various source. |
@utnim2 great job so far here! Looks great. Now is time to Praveen to continue the great work done. |
Hi @utnim2 . May I what else is to be done in the feature? |
You can complete the docs page and implementations page and one suggestion please prioritize it as it covers to touch the whole codebase of the website it will create more merge conflict as more as we delay it |
Understood, I'll update my progress |
@utnim2 only adding the dark theme is the task right? |
Yes @jayprakash25 |
Hi @utnim2 . The dark theme for docs is done. |
Should I directly send pr to the main repo? |
Hey @jayprakash25 please refer to this guide |
I cannot push, as it says permisiion denied. |
I have sent you permission please accept it and then you can push the changes |
Yes, I pushed the changes for the docs page. Apologies for the delay, I'll push remaining pages as soon as possible @utnim2. I'm starting with the implementations page now |
Hey @jayprakash25 implementations page is half done already.You can pull the changes from the branch and start working on the rest part Thanks |
@utnim2 will this commits be acknowledged as colloborative contributions? |
A big big yes |
tagging @benjagm |
nice going @jayprakash25 |
@utnim2 @jayprakash25 Can I contribute to this task yet? |
@kx412764776 this issue is near to completion. You can look at some other issue Thanks ! |
are you doing the search icon |
I was hoping u could take on the search icon.. |
i guess you have edited the message |
I meant I have done sidebar icons not the search one.... |
cool i am doing it |
Yep, Thank u |
Done with the search icon? |
@utnim2 any updates yet |
Hi @utnim2, I hadn't heard back regarding the search icon, so I went ahead and made the necessary changes. I hope that's okay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking really amazing!!
Just found some small things but I decided to record a video to better explain what is pending.
Let's go! We are almost there!
See comments in the code and this video (with audio):
https://github.com/json-schema-org/website/assets/40007659/293005b7-0ead-49fd-8b35-06c95dd6c790
@@ -32,7 +32,7 @@ module.exports = { | |||
|
|||
'react/jsx-curly-spacing': ['error', { when: 'never', children: true }], | |||
indent: ['error', 2, { SwitchCase: 1 }], | |||
'linebreak-style': ['error', 'windows'], | |||
'linebreak-style': ['error', 'unix'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I ask what is this change doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I adjust eslint.js line endings to CRLF for local development on Windows to prevent linting errors. Before pushing, I revert them to LF to maintain consistency with our project's Unix line endings.
@@ -138,6 +136,8 @@ const MainNavigation = () => { | |||
const section = useContext(SectionContext); | |||
const showMobileNav = useStore((s: any) => s.overlayNavigation === 'docs'); | |||
|
|||
const { theme } = useTheme(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure light is the default theme when accessing for the first time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
@utnim2 Taking on those issues now, informing to prevent overlap. Could use your help with any merge conflicts later. |
@utnim2 we have merge conflicts. Can you take care of resolving them? Let me know. |
as you have done this changes you can proceed with resolving the conflicts @jayprakash25 |
@utnim2 @benjagm everything is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @benjagm . Is there any other issue I could help with? |
@benjagm Although I didn't submit(pr) it, I contributed to the work. Can I include this contribution in my proposal? |
Absolutely yes!!! |
* Fix: Dark theme footer style (#529) * fix: dark theme footer section styling & coloring * fixed the footer space issue in specification and docs page * handled the overflow issue while opening search bar (#544) * Fix: Getting back the lost changes from PR #365 (#537) * getting back the lost changes * search box fix * Bug: Sponsor logos are not optimized for dark mode (#532) * add gradient to show spons logo * fix prettier * fix * Update index.page.tsx * remove stoplight and retool * Update index.page.tsx * add dark mode images * fix * Fix tabs * Fix theme toggle * Fix and merge dark theme There was a problem with this PR: #544 Now everything works. * . * . --------- Co-authored-by: Sahil Shadwal <[email protected]> Co-authored-by: Aditya Sharma <[email protected]> Co-authored-by: Dhairya Majmudar <[email protected]> Co-authored-by: SATYAM KUMAR <[email protected]>
Resolves #130
Summary:
Added dark mode to the website completed the home page
https://www.loom.com/share/9f704d494b8146d4a795d2bfaec64c71
Todo
Docs page
Blog Page
Implementation Page