Skip to content

Back to top button colors #1925

@OriolAbril

Description

@OriolAbril

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions