Closed Cadair closed 4 months ago
It will probably be next week when I am back at work I get back to this.
Yolo it is
Change https://pygments.org/styles/ on the light theme.
The button that toggles light/dark is highlighted with a full orange block when you mouse over it which looks a bit awkward:
Current state of the last merge:
[x] The navbar background is white on lightmode (grey on latest), makes navbar text unreadable.
[x] Change pygments.org/styles on the light theme.
[x] The button that toggles light/dark is highlighted with a full orange block when you mouse over it which looks a bit awkward
Can't replicate this (hopefully pydata theme fixed these):
[ ] The sidebar border disconnects from the navbar when you scroll (does not do this on latest)
[ ] The navbar bottom border is grey here, should be the theme orange, like the sidebar border.
Fixes https://github.com/sunpy/sunpy-sphinx-theme/issues/216
pydata theme already uses the quansight-labs.github.io/accessible-pygments package and we select two themes that are from this.
I had just a quick scroll through it, using both the light and dark themes, but it looks great to me!
I am not sure I am a massive fan of the new dark background colour in comparison to the old one?
Other things I can spot:
Can you request changes to block on this? It has two approvals so in theory could be merged as is.
Or these issues are moved to issues and are patched after this PR is released?
Or that as well. I'm fine with either. I'd prefer the latter if these fixes are not straightforward.
OK, I have addressed everything I would like to change, I have deliberately done it in small commits so that if people disagree with any of the stylistic choices we can easily undo.
It seems that the breadcrumbs stuff is an upstream change not in CSS, so I am happy to just leave that.
Thanks @nabobalis for the review and release. Thanks everyone else, sorry this took so long.
This does actually change a few things and some colouring. I don't really have time to run them all down now.
fixes #224 fixes #223