Skip to content

Add support for changing the colour of the button when hovering and clicking #291

@ufgo

Description

@ufgo

It is necessary to add the ability to specify the colour of the button when hovering and clicking, similar to already implemented parameters such as HOVER_SCALE. This will allow to flexibly set visual behaviour of buttons in style through parameters.

Logic implementation:
- When a button is hovered over, its colour should change according to HOVER_COLOR.
- When pressed - according to self.start_colour.
- If no parameters are set, use the current colour without changes.

Compatibility support:
New parameters should not affect existing functionality unless specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions