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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crystal docs dark theme #9084
Comments
Sure, sounds good enough to me. But I would actually hold off on such non-essential features to the doc generator until we do a bigger refactor of the internal implementation. That will subsequently also make it easier to iterate on frontend features. |
Custom Properties could also be a cool future addition. It would abstract the coloring of things to a single CSS file that could be overridden to allow for custom styling. |
https://github.com/oprypin/mkdocstrings-crystal is an external doc generator that exposes theme customizations, including dark mode via https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme |
@willhbr Are your CSS sources available anywhere? |
I made that screenshot by tinkering directly in the browser, and didn't save them. |
Some developers likes dark theme - more gentle on the eyes when codding at night 馃槃
The CSS media prefers-color-scheme can be used for auto-detection o the light/dark theme user preference
Other similar tools supporting it:
The text was updated successfully, but these errors were encountered: