Skip to content
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 html_theme_options #15

Open
1 of 4 tasks
schettino72 opened this issue Apr 20, 2019 · 4 comments
Open
1 of 4 tasks

add html_theme_options #15

schettino72 opened this issue Apr 20, 2019 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@schettino72
Copy link
Owner

schettino72 commented Apr 20, 2019

Option to show/hide page components

  • breadcrumbs
  • top page nav
  • bottom page nav
  • external links (without need to write a template)
@schettino72 schettino72 added the enhancement New feature or request label Apr 21, 2019
@schettino72 schettino72 added this to the 0.4 milestone Apr 22, 2019
@afparsons
Copy link

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;
}

image

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.

@schettino72
Copy link
Owner Author

@afparsons sorry I really dont have time to maintain this project right now. do you want commit access?

or maybe @Zulko can help you...

@Zulko
Copy link
Collaborator

Zulko commented Nov 4, 2019

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.

@ricklamers
Copy link

ricklamers commented Sep 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants