sphinx_press_theme
sphinx_press_theme copied to clipboard
add html_theme_options
Option to show/hide page components
- [ ] breadcrumbs
- [ ] top page nav
- [ ] bottom page nav
- [x] external links (without need to write a template)
Hi @schettino72. Great work!
(I can open a proper issue instead of a comment, if you like. I'll also try to take a look to see if I can implement myself.)
It would be nice to have a K:V pair for html_theme_options which controls the accent colors.
For example, we want to use shades of blue for the accent color; we've been able to use custom CSS stylesheets to set blue across most of the Sphinx site, but that doesn't apply to everything; there are still places which default to green and I haven't yet figured out why.
a, p a code {
color: #1589ee;
}

From a quick search I see that #3eaf7c is defined in config.styl. The other major accent color seems to be #86d4b1, but I can't find where it is defined.
@afparsons sorry I really dont have time to maintain this project right now. do you want commit access?
or maybe @Zulko can help you...
I'm not a sphinx expert, so I'm not sure how create color themes. The simplest and fastest at this point might still be to over-ride the color of any green element using CSS and "!important" tags.
It would be pretty awesome if the colors were configurable. At least some colors seem configurable here https://github.com/schettino72/sphinx_press_theme/blob/465db4bb0fe88c8debad6fc8de567d13656519d9/ui/src/vuepress/styles/config.styl
But that's not configurable in the conf.py.