crystal-lang / crystal-book

Crystal reference with language specification, manuals and learning materials
https://crystal-lang.org/reference
Other
392 stars 244 forks source link

Dark Mode for DOCS. #771

Open timscodebase opened 1 month ago

timscodebase commented 1 month ago

Feature Request

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

Dark mode on site and docs

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 commented 1 month ago

Pretty sure this was already implemented via https://github.com/crystal-lang/crystal/pull/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?