jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.
https://jothepro.github.io/doxygen-awesome-css/
MIT License
1.04k stars 118 forks source link

Bugs header menus colors #22

Closed TheRolfFR closed 3 years ago

TheRolfFR commented 3 years ago

Hey,

Nice work, my doc is now looking sweet!

The header background foreground doesn't really like when we change the page foreground values. For now I only changed the #top background and foreground but couldn't do more because you use the page color variables.

It messes with the chevron for because the text menu color is the page foreground color: image When the chevron color is the header foreground: image And because I set a dark background and a light foreground, we cannot see the chevron: image I had to set the border color to the foreground color so that I can see them: image But that doesn't work that well with hover: image I fixed it with this piece of code base on the hover a color: image image

Could it be possible to add hover menus customization? For chevrons, border-color, box-shadow color? image

That could allow me to have a full dark top menu. Thanks in advance!

jothepro commented 3 years ago

Could it be possible to add hover menus customization?

Sure, that sounds like a good idea!

Btw I like the color-combination of your theme! Would you like to post it here so others can use it, too?

This would also help me to find out what variables are required to cover your customization requirements :)

jothepro commented 3 years ago

In the latest commit https://github.com/jothepro/doxygen-awesome-css/commit/072e779b1aa0ad298b2410882c392feb8b0fae5c I have set the sub-arrow color to --page-foreground-color instead of --header-foreground. Pls let me know if that fixes the issue for you.

While this does not give you the full customization control that you asked for, a dark header with white text should now be possible.