You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the hover color for the "back to top" button is hardcoded to violet, so changing --pst-color-secondary results in strange/unexpected behaviour where the button goes from the custom color to violet on hover. I checked the behaviour when no colors are changed and I noticed the hover has a darkening effect between two shades of violet. I also noticed the --pst-color-secondary-highlight that is defined when using sphinx-design which would give nearly the same effect (and work for any --pst-secondary-color).
Would it be ok to include the ...-highlight colors as part of the theme and use that for the hover effect in "back to top" button?
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, @OriolAbril. This was hardcoded while completing the design system work, and we forgot to revisit it.
I will update the button colour.
Would it be ok to include the ...-highlight colors as part of the theme and use that for the hover effect in "back to top" button?
These should be included in the same way that --pst-color-xyz are included, for example if I inspect the PyData documentation I can see these in the developer tools
I noticed that the hover color for the "back to top" button is hardcoded to violet, so changing
--pst-color-secondary
results in strange/unexpected behaviour where the button goes from the custom color to violet on hover. I checked the behaviour when no colors are changed and I noticed the hover has a darkening effect between two shades of violet. I also noticed the--pst-color-secondary-highlight
that is defined when using sphinx-design which would give nearly the same effect (and work for any--pst-secondary-color
).Would it be ok to include the
...-highlight
colors as part of the theme and use that for the hover effect in "back to top" button?The text was updated successfully, but these errors were encountered: