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 for DOCS. #771

Open
timscodebase opened this issue Jul 13, 2024 · 1 comment
Open

Dark Mode for DOCS. #771

timscodebase opened this issue Jul 13, 2024 · 1 comment

Comments

@timscodebase
Copy link

Feature Request

  • Is your feature request related to a problem? Please describe clearly and concisely what is it.

I have mental heath problems that make Black on White color schemes physically painfully. I would be happy to looking into doin it myself. I feel strongly that all site should have a dark mode opption

  • Describe the feature you would like, optionally illustrated by examples, and how it will solve the above problem.

Dark mode on site and docs

  • Does it break backward compatibility, if yes then what's the migration path?
    no

In case this proposal includes a substantial change to the language, we ask you to go through an RFC process.

The best place to start an open discussion about potential changes is the Crystal forum.

@Blacksmoke16
Copy link
Member

Blacksmoke16 commented Jul 13, 2024

Pretty sure this was already implemented via crystal-lang/crystal#13512. There is no explicit toggle as it's based off of https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme, so may just need to set that preference in your OS settings or something.

EDIT: Are you meaning https://crystal-lang.org/reference/1.13/index.html or the API docs?

@Blacksmoke16 Blacksmoke16 transferred this issue from crystal-lang/crystal Jul 13, 2024
@Blacksmoke16 Blacksmoke16 linked a pull request Jul 13, 2024 that will close this issue
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 a pull request may close this issue.

2 participants