-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
Add support for themes + GitHub dark dimmed theme #1416
base: master
Are you sure you want to change the base?
Add support for themes + GitHub dark dimmed theme #1416
Conversation
Hi, we should have a discussion about how to support more themes before you get too much further into this.
|
Hi, thank you for taking the time to look into my PR. I recently used Sphinx to document one of my projects and found the theme gallery very useful, so that could be a thing too for coveragepy I wrote a .css file because I'm not used to .scss but that is of course the better choice. I'll try to convert it and make a new commit. |
|
I changed The Makefile should also be modified to compile all .scss themes but I don't know how to do that |
Is this still valid? Dark theme looks fine for me |
Hello, Let me know if I should do something |
I'm sure people would appreciate other themes. I'm concerned about the duplication in the .scss though: many aspects of the styling that are the same between the two themes (default and dark dimmed) are expressed separately in the two themes, but sometimes in different ways. Can we refactor so that the coloring differences are isolated from other layout concerns? @vsalvino can you help? |
Would it make more sense to simply use the CSS media query |
The default CSS already uses If you're looking to implement custom user-made themes, Sphinx has a configurable theme system which might serve as inspiration. I would highly recommend making these themes 3rd party packages, unless the maintainer of this package is willing to commit to maintaining these new themes indefinitely. |
Ah I did not check that, good to know. In that case I would agree it makes more sense to let these be 3rd party package if there is a demand for more themes. |
Added css for a Github dark dimmed theme
To enable it add this to the config file: