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 in the documentation #1784

Open
FrozenHearth opened this issue Dec 30, 2022 · 6 comments
Open

Dark mode in the documentation #1784

FrozenHearth opened this issue Dec 30, 2022 · 6 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@FrozenHearth
Copy link

FrozenHearth commented Dec 30, 2022

Hi, is it possible to have dark mode in the documentation? I see zod.dev documentation being generated from the README.md file, so was wondering. I guess docsify is used? Thanks!

@JacobWeisenburger JacobWeisenburger added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 31, 2022
@Rishabhg71
Copy link

Rishabhg71 commented Jan 11, 2023

I would be happy to do this but I would need a little guidance @JacobWeisenburger

@JacobWeisenburger
Copy link
Collaborator

I have no idea how the zod.dev site works. I'm pretty sure @colinhacks made it, but I could be wrong.

personally, I just use this readme because I have my github set to dark mode.

@rbatsenko
Copy link

I'm happy to help with adding dark mode @RG7279805 if you need any. These white docs just hurt my eyes so much 😄
@colinhacks

@Rishabhg71
Copy link

@rbatsenko i don't have enough info to do this task
haven't got any response yet

colinhacks pushed a commit that referenced this issue Jan 29, 2023
* Add dark theme in docs

* Add button for switch theme

* Uncomment google script

I commented that script for a test and I forgot
to uncomment it

* Clean up design

---------

Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
@denizdogan
Copy link

I believe this can be closed

@cloud-walker
Copy link

The dark mode is indeed here, but it will switch back to light after awhile (in the same browser), dunno why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants